Пример #1
0
 public static function suite()
 {
     $suite = new PHPUnit_Framework_TestSuite('Zend Framework - Zend_Cloud');
     $suite->addTest(Zend_Cloud_DocumentService_AllTests::suite());
     $suite->addTest(Zend_Cloud_QueueService_AllTests::suite());
     $suite->addTest(Zend_Cloud_StorageService_AllTests::suite());
     return $suite;
 }
Пример #2
0
}
require_once 'Zend/Cloud/StorageService/Adapter/AllTests.php';
/**
 * @see Zend_Cloud_StorageService_FactoryTest
 */
require_once 'Zend/Cloud/StorageService/FactoryTest.php';
/**
 * @category   Zend
 * @package    Zend_Cloud
 * @subpackage UnitTests
 * @copyright  Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
 * @license    http://framework.zend.com/license/new-bsd     New BSD License
 * @group      Zend_Cloud
 */
class Zend_Cloud_StorageService_AllTests
{
    public static function main()
    {
        PHPUnit_TextUI_TestRunner::run(self::suite());
    }
    public static function suite()
    {
        $suite = new PHPUnit_Framework_TestSuite('Zend Framework - Zend_Cloud_StorageService');
        $suite->addTestSuite('Zend_Cloud_StorageService_FactoryTest');
        $suite->addTest(Zend_Cloud_StorageService_Adapter_AllTests::suite());
        return $suite;
    }
}
if (PHPUnit_MAIN_METHOD == 'Zend_Cloud_StorageService_AllTests::main') {
    Zend_Cloud_StorageService_AllTests::main();
}