| org.apache.velocity.test.BaseTestCase org.apache.velocity.test.SecureIntrospectionTestCase
SecureIntrospectionTestCase | public class SecureIntrospectionTestCase extends BaseTestCase (Code) | | Checks that the secure introspector is working properly.
author: wglass@forio.com version: $Id: SecureIntrospectionTestCase.java 509906 2007-02-21 06:11:05Z wglass $ |
SecureIntrospectionTestCase | public SecureIntrospectionTestCase(String name)(Code) | | Default constructor.
Parameters: name - |
aTestMethod | public int aTestMethod()(Code) | | |
suite | public static Test suite()(Code) | | |
testBadMethodCalls | public void testBadMethodCalls() throws Exception(Code) | | Test to see that "dangerous" methods are forbidden
exception: Exception - |
testGoodMethodCalls | public void testGoodMethodCalls() throws Exception(Code) | | Test to see that "dangerous" methods are forbidden
exception: 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)
|
|
|