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;
 }
示例#2
0
 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;
 }
示例#3
0
 * Test helper
 */
require_once dirname(dirname(__FILE__)) . DIRECTORY_SEPARATOR . 'TestHelper.php';
if (!defined('PHPUnit_MAIN_METHOD')) {
    define('PHPUnit_MAIN_METHOD', 'Addressbook_AllTests::main');
}
class Addressbook_AllTests
{
    public static function main()
    {
        PHPUnit_TextUI_TestRunner::run(self::suite());
    }
    public static function suite()
    {
        $suite = new PHPUnit_Framework_TestSuite('Tine 2.0 Addressbook All Tests');
        $suite->addTest(Addressbook_Backend_AllTests::suite());
        $suite->addTest(Addressbook_Import_AllTests::suite());
        $suite->addTest(Addressbook_Frontend_AllTests::suite());
        $suite->addTestSuite('Addressbook_ControllerTest');
        $suite->addTestSuite('Addressbook_Controller_ListTest');
        $suite->addTestSuite('Addressbook_Convert_Contact_VCard_AllTests');
        $suite->addTestSuite('Addressbook_PdfTest');
        $suite->addTestSuite('Addressbook_JsonTest');
        $suite->addTestSuite('Addressbook_CliTest');
        $suite->addTestSuite('Addressbook_Model_ContactIdFilterTest');
        return $suite;
    }
}
if (PHPUnit_MAIN_METHOD == 'Addressbook_AllTests::main') {
    Addressbook_AllTests::main();
}