public static function suite()
 {
     $suite = new PHPUnit_Framework_TestSuite('All Addressbook tests');
     $suite->addTest(Addressbook_Backend_AllTests::suite());
     $suite->addTest(Addressbook_Convert_Contact_VCard_AllTests::suite());
     $suite->addTest(Addressbook_Frontend_AllTests::suite());
     $suite->addTest(Addressbook_Import_AllTests::suite());
     $suite->addTestSuite('Addressbook_ControllerTest');
     $suite->addTestSuite('Addressbook_Controller_ListTest');
     $suite->addTestSuite('Addressbook_PdfTest');
     $suite->addTestSuite('Addressbook_JsonTest');
     $suite->addTestSuite('Addressbook_CliTest');
     $suite->addTestSuite('Addressbook_Model_ContactIdFilterTest');
     // TODO: enable this again, when its fast
     //         $suite->addTestSuite('Addressbook_Setup_DemoDataTests');
     return $suite;
 }
Beispiel #2
0
 * @license     http://www.gnu.org/licenses/agpl.html
 * @copyright   Copyright (c) 2011-2011 Metaways Infosystems GmbH (http://www.metaways.de)
 * @author      Lars Kneschke <*****@*****.**>
 */
/**
 * Test helper
 */
require_once dirname(dirname(dirname(dirname(dirname(__FILE__))))) . DIRECTORY_SEPARATOR . 'TestHelper.php';
if (!defined('PHPUnit_MAIN_METHOD')) {
    define('PHPUnit_MAIN_METHOD', 'Addressbook_Convert_Contact_VCard_AllTests::main');
}
class Addressbook_Convert_Contact_VCard_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 Import Vcard Tests');
        $suite->addTestSuite('Addressbook_Convert_Contact_VCard_FactoryTest');
        $suite->addTestSuite('Addressbook_Convert_Contact_VCard_GenericTest');
        $suite->addTestSuite('Addressbook_Convert_Contact_VCard_IOSTest');
        $suite->addTestSuite('Addressbook_Convert_Contact_VCard_MacOSXTest');
        $suite->addTestSuite('Addressbook_Convert_Contact_VCard_SogoTest');
        return $suite;
    }
}
if (PHPUnit_MAIN_METHOD == 'Addressbook_Convert_Contact_VCard_AllTests::main') {
    Addressbook_Convert_Contact_VCard_AllTests::main();
}