cvs: pear /PHPUnit2/Framework TestResult.php
| From: | Sebastian Bergmann | Date: | Wed, 25 May 2005 11:53:54 +0000 |
| Subject: | cvs: pear /PHPUnit2/Framework TestResult.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-32116@lists.php.net to get a copy of this message | ||
sebastian Wed May 25 07:53:54 2005 EDT
Modified files:
/pear/PHPUnit2/Framework TestResult.php
Log:
Remove superfluous code.
http://cvs.php.net/diff.php/pear/PHPUnit2/Framework/TestResult.php?r1=1.26&r2=1.27&ty=u
Index: pear/PHPUnit2/Framework/TestResult.php
diff -u pear/PHPUnit2/Framework/TestResult.php:1.26 pear/PHPUnit2/Framework/TestResult.php:1.27
--- pear/PHPUnit2/Framework/TestResult.php:1.26 Mon May 23 09:20:16 2005
+++ pear/PHPUnit2/Framework/TestResult.php Wed May 25 07:53:53 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.26 2005/05/23 13:20:16 sebastian Exp $
+ * @version CVS: $Id: TestResult.php,v 1.27 2005/05/25 11:53:53 sebastian Exp $
* @link http://pear.php.net/package/PHPUnit2
* @since File available since Release 2.0.0
*/
@@ -80,14 +80,6 @@
protected $collectCodeCoverageInformation = FALSE;
/**
- * Current test.
- *
- * @var PHPUnit2_Framework_Test
- * @access private
- */
- private $currentTest = NULL;
-
- /**
* @var boolean
* @access private
*/
@@ -332,7 +324,6 @@
* @access public
*/
public function run(PHPUnit2_Framework_Test $test) {
- $this->currentTest = $test;
$this->startTest($test);
set_error_handler(array($this, 'errorHandler'));
@@ -370,7 +361,6 @@
restore_error_handler();
$this->endTest($test);
- $this->currentTest = NULL;
}
/**