コード例 #1
0
ファイル: AllTests.php プロジェクト: noelg/pdepend
 /**
  * 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 プロジェクト: noelg/pdepend
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();
}
コード例 #3
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;
 }