public static function suite() { $suite = new PHPUnit2_Framework_TestSuite('PHPUnit'); $suite->addTest(PHPUnit2_Tests_Framework_AllTests::suite()); $suite->addTest(PHPUnit2_Tests_Extensions_AllTests::suite()); $suite->addTest(PHPUnit2_Tests_Runner_AllTests::suite()); return $suite; }
require_once 'PHPUnit2/Framework/TestSuite.php'; require_once 'PHPUnit2/TextUI/TestRunner.php'; require_once 'PHPUnit2/Tests/Runner/BaseTestRunnerTest.php'; /** * @author Sebastian Bergmann <*****@*****.**> * @copyright Copyright © 2002-2004 Sebastian Bergmann <*****@*****.**> * @license http://www.php.net/license/3_0.txt The PHP License, Version 3.0 * @category PHP * @package PHPUnit2 * @subpackage Tests */ class PHPUnit2_Tests_Runner_AllTests { public static function main() { PHPUnit2_TextUI_TestRunner::run(self::suite()); } public static function suite() { $suite = new PHPUnit2_Framework_TestSuite('PHPUnit Runner'); $suite->addTestSuite('PHPUnit2_Tests_Runner_BaseTestRunnerTest'); return $suite; } } if (PHPUnit2_MAIN_METHOD == 'PHPUnit2_Tests_Runner_AllTests::main') { PHPUnit2_Tests_Runner_AllTests::main(); } /* * vim600: et sw=2 ts=2 fdm=marker * vim<600: et sw=2 ts=2 */