/** * Creates the phpunit test suite for this package. * * @return PHPUnit_Framework_TestSuite */ public static function suite() { $suite = new PHPUnit_Framework_TestSuite('PHP_Depend - AllTests'); $suite->addTest(PHP_Depend_Bugs_AllTests::suite()); $suite->addTest(PHP_Depend_Code_AllTests::suite()); $suite->addTest(PHP_Depend_Issues_AllTests::suite()); $suite->addTest(PHP_Depend_Log_AllTests::suite()); $suite->addTest(PHP_Depend_Input_AllTests::suite()); $suite->addTest(PHP_Depend_Metrics_AllTests::suite()); $suite->addTest(PHP_Depend_Parser_AllTests::suite()); $suite->addTest(PHP_Depend_TextUI_AllTests::suite()); $suite->addTest(PHP_Depend_Tokenizer_AllTests::suite()); $suite->addTest(PHP_Depend_Util_AllTests::suite()); $suite->addTest(PHP_Depend_Visitor_AllTests::suite()); $suite->addTestSuite('PHP_Depend_Builder_DefaultTest'); $suite->addTestSuite('PHP_Depend_ParserTest'); $suite->addTestSuite('PHP_Depend_DependTest'); $suite->addTestSuite('PHP_Depend_StorageRegistryTest'); return $suite; }
class PHP_Depend_Log_AllTests { /** * Test suite main method. * * @return void */ public static function main() { PHPUnit_TextUI_TestRunner::run(self::suite()); } /** * Creates the phpunit test suite for this package. * * @return PHPUnit_Framework_TestSuite */ public static function suite() { $suite = new PHPUnit_Framework_TestSuite('PHP_Depend_Log - AllTests'); $suite->addTestSuite('PHP_Depend_Log_LoggerFactoryTest'); $suite->addTestSuite('PHP_Depend_Log_Jdepend_ChartTest'); $suite->addTestSuite('PHP_Depend_Log_Jdepend_XmlTest'); $suite->addTestSuite('PHP_Depend_Log_Overview_PyramidTest'); $suite->addTestSuite('PHP_Depend_Log_Phpunit_XmlTest'); $suite->addTestSuite('PHP_Depend_Log_Summary_XmlTest'); return $suite; } } if (PHPUnit_MAIN_METHOD === 'PHP_Depend_Log_AllTests::main') { PHP_Depend_Log_AllTests::main(); }
/** * Creates the phpunit test suite for this package. * * @return PHPUnit_Framework_TestSuite */ public static function suite() { $suite = new PHPUnit_Framework_TestSuite('PHP_Depend - AllTests'); $suite->addTestSuite('PHP_Depend_TokenTest'); $suite->addTestSuite('PHP_Depend_AutoloadTest'); $suite->addTest(PHP_Depend_Bugs_AllTests::suite()); $suite->addTest(PHP_Depend_Builder_AllTests::suite()); $suite->addTest(PHP_Depend_Code_AllTests::suite()); $suite->addTest(PHP_Depend_Issues_AllTests::suite()); $suite->addTest(PHP_Depend_Log_AllTests::suite()); $suite->addTest(PHP_Depend_Input_AllTests::suite()); $suite->addTest(PHP_Depend_Integration_AllTests::suite()); $suite->addTest(PHP_Depend_Metrics_AllTests::suite()); $suite->addTest(PHP_Depend_Parser_AllTests::suite()); $suite->addTest(PHP_Depend_TextUI_AllTests::suite()); $suite->addTest(PHP_Depend_Tokenizer_AllTests::suite()); $suite->addTest(PHP_Depend_Util_AllTests::suite()); $suite->addTest(PHP_Depend_Visitor_AllTests::suite()); $suite->addTestSuite('PHP_Depend_ParserTest'); $suite->addTestSuite('PHP_Depend_ParserRegressionTest'); $suite->addTestSuite('PHP_Depend_DependTest'); return $suite; }