cvs: pear /PHPUnit2/Framework TestSuite.php /PHPUnit2/Runner StandardTestSuiteLoader.php
| From: | Sebastian Bergmann | Date: | Sat, 25 Feb 2006 19:22:26 +0000 |
| Subject: | cvs: pear /PHPUnit2/Framework TestSuite.php /PHPUnit2/Runner StandardTestSuiteLoader.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-38617@lists.php.net to get a copy of this message | ||
sebastian Sat Feb 25 19:22:26 2006 UTC
Modified files:
/pear/PHPUnit2/Framework TestSuite.php
/pear/PHPUnit2/Runner StandardTestSuiteLoader.php
Log:
More generic solution.
http://cvs.php.net/viewcvs.cgi/pear/PHPUnit2/Framework/TestSuite.php?r1=1.48&r2=1.49&diff_format=u
Index: pear/PHPUnit2/Framework/TestSuite.php
diff -u pear/PHPUnit2/Framework/TestSuite.php:1.48 pear/PHPUnit2/Framework/TestSuite.php:1.49
--- pear/PHPUnit2/Framework/TestSuite.php:1.48 Sun Feb 19 07:47:08 2006
+++ pear/PHPUnit2/Framework/TestSuite.php Sat Feb 25 19:22:26 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: TestSuite.php,v 1.48 2006/02/19 07:47:08 sebastian Exp $
+ * @version CVS: $Id: TestSuite.php,v 1.49 2006/02/25 19:22:26 sebastian Exp $
* @link http://pear.php.net/package/PHPUnit2
* @since File available since Release 2.0.0
*/
@@ -168,6 +168,11 @@
throw new InvalidArgumentException;
}
+ PHPUnit2_Util_Filter::addFileToFilter(
+ realpath($theClass->getFilename()),
+ TRUE
+ );
+
if ($name != '') {
$this->setName($name);
} else {
http://cvs.php.net/viewcvs.cgi/pear/PHPUnit2/Runner/StandardTestSuiteLoader.php?r1=1.36&r2=1.37&diff_format=u
Index: pear/PHPUnit2/Runner/StandardTestSuiteLoader.php
diff -u pear/PHPUnit2/Runner/StandardTestSuiteLoader.php:1.36
pear/PHPUnit2/Runner/StandardTestSuiteLoader.php:1.37
--- pear/PHPUnit2/Runner/StandardTestSuiteLoader.php:1.36 Fri Feb 24 12:06:50 2006
+++ pear/PHPUnit2/Runner/StandardTestSuiteLoader.php Sat Feb 25 19:22:26 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: StandardTestSuiteLoader.php,v 1.36 2006/02/24 12:06:50 sebastian Exp $
+ * @version CVS: $Id: StandardTestSuiteLoader.php,v 1.37 2006/02/25 19:22:26 sebastian Exp $
* @link http://pear.php.net/package/PHPUnit2
* @since File available since Release 2.0.0
*/
@@ -100,7 +100,6 @@
}
PHPUnit2_Util_Fileloader::checkAndLoad($suiteClassFile, $syntaxCheck);
- PHPUnit2_Util_Filter::addFileToFilter(realpath($suiteClassFile));
}
if (class_exists($suiteClassName)) {