public class ServletTestCaller extends AbstractWebTestCaller
TestCase class on the server
side, set up the implicit objects and call the test method.TEST_RESULTS, webImplicitObjects| Constructor and Description |
|---|
ServletTestCaller(ServletImplicitObjects theObjects) |
| Modifier and Type | Method and Description |
|---|---|
protected java.io.Writer |
getResponseWriter() |
protected void |
setTestCaseFields(junit.framework.TestCase theTestInstance)
Sets the implicit object in the test case class
|
doCreateSession, doGetResults, doGetVersion, doRunTest, doTest, getTestClassClass, getTestClassInstance, getTestClassName, getTestMethodName, getWrappedTestClassName, isAutoSessionpublic ServletTestCaller(ServletImplicitObjects theObjects)
theObjects - the implicit objects coming from the redirectorprotected void setTestCaseFields(junit.framework.TestCase theTestInstance)
throws java.lang.Exception
AbstractWebTestCallersetTestCaseFields in class AbstractWebTestCallertheTestInstance - the instance of the test case class on which the
class variable (implicit objects) should be setjava.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 AbstractWebTestCallerWriter 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()Copyright © 2000-2004 Apache Software Foundation. All Rights Reserved.