cvs: pear /PHPUnit2 package.xml /PHPUnit2/Framework TestCase.php /PHPUnit2/TextUI TestRunner.php
| From: | Sebastian Bergmann | Date: | Sun, 10 Apr 2005 15:13:24 +0000 |
| Subject: | cvs: pear /PHPUnit2 package.xml /PHPUnit2/Framework TestCase.php /PHPUnit2/TextUI TestRunner.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-31085@lists.php.net to get a copy of this message | ||
sebastian Sun Apr 10 11:13:24 2005 EDT
Modified files:
/pear/PHPUnit2 package.xml
/pear/PHPUnit2/Framework TestCase.php
/pear/PHPUnit2/TextUI TestRunner.php
Log:
$generateCodeCoverageInformation -> $collectCodeCoverageInformation
http://cvs.php.net/diff.php/pear/PHPUnit2/package.xml?r1=1.90&r2=1.91&ty=u
Index: pear/PHPUnit2/package.xml
diff -u pear/PHPUnit2/package.xml:1.90 pear/PHPUnit2/package.xml:1.91
--- pear/PHPUnit2/package.xml:1.90 Tue Apr 5 07:23:41 2005
+++ pear/PHPUnit2/package.xml Sun Apr 10 11:13:23 2005
@@ -24,7 +24,7 @@
* PHPUnit2_Util_Skeleton now generates stubs for the setUp() and tearDown() methods.
-* PHPUnit2_Framework_TestCase no longer collects Code Coverage information by default (when the
Xdebug extension is available). PHPUnit2_Framework_TestCase::$generateCodeCoverageInformation has to
be set to TRUE to collect Code Coverage information.
+* PHPUnit2_Framework_TestCase no longer collects Code Coverage information by default (when the
Xdebug extension is available). PHPUnit2_Framework_TestCase::$collectCodeCoverageInformation has to
be set to TRUE to collect Code Coverage information.
* Moved tests outside of installation directory.
http://cvs.php.net/diff.php/pear/PHPUnit2/Framework/TestCase.php?r1=1.23&r2=1.24&ty=u
Index: pear/PHPUnit2/Framework/TestCase.php
diff -u pear/PHPUnit2/Framework/TestCase.php:1.23 pear/PHPUnit2/Framework/TestCase.php:1.24
--- pear/PHPUnit2/Framework/TestCase.php:1.23 Tue Apr 5 07:23:43 2005
+++ pear/PHPUnit2/Framework/TestCase.php Sun Apr 10 11:13:24 2005
@@ -12,7 +12,7 @@
// | license@php.net so we can mail you a copy immediately. |
// +------------------------------------------------------------------------+
//
-// $Id: TestCase.php,v 1.23 2005/04/05 11:23:43 sebastian Exp $
+// $Id: TestCase.php,v 1.24 2005/04/10 15:13:24 sebastian Exp $
//
require_once 'PHPUnit2/Framework/Assert.php';
@@ -84,7 +84,7 @@
* @access public
* @static
*/
- public static $generateCodeCoverageInformation = FALSE;
+ public static $collectCodeCoverageInformation = FALSE;
// }}}
// {{{ Instance Variables
@@ -262,7 +262,7 @@
PHPUnit2_Util_Filter::addFileToFilter($class->getFileName());
- $useXdebug = (extension_loaded('xdebug') &&
self::$generateCodeCoverageInformation);
+ $useXdebug = (extension_loaded('xdebug') &&
self::$collectCodeCoverageInformation);
if ($useXdebug) {
xdebug_start_code_coverage(XDEBUG_CC_UNUSED);
http://cvs.php.net/diff.php/pear/PHPUnit2/TextUI/TestRunner.php?r1=1.51&r2=1.52&ty=u
Index: pear/PHPUnit2/TextUI/TestRunner.php
diff -u pear/PHPUnit2/TextUI/TestRunner.php:1.51 pear/PHPUnit2/TextUI/TestRunner.php:1.52
--- pear/PHPUnit2/TextUI/TestRunner.php:1.51 Tue Apr 5 07:23:43 2005
+++ pear/PHPUnit2/TextUI/TestRunner.php Sun Apr 10 11:13:24 2005
@@ -12,7 +12,7 @@
// | license@php.net so we can mail you a copy immediately. |
// +------------------------------------------------------------------------+
//
-// $Id: TestRunner.php,v 1.51 2005/04/05 11:23:43 sebastian Exp $
+// $Id: TestRunner.php,v 1.52 2005/04/10 15:13:24 sebastian Exp $
//
if (!defined('PHPUnit2_MAIN_METHOD')) {
@@ -411,7 +411,7 @@
if ($coverageDataFile !== FALSE ||
$coverageHTMLFile !== FALSE ||
$coverageTextFile !== FALSE) {
- PHPUnit2_Framework_TestCase::$generateCodeCoverageInformation = TRUE;
+ PHPUnit2_Framework_TestCase::$collectCodeCoverageInformation = TRUE;
}
$timer->start();