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()); }
public function getWrapperMethods() { $wrapperMethodsParent = parent::getWrapperMethods(); $wrapperMethods = array(array('isFinal', array()), array('isAbstract', array()), array('isPublic', array()), array('isPrivate', array()), array('isProtected', array()), array('isStatic', array()), array('isConstructor', array()), array('isDestructor', array()), array('getModifiers', array()), array('getPrototype', array())); return array_merge($wrapperMethodsParent, $wrapperMethods); }