Home
last modified time | relevance | path

Searched refs:expectedArg (Results 1 – 8 of 8) sorted by relevance

/external/antlr/tool/src/test/java/org/antlr/test/
DTestSymbolDefinitions.java247 Object expectedArg = "'begin'"; in testParserStringLiterals() local
250 new GrammarSemanticsMessage(expectedMsgID, g, null, expectedArg); in testParserStringLiterals()
261 Object expectedArg = "'('"; in testParserCharLiterals() local
264 new GrammarSemanticsMessage(expectedMsgID, g, null, expectedArg); in testParserCharLiterals()
275 Object expectedArg = "'x'"; in testEmptyNotChar() local
278 new GrammarSemanticsMessage(expectedMsgID, g, null, expectedArg); in testEmptyNotChar()
289 Object expectedArg = "A"; in testEmptyNotToken() local
292 new GrammarSemanticsMessage(expectedMsgID, g, null, expectedArg); in testEmptyNotToken()
303 Object expectedArg = null; in testEmptyNotSet() local
306 new GrammarSemanticsMessage(expectedMsgID, g, null, expectedArg); in testEmptyNotSet()
[all …]
DTestAttributes.java439 Object expectedArg = "x"; in testInvalidArguments() local
441 new GrammarSemanticsMessage(expectedMsgID, g, null, expectedArg); in testInvalidArguments()
606 Object expectedArg = "x"; in testInvalidReturnValues() local
608 new GrammarSemanticsMessage(expectedMsgID, g, null, expectedArg); in testInvalidReturnValues()
754 Object expectedArg = "a"; in testInvalidRuleLabelAccessesParameter() local
757 new GrammarSemanticsMessage(expectedMsgID, g, null, expectedArg, expectedArg2); in testInvalidRuleLabelAccessesParameter()
783 Object expectedArg = "a"; in testInvalidRuleLabelAccessesScopeAttribute() local
786 new GrammarSemanticsMessage(expectedMsgID, g, null, expectedArg, expectedArg2); in testInvalidRuleLabelAccessesScopeAttribute()
811 Object expectedArg = "a"; in testInvalidRuleAttribute() local
814 new GrammarSemanticsMessage(expectedMsgID, g, null, expectedArg, expectedArg2); in testInvalidRuleAttribute()
[all …]
DTestRewriteAST.java1177 Object expectedArg = "ugh"; in testUnknownRule() local
1180 new GrammarSemanticsMessage(expectedMsgID, g, null, expectedArg, expectedArg2); in testUnknownRule()
1206 Object expectedArg = "b"; in testKnownRuleButNotInLHS() local
1209 new GrammarSemanticsMessage(expectedMsgID, g, null, expectedArg, expectedArg2); in testKnownRuleButNotInLHS()
1234 Object expectedArg = "ICK"; in testUnknownToken() local
1237 new GrammarSemanticsMessage(expectedMsgID, g, null, expectedArg, expectedArg2); in testUnknownToken()
1262 Object expectedArg = "foo"; in testUnknownLabel() local
1265 new GrammarSemanticsMessage(expectedMsgID, g, null, expectedArg, expectedArg2); in testUnknownLabel()
1290 Object expectedArg = "'a'"; in testUnknownCharLiteralToken() local
1293 new GrammarSemanticsMessage(expectedMsgID, g, null, expectedArg, expectedArg2); in testUnknownCharLiteralToken()
[all …]
DTestMessages.java72 Object expectedArg = "other"; in testMessageStringificationIsConsistent() local
75 new GrammarSemanticsMessage(expectedMsgID, g, null, expectedArg, expectedArg2); in testMessageStringificationIsConsistent()
DTestTemplates.java313 Object expectedArg = "%x"; in testCannotHaveSpaceBeforeDot() local
315 new GrammarSemanticsMessage(expectedMsgID, g, null, expectedArg); in testCannotHaveSpaceBeforeDot()
341 Object expectedArg = "%x."; in testCannotHaveSpaceAfterDot() local
343 new GrammarSemanticsMessage(expectedMsgID, g, null, expectedArg); in testCannotHaveSpaceAfterDot()
DTestCompositeGrammars.java301 Object expectedArg = "X='a'"; in testSameStringTwoNames() local
305 new GrammarSemanticsMessage(expectedMsgID, g, null, expectedArg, expectedArg2); in testSameStringTwoNames()
354 Object expectedArg = "A='x'"; in testSameNameTwoStrings() local
358 new GrammarSemanticsMessage(expectedMsgID, g, null, expectedArg, expectedArg2); in testSameNameTwoStrings()
392 Object expectedArg = "S"; in testImportedTokenVocabIgnoredWithWarning() local
395 new GrammarSemanticsMessage(expectedMsgID, g, null, expectedArg); in testImportedTokenVocabIgnoredWithWarning()
DTestTreeGrammarRewriteAST.java252 Object expectedArg = null; in testNoWildcardAsRootError() local
255 new GrammarSyntaxMessage(expectedMsgID, g, null, expectedArg, expectedExc); in testNoWildcardAsRootError()
/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/utils/
DTestUtils.java129 public static void assertProblems(ParseResult<?> result, String... expectedArg) { in assertProblems() argument
130 assertProblems(result.getProblems(), expectedArg); in assertProblems() local
133 public static void assertProblems(List<Problem> result, String... expectedArg) { in assertProblems() argument
135 Set<String> expected = new HashSet<>(asList(expectedArg)); in assertProblems()