| |
|
| org.apache.velocity.test.MethodInvocationExceptionTestCase
MethodInvocationExceptionTestCase | public class MethodInvocationExceptionTestCase extends TestCase (Code) | | Tests if we can hand Velocity an arbitrary class for logging.
author: Geir Magnusson Jr. version: $Id: MethodInvocationExceptionTestCase.java 477002 2006-11-20 01:07:43Z henning $ |
MethodInvocationExceptionTestCase | public MethodInvocationExceptionTestCase(String name)(Code) | | Default constructor.
Parameters: name - |
suite | public static Test suite()(Code) | | |
testCapitalizedGetterMethodInvocationException | public void testCapitalizedGetterMethodInvocationException() throws Exception(Code) | | |
testGetterMethodInvocationException | public void testGetterMethodInvocationException() throws Exception(Code) | | |
testMacroInvocationException | public void testMacroInvocationException() throws Exception(Code) | | test that no exception is thrown when in parameter to macro.
This is the way we expect the system to work, but it would be better
to throw an exception.
throws: Exception - |
testNormalMethodInvocationException | public void testNormalMethodInvocationException() throws Exception(Code) | | Runs the test :
uses the Velocity class to eval a string
which accesses a method that throws an
exception.
throws: Exception - |
testSetterMethodInvocationException | public void testSetterMethodInvocationException() throws Exception(Code) | | |
|
|
|