示例#1
0
文件: AllTests.php 项目: netvlies/zf
 /**
  * Creates and returns this test suite
  *
  * @return PHPUnit_Framework_TestSuite
  */
 public static function suite()
 {
     $suite = new PHPUnit_Framework_TestSuite('Zend Framework - Zend_Service');
     $suite->addTestSuite('Zend_Service_AkismetTest');
     $suite->addTest(Zend_Service_Amazon_AllTests::suite());
     $suite->addTest(Zend_Service_Audioscrobbler_AllTests::suite());
     $suite->addTest(Zend_Service_Delicious_AllTests::suite());
     $suite->addTest(Zend_Service_DeveloperGarden_AllTests::suite());
     $suite->addTest(Zend_Service_Flickr_AllTests::suite());
     $suite->addTest(Zend_Service_LiveDocx_AllTests::suite());
     $suite->addTest(Zend_Service_Nirvanix_AllTests::suite());
     $suite->addTest(Zend_Service_ReCaptcha_AllTests::suite());
     $suite->addTest(Zend_Service_Simpy_AllTests::suite());
     $suite->addTestSuite('Zend_Service_SlideShareTest');
     $suite->addTest(Zend_Service_StrikeIron_AllTests::suite());
     $suite->addTest(Zend_Service_Technorati_AllTests::suite());
     $suite->addTest(Zend_Service_Twitter_AllTests::suite());
     $suite->addTest(Zend_Service_WindowsAzure_AllTests::suite());
     $suite->addTest(Zend_Service_Yahoo_AllTests::suite());
     return $suite;
 }
示例#2
0
文件: AllTests.php 项目: netvlies/zf
        PHPUnit_TextUI_TestRunner::run(self::suite());
    }
    public static function suite()
    {
        $suite = new PHPUnit_Framework_TestSuite('Zend_Service_WindowsAzure test suite');
        $suite->addTestSuite(Zend_Service_WindowsAzure_Credentials_AllTests::suite());
        $suite->addTestSuite('Zend_Service_WindowsAzure_RetryPolicyTest');
        $suite->addTestSuite('Zend_Service_WindowsAzure_StorageTest');
        if (TESTS_ZEND_SERVICE_WINDOWSAZURE_BLOB_RUNTESTS) {
            $suite->addTestSuite('Zend_Service_WindowsAzure_BlobStorageTest');
            $suite->addTestSuite('Zend_Service_WindowsAzure_BlobStorageSharedAccessTest');
            $suite->addTestSuite('Zend_Service_WindowsAzure_BlobStreamTest');
        }
        if (TESTS_ZEND_SERVICE_WINDOWSAZURE_TABLE_RUNTESTS) {
            $suite->addTestSuite('Zend_Service_WindowsAzure_TableEntityTest');
            $suite->addTestSuite('Zend_Service_WindowsAzure_DynamicTableEntityTest');
            $suite->addTestSuite('Zend_Service_WindowsAzure_TableEntityQueryTest');
            $suite->addTestSuite('Zend_Service_WindowsAzure_TableStorageTest');
        }
        if (TESTS_ZEND_SERVICE_WINDOWSAZURE_QUEUE_RUNTESTS) {
            $suite->addTestSuite('Zend_Service_WindowsAzure_QueueStorageTest');
        }
        if (TESTS_ZEND_SERVICE_WINDOWSAZURE_SESSIONHANDLER_RUNTESTS) {
            $suite->addTestSuite('Zend_Service_WindowsAzure_SessionHandlerTest');
        }
        return $suite;
    }
}
if (PHPUnit_MAIN_METHOD == 'Zend_Service_WindowsAzure_AllTests::main') {
    Zend_Service_WindowsAzure_AllTests::main();
}