public static function suite() { $suite = new PHPUnit_Framework_TestSuite('Zend Framework - Zend_Service_Rackspace'); $suite->addTest(Zend_Service_Rackspace_Files_AllTests::suite()); $suite->addTest(Zend_Service_Rackspace_Servers_AllTests::suite()); $suite->addTestSuite('Zend_Service_Rackspace_OfflineTest'); return $suite; }
* @version $Id $ */ if (!defined('PHPUnit_MAIN_METHOD')) { define('PHPUnit_MAIN_METHOD', 'Zend_Service_Rackspace_Files_AllTests::main'); } require_once 'Zend/Service/Rackspace/Files/OfflineTest.php'; require_once 'Zend/Service/Rackspace/Files/OnlineTest.php'; /** * @category Zend * @package Zend_Service_Rackspace_Files * @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 */ class Zend_Service_Rackspace_Files_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_Files'); $suite->addTestSuite('Zend_Service_Rackspace_Files_OfflineTest'); $suite->addTestSuite('Zend_Service_Rackspace_Files_OnlineTest'); return $suite; } } if (PHPUnit_MAIN_METHOD == 'Zend_Service_Rackspace_Files_AllTests::main') { Zend_Service_Rackspace_Files_AllTests::main(); }