public static function suite() { $suite = new PHPUnit_Framework_TestSuite('Tine 2.0 All Tests'); $suite->addTest(Tinebase_AllTests::suite()); $suite->addTest(Addressbook_AllTests::suite()); $suite->addTest(Admin_AllTests::suite()); $suite->addTest(Felamimail_AllTests::suite()); $suite->addTest(Calendar_AllTests::suite()); $suite->addTest(Crm_AllTests::suite()); $suite->addTest(Tasks_AllTests::suite()); $suite->addTest(Voipmanager_AllTests::suite()); $suite->addTest(Phone_AllTests::suite()); $suite->addTest(Sales_AllTests::suite()); $suite->addTest(Timetracker_AllTests::suite()); $suite->addTest(Courses_AllTests::suite()); $suite->addTest(ActiveSync_AllTests::suite()); $suite->addTest(Filemanager_AllTests::suite()); $suite->addTest(Projects_AllTests::suite()); $suite->addTest(HumanResources_AllTests::suite()); $suite->addTest(Inventory_AllTests::suite()); $suite->addTest(ExampleApplication_AllTests::suite()); $suite->addTest(Sipgate_AllTests::suite()); $suite->addTest(SimpleFAQ_AllTests::suite()); $suite->addTest(CoreData_AllTests::suite()); $suite->addTest(Zend_AllTests::suite()); return $suite; }
public static function suite() { $suite = new PHPUnit_Framework_TestSuite('Tine 2.0 All Tests'); $suite->addTest(Tinebase_AllTests::suite()); $suite->addTest(Addressbook_AllTests::suite()); $suite->addTest(Admin_AllTests::suite()); $suite->addTest(Calendar_AllTests::suite()); $suite->addTest(Felamimail_AllTests::suite()); $suite->addTest(Crm_AllTests::suite()); $suite->addTest(Tasks_AllTests::suite()); $suite->addTest(Voipmanager_AllTests::suite()); $suite->addTest(Phone_AllTests::suite()); $suite->addTest(Sales_AllTests::suite()); $suite->addTest(Timetracker_AllTests::suite()); $suite->addTest(Courses_AllTests::suite()); $suite->addTest(ActiveSync_AllTests::suite()); $suite->addTest(Filemanager_AllTests::suite()); $suite->addTest(Projects_AllTests::suite()); return $suite; }
* @package ActiveSync * @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(__FILE__)) . DIRECTORY_SEPARATOR . 'TestHelper.php'; if (!defined('PHPUnit_MAIN_METHOD')) { define('PHPUnit_MAIN_METHOD', 'ActiveSync_AllTests::main'); } class ActiveSync_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 Tests'); $suite->addTestSuite('ActiveSync_TimezoneConverterTest'); $suite->addTestSuite('ActiveSync_Command_AllTests'); $suite->addTestSuite('ActiveSync_Controller_AllTests'); $suite->addTestSuite('ActiveSync_Backend_AllTests'); return $suite; } } if (PHPUnit_MAIN_METHOD == 'ActiveSync_AllTests::main') { ActiveSync_AllTests::main(); }