2
if (!defined('PHPUnit_MAIN_METHOD')) {
3
define('PHPUnit_MAIN_METHOD', 'Zend_XmlRpc_AllTests::main');
6
require_once dirname(__FILE__) . '/../../TestHelper.php';
8
require_once 'Zend/XmlRpc/ValueTest.php';
9
require_once 'Zend/XmlRpc/RequestTest.php';
10
require_once 'Zend/XmlRpc/Request/HttpTest.php';
11
require_once 'Zend/XmlRpc/ResponseTest.php';
12
require_once 'Zend/XmlRpc/FaultTest.php';
13
require_once 'Zend/XmlRpc/ClientTest.php';
14
require_once 'Zend/XmlRpc/ServerTest.php';
15
require_once 'Zend/XmlRpc/Server/CacheTest.php';
16
require_once 'Zend/XmlRpc/Server/FaultTest.php';
18
class Zend_XmlRpc_AllTests
20
public static function main()
22
PHPUnit_TextUI_TestRunner::run(self::suite());
25
public static function suite()
27
$suite = new PHPUnit_Framework_TestSuite('Zend Framework - Zend_XmlRpc');
29
$suite->addTestSuite('Zend_XmlRpc_ValueTest');
30
$suite->addTestSuite('Zend_XmlRpc_RequestTest');
31
$suite->addTestSuite('Zend_XmlRpc_Request_HttpTest');
32
$suite->addTestSuite('Zend_XmlRpc_ResponseTest');
33
$suite->addTestSuite('Zend_XmlRpc_FaultTest');
34
$suite->addTestSuite('Zend_XmlRpc_ClientTest');
35
$suite->addTestSuite('Zend_XmlRpc_ServerTest');
36
$suite->addTestSuite('Zend_XmlRpc_Server_CacheTest');
37
$suite->addTestSuite('Zend_XmlRpc_Server_FaultTest');
43
if (PHPUnit_MAIN_METHOD == 'Zend_XmlRpc_AllTests::main') {
44
Zend_XmlRpc_AllTests::main();