/** * @dataProvider getWrapperMethods */ public function testWrapperMethods($method, $arguments) { if ($method != 'getPrototype') { // getPrototype is not yet implemented in staticReflection parent::testWrapperMethods($method, $arguments); } }
public function __construct() { parent::__construct(); $this->setName('Reflection'); $this->addTest(ezcReflectionAnnotationFactoryTest::suite()); $this->addTest(ezcReflectionDocCommentParserTest::suite()); $this->addTest(ezcReflectionTypeMapperTest::suite()); $this->addTest(ezcReflectionAbstractTypeTest::suite()); $this->addTest(ezcReflectionPrimitiveTypeTest::suite()); $this->addTest(ezcReflectionArrayTypeTest::suite()); $this->addTest(ezcReflectionObjectTypeTest::suite()); $this->addTest(ezcReflectionMixedTypeTest::suite()); $this->addTest(ezcReflectionTypeFactoryTest::suite()); $this->addTest(ezcReflectionClassTest::suite()); $this->addTest(ezcReflectionClassExternalTest::suite()); $this->addTest(ezcReflectionClassInstanceTest::suite()); $this->addTest(ezcReflectionObjectTest::suite()); $this->addTest(ezcReflectionFunctionTest::suite()); $this->addTest(ezcReflectionFunctionExternalTest::suite()); $this->addTest(ezcReflectionMethodTest::suite()); $this->addTest(ezcReflectionMethodExternalTest::suite()); $this->addTest(ezcReflectionMethodFromClassTest::suite()); $this->addTest(ezcReflectionMethodsFromClassTest::suite()); $this->addTest(ezcReflectionParameterTest::suite()); $this->addTest(ezcReflectionParameterByNameTest::suite()); $this->addTest(ezcReflectionParametersFromFunctionTest::suite()); $this->addTest(ezcReflectionParameterExternalTest::suite()); $this->addTest(ezcReflectionPropertyTest::suite()); $this->addTest(ezcReflectionPropertyFromClassTest::suite()); $this->addTest(ezcReflectionPropertiesFromClassTest::suite()); if (file_exists(dirname(__FILE__) . '/staticReflection/source/pdepend/reflection/Autoloader.php')) { $this->addTest(ezcReflectionClassStaticTest::suite()); $this->addTest(ezcReflectionMethodStaticTest::suite()); $this->addTest(ezcReflectionParameterStaticTest::suite()); } $this->addTest(ezcReflectionExtensionTest::suite()); $this->addTest(ezcReflectionExtensionExternalTest::suite()); $this->addTest(ezcReflectionTest::suite()); }