org.apache.cactus
class JspTestCase

java.lang.Object
  |
  +--junit.framework.Assert
        |
        +--junit.framework.TestCase
              |
              +--org.apache.cactus.AbstractTestCase
                    |
                    +--org.apache.cactus.AbstractWebTestCase
                          |
                          +--org.apache.cactus.ServletTestCase
                                |
                                +--org.apache.cactus.JspTestCase
All Implemented Interfaces:
Test

public class JspTestCase
extends ServletTestCase

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.

Version:
$Id: JspTestCase.java,v 1.1 2002/03/01 00:43:45 vmassol Exp $
Author:
Vincent Massol

Field Summary
 JspWriter out
          Valid JspWriter object that you can access from the testXXX(), setUp and tearDown() methods.
          
 PageContextWrapper pageContext
          Valid PageContext object that you can access from the testXXX(), setUp and tearDown() methods.
          
 
Fields inherited from class org.apache.cactus.ServletTestCase
config, request, response, session
 
Fields inherited from class org.apache.cactus.AbstractTestCase
LOG_CLIENT_CONFIG
 
Constructor Summary
JspTestCase(String theName)
           
 
Methods inherited from class org.apache.cactus.AbstractTestCase
runBare, runBareServerTest
 
Methods inherited from class junit.framework.TestCase
countTestCases, getName, run, run, setName, toString
 
Methods inherited from class junit.framework.Assert
assert, assert, 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
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

out

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.

pageContext

public PageContextWrapper 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.
Constructor Detail

JspTestCase

public JspTestCase(String theName)


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