Пример #1
0
     * @return PHPUnit_Framework_TestSuite
     */
    public static function suite()
    {
        $suite = new PHPUnit_Framework_TestSuite('phpUnderControl - TasksAllTest');
        $suite->addTestSuite('phpucAbstractAntTaskTest');
        $suite->addTestSuite('phpucApplyAntTaskTest');
        $suite->addTestSuite('phpucCheckoutTaskTest');
        $suite->addTestSuite('phpucCodeBrowserTaskTest');
        $suite->addTestSuite('phpucCreateFileTaskTest');
        $suite->addTestSuite('phpucCruiseControlTaskTest');
        $suite->addTestSuite('phpucExecAntTaskTest');
        $suite->addTestSuite('phpucFilesetAntTaskTest');
        $suite->addTestSuite('phpucGenerateGraphTaskTest');
        $suite->addTestSuite('phpucGraphTaskTest');
        $suite->addTestSuite('phpucInstallCcScriptTaskTest');
        $suite->addTestSuite('phpucLintTaskTest');
        $suite->addTestSuite('phpucMergePhpunitTaskTest');
        $suite->addTestSuite('phpucModifyFileTaskTest');
        $suite->addTestSuite('phpucPhpCodeSnifferTaskTest');
        $suite->addTestSuite('phpucPHPUnitTaskTest');
        $suite->addTestSuite('phpucPhpDocumentorTaskTest');
        $suite->addTestSuite('phpucProjectCleanTaskTest');
        $suite->addTestSuite('phpucProjectDeleteTaskTest');
        $suite->addTestSuite('phpucProjectTaskTest');
        return $suite;
    }
}
if (PHPUnit_MAIN_METHOD === 'phpucTasksAllTests::main') {
    phpucTasksAllTests::main();
}
Пример #2
0
 /**
  * Creates the phpunit test suite for this package.
  *
  * @return PHPUnit_Framework_TestSuite
  */
 public static function suite()
 {
     $suite = new PHPUnit_Framework_TestSuite('phpUnderControl - AllTests');
     $suite->addTest(phpucConsoleAllTests::suite());
     $suite->addTest(phpucDataAllTests::suite());
     $suite->addTest(phpucGraphAllTests::suite());
     $suite->addTest(phpucStylesheetAllTests::suite());
     $suite->addTest(phpucTasksAllTests::suite());
     $suite->addTest(phpucUtilAllTests::suite());
     $suite->addTest(phpucVersionControlAllTests::suite());
     $suite->addTest(phpucCommandsAllTests::suite());
     return $suite;
 }