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

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()

Constructor Details

MethodInvocationExceptionTest

public MethodInvocationExceptionTest()
Default constructor.

Method Details

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.