PHP Class PhpParser\ErrorTest

Inheritance: extends PHPUnit_Framework_TestCase
Show file Open project: nikic/php-parser

Public Methods

Method Description
provideTestColumnInfo ( )
testColumnInfo ( $code, $startPos, $endPos, $startColumn, $endColumn )
testConstruct ( )
testInvalidPosInfo ( )
testNoColumnInfo ( )
testSetMessageAndLine ( Error $error )
testUnknownLine ( )

Method Details

provideTestColumnInfo() public method

testColumnInfo() public method

public testColumnInfo ( $code, $startPos, $endPos, $startColumn, $endColumn )

testConstruct() public method

public testConstruct ( )

testInvalidPosInfo() public method

public testInvalidPosInfo ( )

testNoColumnInfo() public method

public testNoColumnInfo ( )

testSetMessageAndLine() public method

public testSetMessageAndLine ( Error $error )
$error Error

testUnknownLine() public method

public testUnknownLine ( )