| org.apache.velocity.test.BaseTestCase org.apache.velocity.test.ResourceCachingTestCase
ResourceCachingTestCase | public class ResourceCachingTestCase extends BaseTestCase (Code) | | Test resource caching related issues.
author: Will Glass-Husain version: $Id: ResourceCachingTestCase.java 463298 2006-10-12 16:10:32Z henning $ |
Method Summary | |
public void | setUp() | public static Test | suite() | public void | testIncludeParseCaching() Tests for fix of bug VELOCITY-98 where a #include followed by #parse
of the same file throws ClassCastException when caching is on. |
ResourceCachingTestCase | public ResourceCachingTestCase(String name)(Code) | | Default constructor.
|
suite | public static Test suite()(Code) | | |
testIncludeParseCaching | public void testIncludeParseCaching() throws Exception(Code) | | Tests for fix of bug VELOCITY-98 where a #include followed by #parse
of the same file throws ClassCastException when caching is on.
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)
|
|
|