PHP Class Phlexy\Lexer\TestAbstract

Inheritance: extends PHPUnit_Framework_TestCase
Afficher le fichier Open project: nikic/phlexy Class Usage Examples

Méthodes publiques

Méthode Description
createLexerFactory ( ) : Phlexy\LexerFactory
getStatefulTests ( )
getTestsWithCapturingGroups ( )
getTestsWithoutCapturingGroups ( )
provideTestLexing ( ) : array
provideTestLexingException ( )
testLexing ( array $lexerDefinition, $additionalModifiers, array $inputsToExpectedOutputsMap )
testLexingException ( array $lexerDefinition, $input, $expectedExceptionMessage )

Méthodes protégées

Méthode Description
statelessTestsToStateful ( array $tests )

Method Details

createLexerFactory() abstract public méthode

abstract public createLexerFactory ( ) : Phlexy\LexerFactory
Résultat Phlexy\LexerFactory

getStatefulTests() public méthode

public getStatefulTests ( )

getTestsWithCapturingGroups() public méthode

getTestsWithoutCapturingGroups() public méthode

provideTestLexing() abstract public méthode

abstract public provideTestLexing ( ) : array
Résultat array

provideTestLexingException() public méthode

statelessTestsToStateful() protected méthode

protected statelessTestsToStateful ( array $tests )
$tests array

testLexing() public méthode

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

testLexingException() public méthode

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