cvs: pear /PHPUnit2/Framework TestResult.php
| From: | Sebastian Bergmann | Date: | Mon, 23 May 2005 13:20:16 +0000 |
| Subject: | cvs: pear /PHPUnit2/Framework TestResult.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-32057@lists.php.net to get a copy of this message | ||
sebastian Mon May 23 09:20:16 2005 EDT
Modified files:
/pear/PHPUnit2/Framework TestResult.php
Log:
Reorder.
http://cvs.php.net/diff.php/pear/PHPUnit2/Framework/TestResult.php?r1=1.25&r2=1.26&ty=u
Index: pear/PHPUnit2/Framework/TestResult.php
diff -u pear/PHPUnit2/Framework/TestResult.php:1.25 pear/PHPUnit2/Framework/TestResult.php:1.26
--- pear/PHPUnit2/Framework/TestResult.php:1.25 Mon May 23 04:44:19 2005
+++ pear/PHPUnit2/Framework/TestResult.php Mon May 23 09:20:16 2005
@@ -15,7 +15,7 @@
* @author Sebastian Bergmann <sb@sebastian-bergmann.de>
* @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de>
* @license http://www.php.net/license/3_0.txt
PHP License 3.0
- * @version CVS: $Id: TestResult.php,v 1.25 2005/05/23 08:44:19 sebastian Exp $
+ * @version CVS: $Id: TestResult.php,v 1.26 2005/05/23 13:20:16 sebastian Exp $
* @link http://pear.php.net/package/PHPUnit2
* @since File available since Release 2.0.0
*/
@@ -288,6 +288,22 @@
}
/**
+ * Enables or disables the collection of Code Coverage information.
+ *
+ * @param boolean $flag
+ * @throws InvalidArgumentException
+ * @access public
+ * @since Method available since Release 2.3.0
+ */
+ public function collectCodeCoverageInformation($flag) {
+ if (is_bool($flag)) {
+ $this->collectCodeCoverageInformation = $flag;
+ } else {
+ throw new InvalidArgumentException;
+ }
+ }
+
+ /**
* Returns Code Coverage data per test case.
*
* Format of the result array:
@@ -401,22 +417,6 @@
}
/**
- * Enables or disables the collection of Code Coverage information.
- *
- * @param boolean $flag
- * @throws InvalidArgumentException
- * @access public
- * @since Method available since Release 2.3.0
- */
- public function collectCodeCoverageInformation($flag) {
- if (is_bool($flag)) {
- $this->collectCodeCoverageInformation = $flag;
- } else {
- throw new InvalidArgumentException;
- }
- }
-
- /**
* @param integer $errno
* @param string $errstr
* @param string $errfile