Skip to content

Commit

Permalink
MINOR Code formatting in FullTestSuite (from r111133)
Browse files Browse the repository at this point in the history
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@112898 467b73ca-7a2a-4603-9d3b-597d59a354a9
  • Loading branch information
Sam Minnee committed Oct 19, 2010
1 parent c939b02 commit de795ba
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions tests/FullTestSuite.php
Expand Up @@ -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');
Expand All @@ -17,18 +18,18 @@ public static function get_tests() {
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;
}
}

0 comments on commit de795ba

Please sign in to comment.