PHP 클래스 BetterReflectionTest\NodeCompiler\CompileNodeToValueTest

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

공개 메소드들

메소드 설명
nodeProvider ( ) : array
testClassConstantClassNameAliasedResolution ( )
testClassConstantClassNameNamespaceResolution ( )
testClassConstantClassNameOutOfScopeResolution ( )
testClassConstantClassNameResolution ( )
testClassConstantResolutionExternalForMethod ( )
testClassConstantResolutionSelfForMethod ( )
testClassConstantResolutionStaticForMethod ( )
testConstantValueCompiled ( )
testExceptionThrownWhenCoalesceOperatorUsed ( )
testExceptionThrownWhenInvalidNodeGiven ( )
testExceptionThrownWhenSpaceshipOperatorUsed ( )
testExceptionThrownWhenUndefinedConstUsed ( )
testVariousNodeCompilations ( string $phpCode, mixed $expectedValue )

비공개 메소드들

메소드 설명
getDummyContext ( )
parseCode ( string $phpCode ) : PhpParser\Node

메소드 상세

nodeProvider() 공개 메소드

public nodeProvider ( ) : array
리턴 array

testClassConstantClassNameAliasedResolution() 공개 메소드

testClassConstantClassNameNamespaceResolution() 공개 메소드

testClassConstantClassNameOutOfScopeResolution() 공개 메소드

testClassConstantClassNameResolution() 공개 메소드

testClassConstantResolutionExternalForMethod() 공개 메소드

testClassConstantResolutionSelfForMethod() 공개 메소드

testClassConstantResolutionStaticForMethod() 공개 메소드

testConstantValueCompiled() 공개 메소드

testExceptionThrownWhenCoalesceOperatorUsed() 공개 메소드

testExceptionThrownWhenInvalidNodeGiven() 공개 메소드

testExceptionThrownWhenSpaceshipOperatorUsed() 공개 메소드

testExceptionThrownWhenUndefinedConstUsed() 공개 메소드

testVariousNodeCompilations() 공개 메소드

public testVariousNodeCompilations ( string $phpCode, mixed $expectedValue )
$phpCode string
$expectedValue mixed