Example #1
0
 public static function suite()
 {
     $suite = new PHPUnit_Framework_TestSuite();
     $suite->addTest(new PHPUnit_Framework_TestSuite("SCA_Annotation_ServiceTest"));
     $suite->addTest(new PHPUnit_Framework_TestSuite("SCA_Annotation_BindingTest"));
     $suite->addTest(new PHPUnit_Framework_TestSuite("SCA_Annotation_MethodTest"));
     $suite->addTest(new PHPUnit_Framework_TestSuite("SCA_Annotation_ParamTest"));
     $suite->addTest(new PHPUnit_Framework_TestSuite("SCA_Annotation_ReturnTest"));
     $suite->addTest(new PHPUnit_Framework_TestSuite("SCA_Annotation_TypesTest"));
     $suite->addTest(new PHPUnit_Framework_TestSuite("SCA_Annotation_ReferenceTest"));
     $suite->addTest(new PHPUnit_Framework_TestSuite("SCA_TabsAndSpacesTest"));
     $suite->addTest(new PHPUnit_Framework_TestSuite("SCA_LocalProxyTest"));
     $suite->addTest(new PHPUnit_Framework_TestSuite("SCA_Bindings_soap_ProxyTest"));
     $suite->addTest(new PHPUnit_Framework_TestSuite("SCA_Bindings_soap_HandlerTest"));
     $suite->addTest(new PHPUnit_Framework_TestSuite("SCA_Bindings_soap_WSDLTest"));
     $suite->addTest(new PHPUnit_Framework_TestSuite("SCA_Bindings_soap_MapperTest"));
     $suite->addTest(new PHPUnit_Framework_TestSuite("SCA_GetServicePathsTest"));
     $suite->addTest(new PHPUnit_Framework_TestSuite("SCA_XmlRpcTest"));
     $suite->addTest(new PHPUnit_Framework_TestSuite("SCA_RestRpcTest"));
     $suite->addTest(new PHPUnit_Framework_TestSuite("SCA_eBaySoapTest"));
     $suite->addTest(new PHPUnit_Framework_TestSuite("SCA_JsonRpcTest"));
     $suite->addTest(new PHPUnit_Framework_TestSuite("SCA_TargetTest"));
     $suite->addTest(new PHPUnit_Framework_TestSuite("SCA_Test"));
     //        $suite->addTest(new PHPUnit_Framework_TestSuite("Bug11774Test"));
     //        $suite->addTest(new PHPUnit_Framework_TestSuite("Bug12193Test"));
     $suite->addTest(SCA_RegressionTestSuite::suite());
     // TODO
     // interface to logger has changed - rework the tests
     //        $suite->addTest( new PHPUnit_Framework_TestSuite("SCALoggerTest"));
     //        $suite->addTest( new PHPUnit_Framework_TestSuite("SCALogFilterTest"));
     return $suite;
 }
Example #2
0
*/
/***********************************************************************************************************
*
*
************************************************************************************************************/
if (!defined('PHPUnit_MAIN_METHOD')) {
    define('PHPUnit_MAIN_METHOD', 'SCA_RegressionTestSuite::main');
}
require_once 'PHPUnit/Framework.php';
require_once 'PHPUnit/TextUI/TestRunner.php';
//require_once 'Tuscany1566Test.php';
require_once 'Bug11774Test.php';
require_once 'Bug12193Test.php';
class SCA_RegressionTestSuite
{
    public static function main()
    {
        PHPUnit_TextUI_TestRunner::run(self::suite());
    }
    public static function suite()
    {
        $suite = new PHPUnit_Framework_TestSuite();
        //        $suite->addTest(new PHPUnit_Framework_TestSuite("Tuscany1566Test"));
        $suite->addTest(new PHPUnit_Framework_TestSuite("Bug11774Test"));
        $suite->addTest(new PHPUnit_Framework_TestSuite("Bug12193Test"));
        return $suite;
    }
}
if (PHPUnit_MAIN_METHOD == 'SCA_RegressionTestSuite::main') {
    SCA_RegressionTestSuite::main();
}