示例#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/DocumentService/Adapter/AllTests.php';
/**
 * @see Zend_Cloud_DocumentService_FactoryTest
 */
require_once 'Zend/Cloud/DocumentService/FactoryTest.php';
/**
 * @category   Zend
 * @package    Zend_Cloud
 * @subpackage UnitTests
 * @copyright  Copyright (c) 2005-2010 Technologies USA Inc. (http://www.zend.com)
 * @license    http://framework.zend.com/license/new-bsd     New BSD License
 * @group      Zend_Cloud
 */
class Zend_Cloud_DocumentService_AllTests
{
    public static function main()
    {
        PHPUnit_TextUI_TestRunner::run(self::suite());
    }
    public static function suite()
    {
        $suite = new PHPUnit_Framework_TestSuite('Zend Framework - Zend_Cloud_DocumentService');
        $suite->addTestSuite('Zend_Cloud_DocumentService_FactoryTest');
        $suite->addTest(Zend_Cloud_DocumentService_Adapter_AllTests::suite());
        return $suite;
    }
}
if (PHPUnit_MAIN_METHOD == 'Zend_Cloud_DocumentService_AllTests::main') {
    Zend_Cloud_DocumentService_AllTests::main();
}