|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
org.apache.cactus.internal.server.ServerTestCaseCaller
public class ServerTestCaseCaller
Provide the ability to execute Cactus test case classes on the server side.
It mimics the JUnit behavior by calling setUp()
,
testXXX()
and tearDown()
methods on the server
side.
Constructor Summary | |
---|---|
ServerTestCaseCaller(junit.framework.Test theDelegatedTest,
junit.framework.Test theWrappedTest)
|
Method Summary | |
---|---|
junit.framework.Test |
getDelegatedTest()
|
junit.framework.Test |
getWrappedTest()
|
void |
runBareInit()
Perform server side initializations before each test, such as initializating the logger. |
void |
setDelegatedTest(junit.framework.Test theDelegatedTest)
|
void |
setWrappedTest(junit.framework.Test theWrappedTest)
|
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, failNotEquals, failNotSame, failSame |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ServerTestCaseCaller(junit.framework.Test theDelegatedTest, junit.framework.Test theWrappedTest)
theDelegatedTest
- the test we are delegating fortheWrappedTest
- the test being wrapped by this delegate (or null
if none)Method Detail |
---|
public void setWrappedTest(junit.framework.Test theWrappedTest)
theWrappedTest
- the pure JUnit test that we need to wrappublic junit.framework.Test getWrappedTest()
public void setDelegatedTest(junit.framework.Test theDelegatedTest)
theDelegatedTest
- the test we are delegating forpublic junit.framework.Test getDelegatedTest()
public void runBareInit()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |