forked from jbarciauskas/wsdl2php
/
AllTests.php
38 lines (29 loc) · 1021 Bytes
/
AllTests.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<?php
set_include_path(dirname(__FILE__).PATH_SEPARATOR.get_include_path());
if(!defined('PHPUnit_MAIN_METHOD')) {
define('PHPUnit_MAIN_METHOD', 'AllTests::main');
}
require_once 'PHPUnit/Framework/TestSuite.php';
require_once 'PHPUnit/TextUI/TestRunner.php';
require_once 'ColdFusion/AllTests.php';
require_once 'DotNet/AllTests.php';
require_once 'Providers/AllTests.php';
require_once 'Axis/AllTests.php';
require_once 'Interop/AllTests.php';
class AllTests {
public static function main() {
PHPUnit_TextUI_TestRunner::run(self::suite());
}
public static function suite() {
$suite = new PHPUnit_Framework_TestSuite('wsdl2php interopability test suite');
$suite->addTest(ColdFusion_AllTests::suite());
$suite->addTest(DotNet_AllTests::suite());
$suite->addTest(Providers_AllTests::suite());
$suite->addTest(Axis_AllTests::suite());
$suite->addTest(Interop_AllTests::suite());
return $suite;
}
}
if(PHPUnit_MAIN_METHOD == 'AllTests::main') {
AllTests::main();
}