Esempio n. 1
0
 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;
 }
 public static function suite()
 {
     $suite = new PHPUnit_Framework_TestSuite('All Addressbook frontend tests');
     $suite->addTest(Addressbook_Frontend_WebDAV_AllTests::suite());
     $suite->addTestSuite('Addressbook_Frontend_ActiveSyncTest');
     $suite->addTestSuite('Addressbook_Frontend_CardDAVTest');
     return $suite;
 }
 * 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(dirname(__FILE__)))) . DIRECTORY_SEPARATOR . 'TestHelper.php';
if (!defined('PHPUnit_MAIN_METHOD')) {
    define('PHPUnit_MAIN_METHOD', 'Addressbook_Frontend_WebDAV_AllTests::main');
}
class Addressbook_Frontend_WebDAV_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 WebDAV Tests');
        $suite->addTestSuite('Addressbook_Frontend_WebDAV_ContactTest');
        $suite->addTestSuite('Addressbook_Frontend_WebDAV_ContainerTest');
        return $suite;
    }
}
if (PHPUnit_MAIN_METHOD == 'Addressbook_Frontend_WebDAV_AllTests::main') {
    Addressbook_Frontend_WebDAV_AllTests::main();
}