$suite->addTestSuite('PHP_Depend_Code_ASTPreDecrementExpressionTest'); $suite->addTestSuite('PHP_Depend_Code_ASTPreIncrementExpressionTest'); $suite->addTestSuite('PHP_Depend_Code_ASTPrimitiveTypeTest'); $suite->addTestSuite('PHP_Depend_Code_ASTPropertyPostfixTest'); $suite->addTestSuite('PHP_Depend_Code_ASTRequireExpressionTest'); $suite->addTestSuite('PHP_Depend_Code_ASTReturnStatementTest'); $suite->addTestSuite('PHP_Depend_Code_ASTScopeStatementTest'); $suite->addTestSuite('PHP_Depend_Code_ASTScopeTest'); $suite->addTestSuite('PHP_Depend_Code_ASTStaticReferenceTest'); $suite->addTestSuite('PHP_Depend_Code_ASTStaticVariableDeclarationTest'); $suite->addTestSuite('PHP_Depend_Code_ASTStringTest'); $suite->addTestSuite('PHP_Depend_Code_ASTStringIndexExpressionTest'); $suite->addTestSuite('PHP_Depend_Code_ASTSwitchStatementTest'); $suite->addTestSuite('PHP_Depend_Code_ASTSwitchLabelTest'); $suite->addTestSuite('PHP_Depend_Code_ASTThrowStatementTest'); $suite->addTestSuite('PHP_Depend_Code_ASTTryStatementTest'); $suite->addTestSuite('PHP_Depend_Code_ASTTypeNodeTest'); $suite->addTestSuite('PHP_Depend_Code_ASTUnsetStatementTest'); $suite->addTestSuite('PHP_Depend_Code_ASTVariableTest'); $suite->addTestSuite('PHP_Depend_Code_ASTVariableDeclaratorTest'); $suite->addTestSuite('PHP_Depend_Code_ASTVariableVariableTest'); $suite->addTestSuite('PHP_Depend_Code_ASTWhileStatementTest'); $suite->addTestSuite('PHP_Depend_Code_ReflectionClassTest'); $suite->addTestSuite('PHP_Depend_Code_ReflectionParameterTest'); $suite->addTestSuite('PHP_Depend_Code_ReflectionPropertyTest'); return $suite; } } if (PHPUnit_MAIN_METHOD === 'PHP_Depend_Code_AllTests::main') { PHP_Depend_Code_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->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; }
/** * 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; }