public class JspTestCase extends ServletTestCase
Modifier and Type | Field and Description |
---|---|
javax.servlet.jsp.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. |
config, request, response, session
Constructor and Description |
---|
JspTestCase() |
JspTestCase(java.lang.String theName) |
JspTestCase(java.lang.String theName,
junit.framework.Test theTest) |
Modifier and Type | Method and Description |
---|---|
protected ProtocolHandler |
createProtocolHandler()
Create a protocol handler instance that will be used to connect to the
server side.
|
runBare, runBareServer
countTestCases, createResult, getName, run, run, runTest, setName, setUp, tearDown, toString
assertEquals, assertEquals, 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, failNotEquals, failNotSame, failSame
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
runBareServer
public PageContextWrapper pageContext
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 javax.servlet.jsp.JspWriter out
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.public JspTestCase()
ServletTestCase.ServletTestCase()
public JspTestCase(java.lang.String theName)
public JspTestCase(java.lang.String theName, junit.framework.Test theTest)
protected ProtocolHandler createProtocolHandler()
AbstractCactusTestCase
createProtocolHandler
in class ServletTestCase
ServletTestCase.createProtocolHandler()
Copyright © 2000-2004 Apache Software Foundation. All Rights Reserved.