1646549e752aad394a24083203247480b76cc721
[tine20] / tests / tine20 / Calendar / AllTests.php
1 <?php
2 /**
3  * Tine 2.0 - http://www.tine20.org
4  * 
5  * @package     Calendar
6  * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
7  * @copyright   Copyright (c) 2009 Metaways Infosystems GmbH (http://www.metaways.de)
8  * @author      Cornelius Weiss <c.weiss@metaways.de>
9  */
10
11 /**
12  * Test helper
13  */
14 require_once dirname(dirname(__FILE__)) . DIRECTORY_SEPARATOR . 'TestHelper.php';
15
16 /**
17  * Tests for calendar app
18  * 
19  * @package     Calendar
20  */
21 class Calendar_AllTests
22 {
23     public static function main()
24     {
25         PHPUnit_TextUI_TestRunner::run(self::suite());
26     }
27     
28     public static function suite ()
29     {
30         $suite = new PHPUnit_Framework_TestSuite('Tine 2.0 Calendar All Tests');
31         $suite->addTest(Calendar_Frontend_AllTests::suite());
32         $suite->addTest(Calendar_Model_AllTests::suite());
33         $suite->addTestSuite('Calendar_RruleTests');
34         $suite->addTestSuite('Calendar_Backend_SqlTest');
35         $suite->addTestSuite('Calendar_Controller_EventTests');
36         $suite->addTestSuite('Calendar_Controller_ResourceTest');
37         $suite->addTestSuite('Calendar_Controller_EventGrantsTests');
38         $suite->addTestSuite('Calendar_Controller_EventNotificationsTests');
39         $suite->addTestSuite('Calendar_Controller_RecurTest');
40         $suite->addTestSuite('Calendar_Controller_MSEventFacadeTest');
41         $suite->addTestSuite('Calendar_JsonTests');
42         $suite->addTestSuite('Calendar_Import_ICalTest');
43         $suite->addTestSuite('Calendar_Export_ICalTest');
44         $suite->addTestSuite('Calendar_Convert_Event_VCalendar_AllTests');
45         $suite->addTestSuite('Calendar_Setup_DemoDataTests');
46         
47         return $suite;
48     }
49 }
50