Esempio n. 1
0
 * Tine 2.0 - http://www.tine20.org
 * 
 * @package     Addressbook
 * @license     http://www.gnu.org/licenses/agpl.html
 * @copyright   Copyright (c) 2011-2011 Metaways Infosystems GmbH (http://www.metaways.de)
 * @author      Lars Kneschke <*****@*****.**>
 */
/**
 * Test helper
 */
require_once dirname(dirname(dirname(__FILE__))) . DIRECTORY_SEPARATOR . 'TestHelper.php';
if (!defined('PHPUnit_MAIN_METHOD')) {
    define('PHPUnit_MAIN_METHOD', 'Addressbook_Frontend_AllTests::main');
}
class Addressbook_Frontend_AllTests
{
    public static function main()
    {
        PHPUnit_TextUI_TestRunner::run(self::suite());
    }
    public static function suite()
    {
        $suite = new PHPUnit_Framework_TestSuite('Tine 2.0 Addressbook All Frontend Tests');
        $suite->addTest(Addressbook_Frontend_WebDAV_AllTests::suite());
        $suite->addTestSuite('Addressbook_Frontend_CardDAVTest');
        return $suite;
    }
}
if (PHPUnit_MAIN_METHOD == 'Addressbook_Frontend_AllTests::main') {
    Addressbook_Frontend_AllTests::main();
}