PHP Class PhpParser\PrettyPrinterTest

Inheritance: extends phpparser\CodeTestAbstract
Afficher le fichier Open project: nikic/PHP-Parser

Méthodes publiques

Méthode Description
provideTestKindAttributes ( )
provideTestPrettyPrint ( )
provideTestPrettyPrintFile ( )
provideTestUnnaturalLiterals ( )
testArraySyntaxDefault ( )
testCommentBeforeInlineHTML ( )
testKindAttributes ( $node, $expected )
testPrettyPrint ( $name, $code, $expected, $mode )
testPrettyPrintExpr ( )
testPrettyPrintFile ( $name, $code, $expected, $mode )
testUnnaturalLiterals ( $node, $expected )

Méthodes protégées

Méthode Description
doTestPrettyPrintMethod ( $method, $name, $code, $expected, $modeLine )

Private Methods

Méthode Description
parseModeLine ( $modeLine )

Method Details

doTestPrettyPrintMethod() protected méthode

protected doTestPrettyPrintMethod ( $method, $name, $code, $expected, $modeLine )

provideTestKindAttributes() public méthode

provideTestPrettyPrint() public méthode

provideTestPrettyPrintFile() public méthode

provideTestUnnaturalLiterals() public méthode

testArraySyntaxDefault() public méthode

testCommentBeforeInlineHTML() public méthode

testKindAttributes() public méthode

public testKindAttributes ( $node, $expected )

testPrettyPrint() public méthode

public testPrettyPrint ( $name, $code, $expected, $mode )

testPrettyPrintExpr() public méthode

public testPrettyPrintExpr ( )

testPrettyPrintFile() public méthode

public testPrettyPrintFile ( $name, $code, $expected, $mode )

testUnnaturalLiterals() public méthode

public testUnnaturalLiterals ( $node, $expected )