~clinton-collins/familyproject/trunk

« back to all changes in this revision

Viewing changes to ZendFramework/tests/Zend/XmlRpc/AllTests.php

  • Committer: Clinton Collins
  • Date: 2009-06-26 19:54:58 UTC
  • Revision ID: clinton.collins@gmail.com-20090626195458-5ebba0qcvo15xlpy
Initial Import

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?php
 
2
if (!defined('PHPUnit_MAIN_METHOD')) {
 
3
    define('PHPUnit_MAIN_METHOD', 'Zend_XmlRpc_AllTests::main');
 
4
}
 
5
 
 
6
require_once dirname(__FILE__) . '/../../TestHelper.php';
 
7
 
 
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';
 
17
 
 
18
class Zend_XmlRpc_AllTests
 
19
{
 
20
    public static function main()
 
21
    {
 
22
        PHPUnit_TextUI_TestRunner::run(self::suite());
 
23
    }
 
24
 
 
25
    public static function suite()
 
26
    {
 
27
        $suite = new PHPUnit_Framework_TestSuite('Zend Framework - Zend_XmlRpc');
 
28
 
 
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');
 
38
       
 
39
        return $suite;
 
40
    }
 
41
}
 
42
 
 
43
if (PHPUnit_MAIN_METHOD == 'Zend_XmlRpc_AllTests::main') {
 
44
    Zend_XmlRpc_AllTests::main();
 
45
}