abcd45a09f9566acf25ed1f6ed8cb5349a55f651
[tine20] / tests / tine20 / Tinebase / 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 /**
12  * Test helper
13  */
14 require_once dirname(dirname(__FILE__)) . DIRECTORY_SEPARATOR . 'TestHelper.php';
15
16 /**
17  * Tinebase_AllTests
18  *
19  * @package     Tinebase
20  */
21 class Tinebase_AllTests
22 {
23     /**
24      * main
25      */
26     public static function main()
27     {
28         PHPUnit_TextUI_TestRunner::run(self::suite());
29     }
30
31     /**
32      * suite
33      */
34     public static function suite()
35     {
36         $suite = new PHPUnit_Framework_TestSuite('Tine 2.0 Tinebase All Tests');
37         $suite->addTestSuite('Tinebase_ModelConfigurationTest');
38         $suite->addTestSuite('Tinebase_DateTimeTest');
39         $suite->addTestSuite('Tinebase_ExceptionTest');
40         $suite->addTestSuite('Tinebase_Record_RecordTest');
41         $suite->addTestSuite('Tinebase_Record_RecordSetTest');
42         $suite->addTestSuite('Tinebase_AuthTest');
43         $suite->addTestSuite('Tinebase_UserTest');
44         $suite->addTestSuite('Tinebase_GroupTest');
45         $suite->addTestSuite('Tinebase_ZendFilterTest');
46         $suite->addTestSuite('Tinebase_ContainerTest');
47         $suite->addTestSuite('Tinebase_ImageHelperTest');
48         $suite->addTestSuite('Tinebase_ConfigTest');
49         $suite->addTestSuite('Tinebase_CustomFieldTest');
50         $suite->addTestSuite('Tinebase_PreferenceTest');
51         $suite->addTestSuite('Tinebase_ApplicationTest');
52         $suite->addTestSuite('Tinebase_Relation_AllTests');
53         $suite->addTestSuite('Tinebase_NotesTest');
54         $suite->addTestSuite('Tinebase_TransactionManagerTest');
55         $suite->addTestSuite('Tinebase_TranslationTest');
56         $suite->addTestSuite('Tinebase_AsyncJobTest');
57         $suite->addTestSuite('Tinebase_HelperTests');
58         $suite->addTestSuite('Tinebase_FileSystem_StreamWrapperTest');
59         $suite->addTestSuite('Tinebase_FileSystemTest');
60         $suite->addTestSuite('Tinebase_ControllerTest');
61         $suite->addTestSuite('Tinebase_NotificationTest');
62         $suite->addTestSuite('Tinebase_Model_Filter_TextTest');
63         $suite->addTestSuite('Tinebase_TagsTest');
64         $suite->addTestSuite('Tinebase_Log_AllTests');
65         $suite->addTestSuite('Tinebase_Redis_QueueTest');
66         $suite->addTestSuite('Tinebase_TempFileTest');
67         
68         $suite->addTest(Tinebase_User_AllTests::suite());
69         $suite->addTest(Tinebase_Group_AllTests::suite());
70         $suite->addTest(Tinebase_Timemachine_AllTests::suite());
71         $suite->addTest(Tinebase_Frontend_AllTests::suite());
72         $suite->addTest(Tinebase_Acl_AllTests::suite());
73         $suite->addTest(Tinebase_Tree_AllTests::suite());
74         $suite->addTest(Tinebase_Scheduler_AllTests::suite());
75         $suite->addTest(Tinebase_WebDav_AllTests::suite());
76         $suite->addTest(OpenDocument_AllTests::suite());
77         return $suite;
78     }
79 }