PHP Class PhpParser\PrettyPrinterTest

Inheritance: extends phpparser\CodeTestAbstract
Show file Open project: nikic/PHP-Parser

Public Methods

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

Protected Methods

Method Description
doTestPrettyPrintMethod ( $method, $name, $code, $expected, $modeLine )

Private Methods

Method Description
parseModeLine ( $modeLine )

Method Details

doTestPrettyPrintMethod() protected method

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

provideTestKindAttributes() public method

provideTestPrettyPrint() public method

provideTestPrettyPrintFile() public method

provideTestUnnaturalLiterals() public method

testArraySyntaxDefault() public method

testCommentBeforeInlineHTML() public method

testKindAttributes() public method

public testKindAttributes ( $node, $expected )

testPrettyPrint() public method

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

testPrettyPrintExpr() public method

public testPrettyPrintExpr ( )

testPrettyPrintFile() public method

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

testUnnaturalLiterals() public method

public testUnnaturalLiterals ( $node, $expected )