| org.apache.velocity.test.BaseTestCase org.apache.velocity.test.ExceptionTestCase
ExceptionTestCase | public class ExceptionTestCase extends BaseTestCase implements TemplateTestBase(Code) | | Test case for miscellaneous Exception related issues.
author: Will Glass-Husain version: $Id: ExceptionTestCase.java 463298 2006-10-12 16:10:32Z henning $ |
ExceptionTestCase | public ExceptionTestCase(String name)(Code) | | Default constructor.
|
suite | public static Test suite()(Code) | | |
testDirectiveException | public void testDirectiveException() throws Exception(Code) | | |
testIncludeEventHandlerException | public void testIncludeEventHandlerException() throws Exception(Code) | | |
testMethodExceptionEventHandlerException | public void testMethodExceptionEventHandlerException() throws Exception(Code) | | Note - this is the one case where RuntimeExceptions *are not* passed through
verbatim.
throws: Exception - |
testNullSetEventHandlerException | public void testNullSetEventHandlerException() throws Exception(Code) | | |
testReferenceInsertionEventHandlerException | public void testReferenceInsertionEventHandlerException() throws Exception(Code) | | |
testResourceLoaderException | public void testResourceLoaderException() throws Exception(Code) | | |
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)
|
|
|