235ecebb9b13f7a61f690621ca4572ae4b5cd186
[tine20] / tests / tine20 / Addressbook / AllTests.php
1 <?php
2 /**
3  * Tine 2.0 - http://www.tine20.org
4  * 
5  * @package     Addressbook
6  * @license     http://www.gnu.org/licenses/agpl.html
7  * @copyright   Copyright (c) 2008-2014 Metaways Infosystems GmbH (http://www.metaways.de)
8  * @author      Lars Kneschke <l.kneschke@metaways.de>
9  */
10
11 /**
12  * All Addressbook tests
13  * 
14  * @package     Addressbook
15  */
16 class Addressbook_AllTests
17 {
18     public static function main ()
19     {
20         PHPUnit_TextUI_TestRunner::run(self::suite());
21     }
22     
23     public static function suite ()
24     {
25         $suite = new PHPUnit_Framework_TestSuite('All Addressbook tests');
26         
27         $suite->addTest(Addressbook_Backend_AllTests::suite());
28         $suite->addTest(Addressbook_Convert_Contact_VCard_AllTests::suite());
29         $suite->addTest(Addressbook_Frontend_AllTests::suite());
30         $suite->addTest(Addressbook_Import_AllTests::suite());
31         
32         $suite->addTestSuite('Addressbook_ControllerTest');
33         $suite->addTestSuite('Addressbook_Controller_ListTest');
34         $suite->addTestSuite('Addressbook_PdfTest');
35         $suite->addTestSuite('Addressbook_JsonTest');
36         $suite->addTestSuite('Addressbook_CliTest');
37         $suite->addTestSuite('Addressbook_Model_ContactIdFilterTest');
38         $suite->addTestSuite('Addressbook_Export_DocTest');
39         // TODO: enable this again, when its fast
40 //         $suite->addTestSuite('Addressbook_Setup_DemoDataTests');
41         return $suite;
42     }
43 }