5fba8bf6808fa92987d5060cfc7b0796fc68adbe
[tine20] / tests / tine20 / AllTests.php
1 <?php
2 /**
3  * Tine 2.0 - http://www.tine20.org
4  * 
5  * @package     Tinebase
6  * @license     http://www.gnu.org/licenses/agpl.html
7  * @copyright   Copyright (c) 2007-2013 Metaways Infosystems GmbH (http://www.metaways.de)
8  * @author      Matthias Greiling <m.greiling@metaways.de>
9  */
10 /**
11  * Test helper
12  */
13 require_once dirname(__FILE__) . DIRECTORY_SEPARATOR . 'TestHelper.php';
14
15 class AllTests
16 {
17     public static function main()
18     {
19         PHPUnit_TextUI_TestRunner::run(self::suite());
20     }
21     
22     public static function suite()
23     {
24         $suite = new PHPUnit_Framework_TestSuite('Tine 2.0 All Tests');
25         
26         $suite->addTest(Tinebase_AllTests::suite());
27         $suite->addTest(Addressbook_AllTests::suite());
28         $suite->addTest(Admin_AllTests::suite());
29         $suite->addTest(Calendar_AllTests::suite());
30         $suite->addTest(Felamimail_AllTests::suite());
31         $suite->addTest(Crm_AllTests::suite());
32         $suite->addTest(Tasks_AllTests::suite());
33         $suite->addTest(Voipmanager_AllTests::suite());
34         $suite->addTest(Phone_AllTests::suite());
35         $suite->addTest(Sales_AllTests::suite());
36         $suite->addTest(Timetracker_AllTests::suite());
37         $suite->addTest(Courses_AllTests::suite());
38         $suite->addTest(ActiveSync_AllTests::suite());
39         $suite->addTest(Filemanager_AllTests::suite());
40         $suite->addTest(Projects_AllTests::suite());
41         $suite->addTest(HumanResources_AllTests::suite());
42         $suite->addTest(Inventory_AllTests::suite());
43         $suite->addTest(ExampleApplication_AllTests::suite());
44         $suite->addTest(Sipgate_AllTests::suite());
45         $suite->addTest(SimpleFAQ_AllTests::suite());
46         $suite->addTest(Zend_AllTests::suite());
47         return $suite;
48     }
49 }