示例#1
0
 * @version    $Id $
 */
if (!defined('PHPUnit_MAIN_METHOD')) {
    define('PHPUnit_MAIN_METHOD', 'Zend_Service_Rackspace_Servers_AllTests::main');
}
require_once 'Zend/Service/Rackspace/Servers/OfflineTest.php';
require_once 'Zend/Service/Rackspace/Servers/OnlineTest.php';
/**
 * @category   Zend
 * @package    Zend_Service_Rackspace_Servers
 * @subpackage UnitTests
 * @copyright  Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
 * @license    http://framework.zend.com/license/new-bsd     New BSD License
 */
class Zend_Service_Rackspace_Servers_AllTests
{
    public static function main()
    {
        PHPUnit_TextUI_TestRunner::run(self::suite());
    }
    public static function suite()
    {
        $suite = new PHPUnit_Framework_TestSuite('Zend Framework - Zend_Service_Rackspace_Servers');
        $suite->addTestSuite('Zend_Service_Rackspace_Servers_OfflineTest');
        $suite->addTestSuite('Zend_Service_Rackspace_Servers_OnlineTest');
        return $suite;
    }
}
if (PHPUnit_MAIN_METHOD == 'Zend_Service_Rackspace_Servers_AllTests::main') {
    Zend_Service_Rackspace_Servers_AllTests::main();
}