示例#1
0
 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;
 }
示例#2
0
<?php

set_include_path(dirname(__FILE__) . PATH_SEPARATOR . get_include_path());
if (!defined('PHPUnit_MAIN_METHOD')) {
    define('PHPUnit_MAIN_METHOD', 'ColdFusion_AllTests::main');
}
require_once 'PHPUnit/Framework/TestSuite.php';
require_once 'PHPUnit/TextUI/TestRunner.php';
require_once 'ComicsWebServiceTest.php';
class ColdFusion_AllTests
{
    public static function main()
    {
        PHPUnit_TextUI_TestRunner::run(self::suite());
    }
    public static function suite()
    {
        $suite = new PHPUnit_Framework_TestSuite('ColdFusion interopability test suite');
        $suite->addTestSuite('ComicsWebServiceTest');
        return $suite;
    }
}
if (PHPUnit_MAIN_METHOD == 'ColdFusion_AllTests::main') {
    ColdFusion_AllTests::main();
}