Home
last modified time | relevance | path

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

/external/antlr/gunit/src/main/java/org/antlr/gunit/
DJUnitCodeGen.java195 StringTemplate testRuleMethodST; in genParserMethods() local
198 testRuleMethodST = group.getInstanceOf("testRuleMethod2"); in genParserMethods()
200testRuleMethodST.setAttribute("methodName", "test"+changeFirstCapital(ts.getRuleName())+i); in genParserMethods()
201 testRuleMethodST.setAttribute("testRuleName", '"'+ts.getRuleName()+'"'); in genParserMethods()
202 testRuleMethodST.setAttribute("test", input); in genParserMethods()
203testRuleMethodST.setAttribute("returnType", ruleWithReturn.get(ts.getRuleName())); in genParserMethods()
204 testRuleMethodST.setAttribute("expecting", outputString); in genParserMethods()
211 testRuleMethodST = group.getInstanceOf("testRuleMethod"); in genParserMethods()
213 testRuleMethodST.setAttribute("isLexicalRule", ts.isLexicalRule()); in genParserMethods()
214testRuleMethodST.setAttribute("methodName", "test"+changeFirstCapital(testRuleName)+i); in genParserMethods()
[all …]