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; }
* @license http://www.gnu.org/licenses/agpl.html * @copyright Copyright (c) 2010-2010 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', 'ActiveSync_Controller_AllTests::main'); } class ActiveSync_Controller_AllTests { public static function main() { PHPUnit_TextUI_TestRunner::run(self::suite()); } public static function suite() { $suite = new PHPUnit_Framework_TestSuite('Tine 2.0 ActiveSync Controller All Tests'); $suite->addTestSuite('ActiveSync_Controller_ContactsTests'); $suite->addTestSuite('ActiveSync_Controller_CalendarTests'); $suite->addTestSuite('ActiveSync_Controller_TasksTests'); $suite->addTestSuite('ActiveSync_Controller_EmailTests'); $suite->addTestSuite('ActiveSync_Controller_DeviceTests'); return $suite; } } if (PHPUnit_MAIN_METHOD == 'ActiveSync_Controller_AllTests::main') { ActiveSync_Controller_AllTests::main(); }