Fixing search of test cases and groups for PHP 5.2.

This commit is contained in:
Juan Basso 2010-05-13 18:48:34 -03:00
parent 689e46be4f
commit db4f7a2625

View file

@ -252,7 +252,7 @@ class TestManager {
* @static
*/
protected static function &_getTestFileList($directory = '.') {
$return = self::_getRecursiveFileList($directory, 'self::_isTestCaseFile');
$return = self::_getRecursiveFileList($directory, array('self', '_isTestCaseFile'));
return $return;
}
@ -274,7 +274,7 @@ class TestManager {
* @static
*/
protected static function &_getTestGroupFileList($directory = '.') {
$return = self::_getRecursiveFileList($directory, 'self::_isTestGroupFile');
$return = self::_getRecursiveFileList($directory, array('self', '_isTestGroupFile'));
return $return;
}