Ejemplo n.º 1
0
 * @link       http://pdepend.org/
 */
class PHP_Depend_Metrics_CodeRank_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_Metrics_CodeRank - AllTests');
        $suite->addTestSuite('PHP_Depend_Metrics_CodeRank_AnalyzerTest');
        $suite->addTestSuite('PHP_Depend_Metrics_CodeRank_MethodStrategyTest');
        $suite->addTestSuite('PHP_Depend_Metrics_CodeRank_PropertyStrategyTest');
        $suite->addTestSuite('PHP_Depend_Metrics_CodeRank_StrategyFactoryTest');
        return $suite;
    }
}
if (PHPUnit_MAIN_METHOD === 'PHP_Depend_Metrics_CodeRank_AllTests::main') {
    PHP_Depend_Metrics_CodeRank_AllTests::main();
}