public static function suite() { $tests = self::getTests(__FILE__); $suite = new TheCodeTrainCssValidatorTestSuite(); foreach ($tests as $test) { $suite->addTestSuite($test); } return $suite; }
* @license Creative Commons Attribution-Share Alike 3.0 Unported * http://creativecommons.org/licenses/by-sa/3.0/ **/ class TheCodeTrainCssValidatorTestCaseTestSuite extends TheCodeTrainBaseTestSuite { public static function main() { PHPUnit_TextUI_TestRunner::run(self::suite()); } public static function suite() { $tests = self::getTests(__FILE__); $suite = new TheCodeTrainCssValidatorTestCaseTestSuite(); foreach ($tests as $test) { $suite->addTestSuite($test); } return $suite; } protected function setUp() { } protected function tearDown() { } } class ConcreteCssValidatorTestCase extends TheCodeTrainCssValidatorTestCase { } if (PHPUnit_MAIN_METHOD == 'TheCodeTrainCssValidatorTestCaseTestSuite::main') { TheCodeTrainCssValidatorTestSuite::main(); }