org.apache.velocity.test
Class MethodInvocationExceptionTest
TestCase
org.apache.velocity.test.MethodInvocationExceptionTest
public class MethodInvocationExceptionTest
extends TestCase
Tests if we can hand Velocity an arbitrary class for logging.
Version:
- Geir Magnusson Jr.
void | doException()
|
void | getFoo()
|
void | runTest() - Runs the test :
uses the Velocity class to eval a string
which accesses a method that throws an
exception.
|
void | setFoo(String foo)
|
static junit.framework.Test | suite()
|
MethodInvocationExceptionTest
public MethodInvocationExceptionTest()
Default constructor.
doException
public void doException()
throws Exception
getFoo
public void getFoo()
throws Exception
runTest
public void runTest()
Runs the test :
uses the Velocity class to eval a string
which accesses a method that throws an
exception.
setFoo
public void setFoo(String foo)
throws Exception
suite
public static junit.framework.Test suite()
Copyright B) 2002 Apache Software Foundation. All Rights Reserved.