示例#1
0
 * @link       http://www.phprojekt.com
 * @since      File available since Release 6.0
 * @author     Eduardo Polidor <*****@*****.**>
 */
class User_AllTests
{
    /**
     * Runs the test suite
     *
     */
    public static function main()
    {
        PHPUnit_TextUI_TestRunner::run(self::suite());
    }
    /**
     * Builds the test suite containing all
     * tests of this module and returns the suite
     *
     * @return PHPUnit_Framework_TestSuite
     */
    public static function suite()
    {
        $suite = new PHPUnit_Framework_TestSuite('User Controller');
        $suite->addTestSuite('User_IndexController_Test');
        $suite->addTestSuite('User_User_Test');
        return $suite;
    }
}
if (PHPUnit_MAIN_METHOD == 'User_AllTests::main') {
    Framework_AllTests::main();
}