Home » cactus-1.8.1-src » org.apache » cactus » [javadoc | source]
org.apache.cactus
public class: JspTestCase [javadoc | source]
java.lang.Object
   junit.framework.TestCase
      org.apache.cactus.internal.AbstractCactusTestCase
         org.apache.cactus.ServletTestCase
            org.apache.cactus.JspTestCase

All Implemented Interfaces:
    CactusTestCase

Direct Known Subclasses:
    TestJspTagLifecycle, TestJspOut, TestJspPageContext, TestSampleTag, NoNameJspTestCase, TestSampleBodyTag

Test classes that need access to valid JSP implicit objects (such as the page context, the output jsp writer, the HTTP request, ...) must subclass this class.
Field Summary
public  AbstractPageContextWrapper pageContext    Valid PageContext object that you can access from the testXXX(), setUp and tearDown() methods. If you try to access it from either the beginXXX() or endXXX() methods it will have the null value. 
public  JspWriter out    Valid JspWriter object that you can access from the testXXX(), setUp and tearDown() methods. If you try to access it from either the beginXXX() or endXXX() methods it will have the null value. 
Fields inherited from org.apache.cactus.ServletTestCase:
request,  response,  session,  config
Constructor:
 public JspTestCase() 
 public JspTestCase(String theName) 
    Parameters:
    theName - of the JspTestCase
    Also see:
    ServletTestCase#ServletTestCase(String)
 public JspTestCase(String theName,
    Test theTest) 
    Parameters:
    theName - of the JspTestCase
    theTest - of the JspTestCase
    Also see:
    ServletTestCase#ServletTestCase(String, Test)
Method from org.apache.cactus.JspTestCase Summary:
createProtocolHandler
Methods from org.apache.cactus.ServletTestCase:
createProtocolHandler
Methods from org.apache.cactus.internal.AbstractCactusTestCase:
createProtocolHandler,   runBare,   runBareServer
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.cactus.JspTestCase Detail:
 protected ProtocolHandler createProtocolHandler()