Home
last modified time | relevance | path

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

/external/apache-velocity-engine/velocity-engine-core/src/test/java/org/apache/velocity/test/
DParseExceptionTestCase.java110 assertEvalExceptionAt(" #set($abc) ", 1, 13); in testParseExceptionFromEval()
121 assertEvalExceptionAt("#macro($blarg) foo #end", 1, 7); in testParseExceptionFromMacroDef()
132 assertEvalExceptionAt("#macro(aa $blarg) #set(!! = bb) #end #aa('aa')", 1, 24); in testParseExceptionFromMacroDefBody()
142 assertEvalExceptionAt("#macro( foo $a) $a #end #foo(woogie)", 1, 32); in testParseExceptionFromMacroInvoke()
155 assertEvalExceptionAt("#macro(foo $a) $a #end #foo('test1' 'test2')", 1, 24); in testParseExceptionMacroInvalidArgumentCount()
177 assertEvalExceptionAt("${foo-bar}", 1, 6); in testParseExceptionMinusSignDissalowed()
DIndexTestCase.java129 assertEvalExceptionAt("$boo['throwex']", 1, 5); in testErrorHandling()
130 assertEvalExceptionAt("$boo[]", 1, 6); in testErrorHandling()
131 assertEvalExceptionAt("$boo[blaa]", 1, 6); in testErrorHandling()
132 assertEvalExceptionAt("#set($foo[1] = 3)", 1, 10); in testErrorHandling()
133 assertEvalExceptionAt("$a[500]", 1, 3); in testErrorHandling()
DBaseTestCase.java274 protected Exception assertEvalExceptionAt(String evil, String template, in assertEvalExceptionAt() method in BaseTestCase
293 protected Exception assertEvalExceptionAt(String evil, int line, int col) in assertEvalExceptionAt() method in BaseTestCase
295 return assertEvalExceptionAt(evil, "", line, col); in assertEvalExceptionAt()
/external/apache-velocity-engine/velocity-engine-core/src/test/java/org/apache/velocity/test/issues/
DVelocity644TestCase.java49 assertEvalExceptionAt("#nullMethod()", "testCase644.vm", 9, 8); in test629()
51 assertEvalExceptionAt("#arrayError()", "testCase644.vm", 4, 8); in test629()
53 assertEvalExceptionAt("#badRef()", "testCase644.vm", 13, 3); in test629()
55 assertEvalExceptionAt("#forloop()", "testCase644.vm", 18, 18); in test629()
DVelocity629TestCase.java43 assertEvalExceptionAt(template, 4, 7); in test629()
48 assertEvalExceptionAt(template, 3, 9); in test629()
53 assertEvalExceptionAt(template, 3, 50); in test629()
DVelocity667TestCase.java36 assertEvalExceptionAt("#macro", 1, 7); in test667()
37 assertEvalExceptionAt("#macro #macro", 1, 7); in test667()
DVelocity627TestCase.java47 assertEvalExceptionAt("##\n##\n#foreach($i in \"junk\")blaa#end", 3, 16); in test627()