org.apache.cactus.server
Class JspTestCaller

java.lang.Object
  extended byorg.apache.cactus.server.AbstractWebTestCaller
      extended byorg.apache.cactus.server.ServletTestCaller
          extended byorg.apache.cactus.server.JspTestCaller

public class JspTestCaller
extends ServletTestCaller

Call the test method on the server side after assigning the JSP implicit objects using reflection.

Version:
$Id: JspTestCaller.java,v 1.13 2003/07/12 19:40:14 vmassol Exp $
Author:
Vincent Massol

Field Summary
 
Fields inherited from class org.apache.cactus.server.AbstractWebTestCaller
TEST_RESULTS, webImplicitObjects
 
Constructor Summary
JspTestCaller(JspImplicitObjects 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

JspTestCaller

public JspTestCaller(JspImplicitObjects theObjects)
Parameters:
theObjects - the implicit objects coming from the redirector
Method Detail

setTestCaseFields

protected void setTestCaseFields(junit.framework.TestCase theTestInstance)
                          throws java.lang.Exception
Description copied from class: AbstractWebTestCaller
Sets the implicit object in the test case class

Overrides:
setTestCaseFields in class ServletTestCaller
Throws:
java.lang.Exception
See Also:
AbstractWebTestCaller.setTestCaseFields(TestCase)

getResponseWriter

protected java.io.Writer getResponseWriter()
                                    throws java.io.IOException
Overrides:
getResponseWriter in class ServletTestCaller
Throws:
java.io.IOException
See Also:
AbstractWebTestCaller.getResponseWriter()


Copyright © 2000-2003 Apache Software Foundation. All Rights Reserved.