PHP 클래스 Phlexy\Lexer\TestAbstract

상속: extends PHPUnit_Framework_TestCase
파일 보기 프로젝트 열기: nikic/phlexy 1 사용 예제들

공개 메소드들

메소드 설명
createLexerFactory ( ) : Phlexy\LexerFactory
getStatefulTests ( )
getTestsWithCapturingGroups ( )
getTestsWithoutCapturingGroups ( )
provideTestLexing ( ) : array
provideTestLexingException ( )
testLexing ( array $lexerDefinition, $additionalModifiers, array $inputsToExpectedOutputsMap )
testLexingException ( array $lexerDefinition, $input, $expectedExceptionMessage )

보호된 메소드들

메소드 설명
statelessTestsToStateful ( array $tests )

메소드 상세

createLexerFactory() 추상적인 공개 메소드

abstract public createLexerFactory ( ) : Phlexy\LexerFactory
리턴 Phlexy\LexerFactory

getStatefulTests() 공개 메소드

public getStatefulTests ( )

getTestsWithCapturingGroups() 공개 메소드

getTestsWithoutCapturingGroups() 공개 메소드

provideTestLexing() 추상적인 공개 메소드

abstract public provideTestLexing ( ) : array
리턴 array

provideTestLexingException() 공개 메소드

statelessTestsToStateful() 보호된 메소드

protected statelessTestsToStateful ( array $tests )
$tests array

testLexing() 공개 메소드

public testLexing ( array $lexerDefinition, $additionalModifiers, array $inputsToExpectedOutputsMap )
$lexerDefinition array
$inputsToExpectedOutputsMap array

testLexingException() 공개 메소드

public testLexingException ( array $lexerDefinition, $input, $expectedExceptionMessage )
$lexerDefinition array