org.apache.velocity.test

Class MethodInvocationExceptionTest

public class MethodInvocationExceptionTest extends TestCase

Tests if we can hand Velocity an arbitrary class for logging.

Version: $Id: MethodInvocationExceptionTest.java,v 1.6.10.1 2004/03/03 23:23:04 geirm Exp $

Author: Geir Magnusson Jr.

Constructor Summary
MethodInvocationExceptionTest()
Default constructor.
Method Summary
voiddoException()
voidgetFoo()
voidrunTest()
Runs the test : uses the Velocity class to eval a string which accesses a method that throws an exception.
voidsetFoo(String foo)
static Testsuite()

Constructor Detail

MethodInvocationExceptionTest

public MethodInvocationExceptionTest()
Default constructor.

Method Detail

doException

public void doException()

getFoo

public void getFoo()

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)

suite

public static Test suite()
Copyright B) 2002 Apache Software Foundation. All Rights Reserved.