|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object junit.framework.Assert junit.framework.TestCase org.apache.velocity.test.MethodInvocationExceptionTest
public class MethodInvocationExceptionTest
Tests if we can hand Velocity an arbitrary class for logging.
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()
|
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, run, run, runBare, setName, setUp, tearDown, toString |
Methods inherited from class junit.framework.Assert |
---|
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MethodInvocationExceptionTest()
Method Detail |
---|
public static junit.framework.Test suite()
public void runTest()
runTest
in class junit.framework.TestCase
public void doException() throws Exception
Exception
public void getFoo() throws Exception
Exception
public void setFoo(String foo) throws Exception
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |