cvs: pear(PHPUNIT_2_2) /PHPUnit2/Framework TestResult.php
| From: | Sebastian Bergmann | Date: | Wed, 25 May 2005 11:57:44 +0000 |
| Subject: | cvs: pear(PHPUNIT_2_2) /PHPUnit2/Framework TestResult.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-32117@lists.php.net to get a copy of this message | ||
sebastian Wed May 25 07:57:44 2005 EDT
Modified files: (Branch: PHPUNIT_2_2)
/pear/PHPUnit2/Framework TestResult.php
Log:
MFH: Remove superfluous code.
http://cvs.php.net/diff.php/pear/PHPUnit2/Framework/TestResult.php?r1=1.16.2.4&r2=1.16.2.5&ty=u
Index: pear/PHPUnit2/Framework/TestResult.php
diff -u pear/PHPUnit2/Framework/TestResult.php:1.16.2.4
pear/PHPUnit2/Framework/TestResult.php:1.16.2.5
--- pear/PHPUnit2/Framework/TestResult.php:1.16.2.4 Thu Mar 3 01:32:17 2005
+++ pear/PHPUnit2/Framework/TestResult.php Wed May 25 07:57:44 2005
@@ -12,7 +12,7 @@
// | license@php.net so we can mail you a copy immediately. |
// +------------------------------------------------------------------------+
//
-// $Id: TestResult.php,v 1.16.2.4 2005/03/03 06:32:17 sebastian Exp $
+// $Id: TestResult.php,v 1.16.2.5 2005/05/25 11:57:44 sebastian Exp $
//
require_once 'PHPUnit2/Framework/AssertionFailedError.php';
@@ -75,14 +75,6 @@
private $codeCoverageInformation = array();
/**
- * Current test.
- *
- * @var PHPUnit2_Framework_Test
- * @access private
- */
- private $currentTest = NULL;
-
- /**
* @var boolean
* @access private
*/
@@ -366,7 +358,6 @@
* @access public
*/
public function run(PHPUnit2_Framework_Test $test) {
- $this->currentTest = $test;
$this->startTest($test);
set_error_handler(array($this, 'errorHandler'));
@@ -386,7 +377,6 @@
restore_error_handler();
$this->endTest($test);
- $this->currentTest = NULL;
}
// }}}