org.apache.velocity.test
Class MethodInvocationExceptionTest
java.lang.Object
|
+--TestCase
|
+--org.apache.velocity.test.MethodInvocationExceptionTest
- public class MethodInvocationExceptionTest
- extends TestCase
Tests if we can hand Velocity an arbitrary class for logging.
- Version:
- $Id: MethodInvocationExceptionTest.java,v 1.6 2001/08/07 22:20:28 geirm Exp $
- Author:
- Geir Magnusson Jr.
- See Also:
- Serialized Form
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(java.lang.String foo)
|
static junit.framework.Test |
suite()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MethodInvocationExceptionTest
public MethodInvocationExceptionTest()
- Default constructor.
suite
public static junit.framework.Test suite()
runTest
public void runTest()
- Runs the test :
uses the Velocity class to eval a string
which accesses a method that throws an
exception.
doException
public void doException()
throws java.lang.Exception
java.lang.Exception
getFoo
public void getFoo()
throws java.lang.Exception
java.lang.Exception
setFoo
public void setFoo(java.lang.String foo)
throws java.lang.Exception
java.lang.Exception
Copyright © 2001 Apache Software Foundation. All Rights Reserved.