PHP 클래스 BetterReflectionTest\Reflection\ReflectionMethodTest

상속: extends PHPUnit_Framework_TestCase
파일 보기 프로젝트 열기: roave/better-reflection

공개 메소드들

메소드 설명
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

메소드 상세

methodStringRepresentations() 공개 메소드

modifierProvider() 공개 메소드

public modifierProvider ( )

prototypeProvider() 공개 메소드

public prototypeProvider ( )

setUp() 공개 메소드

public setUp ( )

testCreateFromInstance() 공개 메소드

testCreateFromName() 공개 메소드

public testCreateFromName ( )

testGetDocBlockReturnTypes() 공개 메소드

testGetFileName() 공개 메소드

public testGetFileName ( )

testGetMethodNodeFailsWhenNodeIsNotClassMethod() 공개 메소드

testGetModifiers() 공개 메소드

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

testGetNumberOfOptionalParameters() 공개 메소드

testGetNumberOfParameters() 공개 메소드

testGetParameters() 공개 메소드

public testGetParameters ( )

testGetPrototype() 공개 메소드

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

testImplementsReflector() 공개 메소드

testIsConstructorDestructor() 공개 메소드

testMethodNameWithNamespace() 공개 메소드

testStringCast() 공개 메소드

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

testVisibilityOfMethods() 공개 메소드

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 visibilityProvider ( ) : array
리턴 array