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;
 }
if (!defined('PHPUnit_MAIN_METHOD')) {
    define('PHPUnit_MAIN_METHOD', 'Sales_AllTests::main');
}
class Sales_AllTests
{
    public static function main()
    {
        PHPUnit_TextUI_TestRunner::run(self::suite());
    }
    public static function suite()
    {
        $suite = new PHPUnit_Framework_TestSuite('Tine 2.0 Sales All Tests');
        $suite->addTestSuite('Sales_Backend_ContractTest');
        $suite->addTestSuite('Sales_Backend_NumberTest');
        $suite->addTestSuite('Sales_Backend_CostCenterTest');
        $suite->addTestSuite('Sales_ControllerTest');
        $suite->addTestSuite('Sales_JsonTest');
        $suite->addTestSuite('Sales_SuppliersTest');
        $suite->addTestSuite('Sales_PurchaseInvoiceTest');
        $suite->addTestSuite('Sales_CustomFieldTest');
        $suite->addTestSuite('Sales_InvoiceControllerTests');
        $suite->addTestSuite('Sales_InvoiceJsonTests');
        $suite->addTestSuite('Sales_InvoiceExportTests');
        $suite->addTestSuite('Sales_OrderConfirmationControllerTests');
        $suite->addTestSuite('Sales_OfferControllerTests');
        return $suite;
    }
}
if (PHPUnit_MAIN_METHOD == 'Sales_AllTests::main') {
    Sales_AllTests::main();
}