MINOR Code formatting in FullTestSuite (from r111133)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@112898 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Sam Minnee 2010-10-19 03:47:39 +00:00
parent c939b02333
commit de795ba0aa

View File

@ -2,6 +2,7 @@
@require_once('sapphire/tests/bootstrap.php');
class FullTestSuite {
public static function get_tests() {
ManifestBuilder::load_test_manifest();
$tests = ClassInfo::subclassesFor('SapphireTest');
@ -17,18 +18,18 @@ class FullTestSuite {
unset($tests[$class]);
}
}
return $tests;
}
public static function suite()
{
$suite = new PHPUnit_Framework_TestSuite();
public static function suite() {
$suite = new PHPUnit_Framework_TestSuite();
$classList = self::get_tests();
foreach($classList as $className) {
foreach($classList as $className) {
$suite->addTest(new SapphireTestSuite($className));
}
return $suite;
}
return $suite;
}
}