cvs: pear /PHPUnit2/Framework TestResult.php
| From: | Sebastian Bergmann | Date: | Mon, 27 Feb 2006 05:49:32 +0000 |
| Subject: | cvs: pear /PHPUnit2/Framework TestResult.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-38660@lists.php.net to get a copy of this message | ||
sebastian Mon Feb 27 05:49:32 2006 UTC
Modified files:
/pear/PHPUnit2/Framework TestResult.php
Log:
Use PHPUnit2_Util_Test::describe().
http://cvs.php.net/viewcvs.cgi/pear/PHPUnit2/Framework/TestResult.php?r1=1.44&r2=1.45&diff_format=u
Index: pear/PHPUnit2/Framework/TestResult.php
diff -u pear/PHPUnit2/Framework/TestResult.php:1.44 pear/PHPUnit2/Framework/TestResult.php:1.45
--- pear/PHPUnit2/Framework/TestResult.php:1.44 Sun Feb 26 21:34:40 2006
+++ pear/PHPUnit2/Framework/TestResult.php Mon Feb 27 05:49:32 2006
@@ -41,7 +41,7 @@
* @author Sebastian Bergmann <sb@sebastian-bergmann.de>
* @copyright 2002-2006 Sebastian Bergmann <sb@sebastian-bergmann.de>
* @license http://www.opensource.org/licenses/bsd-license.php
BSD License
- * @version CVS: $Id: TestResult.php,v 1.44 2006/02/26 21:34:40 sebastian Exp $
+ * @version CVS: $Id: TestResult.php,v 1.45 2006/02/27 05:49:32 sebastian Exp $
* @link http://pear.php.net/package/PHPUnit2
* @since File available since Release 2.0.0
*/
@@ -59,6 +59,7 @@
'PHPUnit2_Framework_TestFailure',
'PHPUnit2_Framework_TestListener',
'PHPUnit2_Framework_TestSuite',
+ 'PHPUnit2_Util_Test',
)
);
@@ -499,7 +500,7 @@
$GLOBALS = $globalsBackup;
if ($useXdebug) {
- $this->codeCoverageInformation[$test->getName()] =
PHPUnit2_Util_Filter::getFilteredCodeCoverage(
+ $this->codeCoverageInformation[PHPUnit2_Util_Test::describe($test)] =
PHPUnit2_Util_Filter::getFilteredCodeCoverage(
xdebug_get_code_coverage()
);