示例#1
0
 public static function suite()
 {
     $suite = new PHPUnit_Framework_TestSuite(__CLASS__);
     if (TESTS_ZEND_SERVICE_WINDOWSAZURE_SQLMANAGEMENT_RUNTESTS) {
         $suite->addTest(Zend_Service_SqlAzure_Management_AllTests::suite());
     }
     return $suite;
 }
示例#2
0
 * Test helpers
 */
require_once dirname(__FILE__) . '/../../../../TestHelper.php';
if (!defined('PHPUnit_MAIN_METHOD')) {
    define('PHPUnit_MAIN_METHOD', 'Zend_Service_SqlAzure_Management_AllTests::main');
}
require_once 'Zend/Service/SqlAzure/Management/ManagementClientTest.php';
/**
 * @category   Zend
 * @package    Zend_Service_SqlAzure
 * @subpackage UnitTests
 * @version    $Id$
 * @copyright  Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
 * @license    http://framework.zend.com/license/new-bsd     New BSD License
 */
class Zend_Service_SqlAzure_Management_AllTests
{
    public static function main()
    {
        PHPUnit_TextUI_TestRunner::run(self::suite());
    }
    public static function suite()
    {
        $suite = new PHPUnit_Framework_TestSuite(__CLASS__);
        $suite->addTestSuite('Zend_Service_SqlAzure_Management_ManagementClientTest');
        return $suite;
    }
}
if (PHPUnit_MAIN_METHOD == 'Zend_Service_SqlAzure_Management_AllTests::main') {
    Zend_Service_SqlAzure_Management_AllTests::main();
}