public static function suite() { $suite = new PHPUnit_Framework_TestSuite(); $suite->setName("SCA_SDOTestSuite"); $suite->addTest(new PHPUnit_Framework_TestSuite("SDOAPITest")); $suite->addTest(new PHPUnit_Framework_TestSuite("XMLDASTest")); $suite->addTest(new PHPUnit_Framework_TestSuite("JsonDASTest")); $suite->addTest(SCA_TestSuite::suite()); $suite->addTest(SDO_DAS_Relational_TestSuite::suite()); return $suite; }
$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; } } if (PHPUnit_MAIN_METHOD == 'SCA_TestSuite::main') { SCA_TestSuite::main(); }
| All Rights Reserved. | +----------------------------------------------------------------------+ | | | Licensed under the Apache License, Version 2.0 (the "License"); you | | may not use this file except in compliance with the License. You may | | obtain a copy of the License at | | http://www.apache.org/licenses/LICENSE-2.0 | | | | Unless required by applicable law or agreed to in writing, software | | distributed under the License is distributed on an "AS IS" BASIS, | | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or | | implied. See the License for the specific language governing | | permissions and limitations under the License. | +----------------------------------------------------------------------+ | Author: Matthew Peters | +----------------------------------------------------------------------+ */ /********************************************************** * Get a TestRunner **********************************************************/ require_once "PHPUnit/TextUI/TestRunner.php"; $aTestRunner = new PHPUnit_TextUI_TestRunner(); /********************************************************** * Get our test suite /**********************************************************/ require_once 'TestSuite.php'; $suite = SCA_TestSuite::suite(); /********************************************************** * Run it /**********************************************************/ $result = $aTestRunner->doRun($suite);