public static function suite()
 {
     $suite = new PHPUnit_Framework_TestSuite('All ActiveSync tests');
     $suite->addTest(ActiveSync_Command_AllTests::suite());
     $suite->addTest(ActiveSync_Controller_AllTests::suite());
     $suite->addTest(ActiveSync_Backend_AllTests::suite());
     $suite->addTestSuite('ActiveSync_TimezoneConverterTest');
     $suite->addTestSuite('ActiveSync_Frontend_JsonTests');
     $suite->addTestSuite('ActiveSync_Server_PluginTests');
     return $suite;
 }
Beispiel #2
0
 * @license     http://www.gnu.org/licenses/agpl.html
 * @copyright   Copyright (c) 2010-2010 Metaways Infosystems GmbH (http://www.metaways.de)
 * @author      Jonas Fischer <*****@*****.**>
 */
/**
 * Test helper
 */
require_once dirname(dirname(dirname(__FILE__))) . DIRECTORY_SEPARATOR . 'TestHelper.php';
if (!defined('PHPUnit_MAIN_METHOD')) {
    define('PHPUnit_MAIN_METHOD', 'ActiveSync_Command_AllTests::main');
}
class ActiveSync_Command_AllTests
{
    public static function main()
    {
        PHPUnit_TextUI_TestRunner::run(self::suite());
    }
    public static function suite()
    {
        $suite = new PHPUnit_Framework_TestSuite('Tine 2.0 ActiveSync All Command Tests');
        $suite->addTestSuite('ActiveSync_Command_FolderSyncTests');
        $suite->addTestSuite('ActiveSync_Command_PingTests');
        $suite->addTestSuite('ActiveSync_Command_ProvisionTests');
        $suite->addTestSuite('ActiveSync_Command_SendMailTests');
        $suite->addTestSuite('ActiveSync_Command_SyncTests');
        return $suite;
    }
}
if (PHPUnit_MAIN_METHOD == 'ActiveSync_Command_AllTests::main') {
    ActiveSync_Command_AllTests::main();
}