示例#1
0
 /**
  * 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;
 }
示例#2
0
文件: AllTests.php 项目: kingsj/core
 /**
  * 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;
 }