/**
  * suite
  */
 public static function suite()
 {
     $suite = new PHPUnit_Framework_TestSuite('Tine 2.0 Tinebase All Tests');
     $suite->addTestSuite('Tinebase_AccessLogTest');
     $suite->addTestSuite('Tinebase_AccountTest');
     $suite->addTestSuite('Tinebase_AuthTest');
     $suite->addTestSuite('Tinebase_CoreTest');
     $suite->addTestSuite('Tinebase_DateTimeTest');
     $suite->addTestSuite('Tinebase_ExceptionTest');
     $suite->addTestSuite('Tinebase_LdapTest');
     $suite->addTestSuite('Tinebase_ModelConfigurationTest');
     $suite->addTestSuite('Tinebase_Record_RecordTest');
     $suite->addTestSuite('Tinebase_Record_RecordSetTest');
     $suite->addTestSuite('Tinebase_UserTest');
     $suite->addTestSuite('Tinebase_GroupTest');
     $suite->addTestSuite('Tinebase_ZendFilterTest');
     $suite->addTestSuite('Tinebase_ContainerTest');
     $suite->addTestSuite('Tinebase_ContainerPersistentCacheTest');
     $suite->addTestSuite('Tinebase_ImageHelperTest');
     $suite->addTestSuite('Tinebase_ConfigTest');
     $suite->addTestSuite('Tinebase_CustomFieldTest');
     $suite->addTestSuite('Tinebase_PreferenceTest');
     $suite->addTestSuite('Tinebase_ApplicationTest');
     $suite->addTestSuite('Tinebase_Relation_AllTests');
     $suite->addTestSuite('Tinebase_NotesTest');
     $suite->addTestSuite('Tinebase_TransactionManagerTest');
     $suite->addTestSuite('Tinebase_TranslationTest');
     $suite->addTestSuite('Tinebase_AsyncJobTest');
     $suite->addTestSuite('Tinebase_HelperTests');
     $suite->addTestSuite('Tinebase_FileSystem_StreamWrapperTest');
     $suite->addTestSuite('Tinebase_FileSystem_RecordAttachmentsTest');
     $suite->addTestSuite('Tinebase_FileSystemTest');
     $suite->addTestSuite('Tinebase_ControllerTest');
     $suite->addTestSuite('Tinebase_MailTest');
     $suite->addTestSuite('Tinebase_NotificationTest');
     $suite->addTestSuite('Tinebase_Model_Filter_TextTest');
     $suite->addTestSuite('Tinebase_TagsTest');
     $suite->addTestSuite('Tinebase_Log_AllTests');
     $suite->addTestSuite('Tinebase_Redis_QueueTest');
     $suite->addTestSuite('Tinebase_Pluggable_ConcreteTest');
     $suite->addTestSuite('Tinebase_TempFileTest');
     $suite->addTestSuite('Tinebase_Server_AllTests');
     $suite->addTestSuite('Tinebase_LockTest');
     $suite->addTestSuite('Tinebase_ScheduledImportTest');
     $suite->addTest(Tinebase_User_AllTests::suite());
     $suite->addTest(Tinebase_Group_AllTests::suite());
     $suite->addTest(Tinebase_Timemachine_AllTests::suite());
     $suite->addTest(Tinebase_Frontend_AllTests::suite());
     $suite->addTest(Tinebase_Acl_AllTests::suite());
     $suite->addTest(Tinebase_Tree_AllTests::suite());
     $suite->addTest(Tinebase_Record_AllTests::suite());
     $suite->addTest(Tinebase_Scheduler_AllTests::suite());
     $suite->addTest(Tinebase_WebDav_AllTests::suite());
     $suite->addTest(OpenDocument_AllTests::suite());
     return $suite;
 }
Example #2
0
 /**
  * suite
  */
 public static function suite()
 {
     $suite = new PHPUnit_Framework_TestSuite('Tine 2.0 Tinebase All Tests');
     $suite->addTestSuite('Tinebase_DateTimeTest');
     $suite->addTestSuite('Tinebase_Record_RecordTest');
     $suite->addTestSuite('Tinebase_Record_RecordSetTest');
     $suite->addTestSuite('Tinebase_AuthTest');
     $suite->addTestSuite('Tinebase_UserTest');
     $suite->addTestSuite('Tinebase_GroupTest');
     $suite->addTestSuite('Tinebase_ZendFilterTest');
     $suite->addTestSuite('Tinebase_ContainerTest');
     $suite->addTestSuite('Tinebase_ImageHelperTest');
     $suite->addTestSuite('Tinebase_ConfigTest');
     $suite->addTestSuite('Tinebase_CustomFieldTest');
     $suite->addTestSuite('Tinebase_PreferenceTest');
     $suite->addTestSuite('Tinebase_ApplicationTest');
     $suite->addTestSuite('Tinebase_Relation_AllTests');
     $suite->addTestSuite('Tinebase_NotesTest');
     $suite->addTestSuite('Tinebase_TransactionManagerTest');
     $suite->addTestSuite('Tinebase_TranslationTest');
     $suite->addTestSuite('Tinebase_AsyncJobTest');
     $suite->addTestSuite('Tinebase_HelperTests');
     $suite->addTestSuite('Tinebase_FileSystem_StreamWrapperTest');
     $suite->addTestSuite('Tinebase_FileSystemTest');
     $suite->addTestSuite('Tinebase_ControllerTest');
     $suite->addTestSuite('Tinebase_NotificationTest');
     $suite->addTestSuite('Tinebase_Model_Filter_TextTest');
     $suite->addTestSuite('Tinebase_TagsTest');
     $suite->addTest(Tinebase_User_AllTests::suite());
     $suite->addTest(Tinebase_Group_AllTests::suite());
     $suite->addTest(Tinebase_Timemachine_AllTests::suite());
     $suite->addTest(Tinebase_Frontend_AllTests::suite());
     $suite->addTest(Tinebase_Acl_AllTests::suite());
     $suite->addTest(Tinebase_Tree_AllTests::suite());
     $suite->addTest(Tinebase_Scheduler_AllTests::suite());
     $suite->addTest(Tinebase_WebDav_AllTests::suite());
     return $suite;
 }
Example #3
0
 * @license     http://www.gnu.org/licenses/agpl.html
 * @copyright   Copyright (c) 2007-2010 Metaways Infosystems GmbH (http://www.metaways.de)
 * @author      Matthias Greiling <*****@*****.**>
 */
/**
 * Test helper
 */
require_once dirname(dirname(dirname(__FILE__))) . DIRECTORY_SEPARATOR . 'TestHelper.php';
if (!defined('PHPUnit_MAIN_METHOD')) {
    define('PHPUnit_MAIN_METHOD', 'Tinebase_Frontend_AllTests::main');
}
class Tinebase_Frontend_AllTests
{
    public static function main()
    {
        PHPUnit_TextUI_TestRunner::run(self::suite());
    }
    public static function suite()
    {
        $suite = new PHPUnit_Framework_TestSuite('Tine 2.0 Tinebase All Frontend Tests');
        $suite->addTestSuite('Tinebase_Frontend_Json_ContainerTest');
        $suite->addTestSuite('Tinebase_Frontend_Json_PersistentFilterTest');
        $suite->addTestSuite('Tinebase_Frontend_JsonTest');
        $suite->addTestSuite('Tinebase_Frontend_CliTest');
        $suite->addTestSuite('Tinebase_Frontend_HttpTest');
        return $suite;
    }
}
if (PHPUnit_MAIN_METHOD == 'Tinebase_Frontend_AllTests::main') {
    Tinebase_Frontend_AllTests::main();
}