| org.apache.velocity.test.BaseTestCase org.apache.velocity.test.ParseExceptionTestCase
ParseExceptionTestCase | public class ParseExceptionTestCase extends BaseTestCase (Code) | | Test parser exception is generated with appropriate info.
author: Will Glass-Husain version: $Id: ParseExceptionTestCase.java 471372 2006-11-05 06:02:20Z wglass $ |
ParseExceptionTestCase | public ParseExceptionTestCase(String name)(Code) | | Default constructor.
Parameters: name - name of test |
suite | public static Test suite()(Code) | | |
testParseExceptionFromEval | public void testParseExceptionFromEval() throws Exception(Code) | | Tests that parseException has useful info when thrown in VelocityEngine.evaluate()
throws: Exception - |
testParseExceptionFromMacroDef | public void testParseExceptionFromMacroDef() throws Exception(Code) | | Tests that parseException has useful info when thrown in VelocityEngine.evaluate()
and the problem comes from a macro definition
throws: Exception - |
testParseExceptionFromMacroInvoke | public void testParseExceptionFromMacroInvoke() throws Exception(Code) | | Tests that parseException has useful info when thrown in VelocityEngine.evaluate()
and the problem comes from a macro invocation
throws: Exception - |
testParseExceptionFromTemplate | public void testParseExceptionFromTemplate() throws Exception(Code) | | Tests that parseException has useful info when called by template.marge()
throws: Exception - |
testParseExceptionMacroInvalidArgumentCount | public void testParseExceptionMacroInvalidArgumentCount() throws Exception(Code) | | Tests that parseException has useful info with macro calls with
invalid number of arguments
throws: Exception - |
testParseExceptionMacroInvalidArgumentCountNoException | public void testParseExceptionMacroInvalidArgumentCountNoException() throws Exception(Code) | | Tests that parseException has useful info with macro calls with
invalid number of arguments
throws: Exception - |
Methods inherited from org.apache.velocity.test.BaseTestCase | protected static void assureResultsDirectoryExists(String resultsDirectory)(Code)(Java Doc) protected static String getFileName(String dir, String base, String ext)(Code)(Java Doc) protected static String getFileName(String dir, String base, String ext, boolean mustExist)(Code)(Java Doc) final protected static String getTestCaseName(String s)(Code)(Java Doc) protected boolean isMatch(String resultsDir, String compareDir, String baseFileName, String resultExt, String compareExt) throws Exception(Code)(Java Doc) protected boolean isMatch(String result, String compareDir, String baseFileName, String compareExt) throws Exception(Code)(Java Doc) protected String normalizeNewlines(String source)(Code)(Java Doc)
|
|
|