|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.cactus.server.AbstractWebTestCaller org.apache.cactus.server.ServletTestCaller
Responsible for instanciating the TestCase
class on the server
side, set up the implicit objects and call the test method.
Field Summary |
Fields inherited from class org.apache.cactus.server.AbstractWebTestCaller |
TEST_RESULTS, webImplicitObjects |
Constructor Summary | |
ServletTestCaller(ServletImplicitObjects theObjects)
|
Method Summary | |
protected java.io.Writer |
getResponseWriter()
|
protected void |
setTestCaseFields(junit.framework.TestCase theTestInstance)
Sets the implicit object in the test case class |
Methods inherited from class org.apache.cactus.server.AbstractWebTestCaller |
doCreateSession, doGetResults, doGetVersion, doRunTest, doTest, getTestClassClass, getTestClassInstance, getTestClassName, getTestMethodName, getWrappedTestClassName, isAutoSession |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ServletTestCaller(ServletImplicitObjects theObjects)
theObjects
- the implicit objects coming from the redirectorMethod Detail |
protected void setTestCaseFields(junit.framework.TestCase theTestInstance) throws java.lang.Exception
AbstractWebTestCaller
setTestCaseFields
in class AbstractWebTestCaller
theTestInstance
- the instance of the test case class on which the
class variable (implicit objects) should be set
java.lang.Exception
- if an errors occurs when setting the implicit
objectsAbstractWebTestCaller.setTestCaseFields(TestCase)
protected java.io.Writer getResponseWriter() throws java.io.IOException
getResponseWriter
in class AbstractWebTestCaller
Writer
object that will be used to return the
test result to the client side.
java.io.IOException
- if an error occurs when retrieving the writerAbstractWebTestCaller.getResponseWriter()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |