PHP Class BetterReflectionTest\Reflection\ReflectionMethodTest

Inheritance: extends PHPUnit_Framework_TestCase
Afficher le fichier Open project: roave/better-reflection

Méthodes publiques

Méthode Description
methodStringRepresentations ( )
modifierProvider ( )
prototypeProvider ( )
setUp ( )
testCreateFromInstance ( )
testCreateFromName ( )
testGetDocBlockReturnTypes ( )
testGetFileName ( )
testGetMethodNodeFailsWhenNodeIsNotClassMethod ( )
testGetModifiers ( string $methodName, integer $expectedModifier, array $expectedModifierNames )
testGetNumberOfOptionalParameters ( )
testGetNumberOfParameters ( )
testGetParameters ( )
testGetPrototype ( string $class, string $method, string | null $expectedPrototype )
testImplementsReflector ( )
testIsConstructorDestructor ( )
testMethodNameWithNamespace ( )
testStringCast ( string $methodName, string $expectedStringValue )
testVisibilityOfMethods ( string $method, boolean $shouldBePublic, boolean $shouldBePrivate, boolean $shouldBeProtected, boolean $shouldBeFinal, boolean $shouldBeAbstract, boolean $shouldBeStatic )
visibilityProvider ( ) : array

Method Details

methodStringRepresentations() public méthode

modifierProvider() public méthode

public modifierProvider ( )

prototypeProvider() public méthode

public prototypeProvider ( )

setUp() public méthode

public setUp ( )

testCreateFromInstance() public méthode

testCreateFromName() public méthode

public testCreateFromName ( )

testGetDocBlockReturnTypes() public méthode

testGetFileName() public méthode

public testGetFileName ( )

testGetMethodNodeFailsWhenNodeIsNotClassMethod() public méthode

testGetModifiers() public méthode

public testGetModifiers ( string $methodName, integer $expectedModifier, array $expectedModifierNames )
$methodName string
$expectedModifier integer
$expectedModifierNames array

testGetNumberOfOptionalParameters() public méthode

testGetNumberOfParameters() public méthode

testGetParameters() public méthode

public testGetParameters ( )

testGetPrototype() public méthode

public testGetPrototype ( string $class, string $method, string | null $expectedPrototype )
$class string
$method string
$expectedPrototype string | null

testImplementsReflector() public méthode

testIsConstructorDestructor() public méthode

testMethodNameWithNamespace() public méthode

testStringCast() public méthode

public testStringCast ( string $methodName, string $expectedStringValue )
$methodName string
$expectedStringValue string

testVisibilityOfMethods() public méthode

public testVisibilityOfMethods ( string $method, boolean $shouldBePublic, boolean $shouldBePrivate, boolean $shouldBeProtected, boolean $shouldBeFinal, boolean $shouldBeAbstract, boolean $shouldBeStatic )
$method string
$shouldBePublic boolean
$shouldBePrivate boolean
$shouldBeProtected boolean
$shouldBeFinal boolean
$shouldBeAbstract boolean
$shouldBeStatic boolean

visibilityProvider() public méthode

public visibilityProvider ( ) : array
Résultat array