Home
last modified time | relevance | path

Searched refs:foundMsg (Results 1 – 3 of 3) sorted by relevance

/external/antlr/tool/src/test/java/org/antlr/test/
DBaseTest.java533 Message foundMsg = null; in checkGrammarSemanticsError() local
537 foundMsg = m; in checkGrammarSemanticsError()
540 assertNotNull("no error; "+expectedMessage.msgID+" expected", foundMsg); in checkGrammarSemanticsError()
542 foundMsg instanceof GrammarSemanticsMessage); in checkGrammarSemanticsError()
543 assertEquals(expectedMessage.arg, foundMsg.arg); in checkGrammarSemanticsError()
553 Message foundMsg = null; in checkGrammarSemanticsWarning() local
557 foundMsg = m; in checkGrammarSemanticsWarning()
560 assertNotNull("no error; "+expectedMessage.msgID+" expected", foundMsg); in checkGrammarSemanticsWarning()
562 foundMsg instanceof GrammarSemanticsMessage); in checkGrammarSemanticsWarning()
563 assertEquals(expectedMessage.arg, foundMsg.arg); in checkGrammarSemanticsWarning()
[all …]
DTestTemplates.java356 Message foundMsg = null; in checkError() local
360 foundMsg = m; in checkError()
365 assertTrue("couldn't find expected error: "+expectedMessage.msgID, foundMsg!=null); in checkError()
367 foundMsg instanceof GrammarSemanticsMessage); in checkError()
368 assertEquals(expectedMessage.arg, foundMsg.arg); in checkError()
369 assertEquals(expectedMessage.arg2, foundMsg.arg2); in checkError()
DTestAttributes.java3081 Message foundMsg = null; in checkError() local
3085 foundMsg = m; in checkError()
3089 assertNotNull("couldn't find expected error: "+expectedMessage.msgID+" in "+equeue, foundMsg); in checkError()
3091 foundMsg instanceof GrammarSemanticsMessage); in checkError()
3092 assertEquals(expectedMessage.arg, foundMsg.arg); in checkError()
3093 assertEquals(expectedMessage.arg2, foundMsg.arg2); in checkError()
3104 boolean foundMsg = false; in checkErrors()
3108 foundMsg = true; in checkErrors()
3111 if (foundMsg) { in checkErrors()