Home
last modified time | relevance | path

Searched refs:stderrDuringParse (Results 1 – 4 of 4) sorted by relevance

/external/antlr/tool/src/test/java/org/antlr/test/
DTestAutoAST.java676 assertEquals("line 1:4 extraneous input '34' expecting ID\n", this.stderrDuringParse); in testExtraTokenInSimpleDecl()
692 assertEquals("line 1:4 missing ID at '='\n", this.stderrDuringParse); in testMissingIDInSimpleDecl()
708 assertEquals("line 1:0 mismatched input 'x' expecting set null\n", this.stderrDuringParse); in testMissingSetInSimpleDecl()
722 assertEquals("line 1:3 missing INT at '<EOF>'\n", this.stderrDuringParse); in testMissingTokenGivesErrorNode()
737 assertEquals("line 1:3 mismatched input '<EOF>' expecting INT\n", this.stderrDuringParse); in testMissingTokenGivesErrorNodeInInvokedRule()
753 assertEquals("line 1:4 extraneous input 'ick' expecting INT\n", this.stderrDuringParse); in testExtraTokenGivesErrorNode()
767 assertEquals("line 1:0 missing ID at '34'\n", this.stderrDuringParse); in testMissingFirstTokenGivesErrorNode()
786 assertEquals("line 1:0 missing ID at '34'\n", this.stderrDuringParse); in testMissingFirstTokenGivesErrorNode2()
803 assertEquals("line 1:0 no viable alternative at input '*'\n", this.stderrDuringParse); in testNoViableAltGivesErrorNode()
DTestSyntaxErrors.java49 String result = stderrDuringParse; in testLL2()
63 String result = stderrDuringParse; in testLL3()
76 String result = stderrDuringParse; in testLLStar()
93 String result = stderrDuringParse; in testSynPred()
DTestRewriteAST.java1338 assertEquals("line 1:4 extraneous input '34' expecting ID\n", this.stderrDuringParse); in testExtraTokenInSimpleDecl()
1354 assertEquals("line 1:4 missing ID at '='\n", this.stderrDuringParse); in testMissingIDInSimpleDecl()
1370 assertEquals("line 1:0 mismatched input 'x' expecting set null\n", this.stderrDuringParse); in testMissingSetInSimpleDecl()
1384 assertEquals("line 1:3 missing INT at '<EOF>'\n", this.stderrDuringParse); in testMissingTokenGivesErrorNode()
1401 assertEquals("line 1:4 extraneous input 'ick' expecting INT\n", this.stderrDuringParse); in testExtraTokenGivesErrorNode()
1415 assertEquals("line 1:0 missing ID at '34'\n", this.stderrDuringParse); in testMissingFirstTokenGivesErrorNode()
1434 assertEquals("line 1:0 missing ID at '34'\n", this.stderrDuringParse); in testMissingFirstTokenGivesErrorNode2()
1454 assertEquals("line 1:0 no viable alternative at input '*'\n", this.stderrDuringParse); in testNoViableAltGivesErrorNode()
1469 assertNull(stderrDuringParse); in testRewriteEmptyRule()
DBaseTest.java90 protected String stderrDuringParse; field in BaseTest
382 this.stderrDuringParse = null; in rawExecRecognizer()
430 this.stderrDuringParse = stderrVacuum.toString(); in execClass()
475 this.stderrDuringParse = stderrVacuum.toString(); in execClass()
909 if ( this.stderrDuringParse ==null ) { in getFirstLineOfException()
912 String[] lines = this.stderrDuringParse.split("\n"); in getFirstLineOfException()