예제 #1
0
파일: AllTests.php 프로젝트: noelg/pdepend
{
    /**
     * 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_Issues - AllTests');
        $suite->addTestSuite('PHP_Depend_Issues_NamespaceSupportIssue002Test');
        $suite->addTestSuite('PHP_Depend_Issues_ParserSetsCorrectParametersIssue032Test');
        $suite->addTestSuite('PHP_Depend_Issues_PHPDependCatchesParsingErrorsIssue061Test');
        $suite->addTestSuite('PHP_Depend_Issues_ReflectionCompatibilityIssue067Test');
        $suite->addTestSuite('PHP_Depend_Issues_StoreTokensForAllNodeTypesIssue079Test');
        $suite->addTestSuite('PHP_Depend_Issues_KeepTypeInformationForPrimitivesIssue084Test');
        $suite->addTestSuite('PHP_Depend_Issues_HandlingOfIdeStyleDependenciesInCommentsIssue087Test');
        return $suite;
    }
}
if (PHPUnit_MAIN_METHOD === 'PHP_Depend_Issues_AllTests::main') {
    PHP_Depend_Issues_AllTests::main();
}
예제 #2
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;
 }
예제 #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;
 }