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, runBareServercountTestCases, createResult, getName, run, run, runTest, setName, setUp, tearDown, toStringassertEquals, 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, failSameclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitrunBareServerpublic 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()
AbstractCactusTestCasecreateProtocolHandler in class ServletTestCaseServletTestCase.createProtocolHandler()Copyright © 2000-2004 Apache Software Foundation. All Rights Reserved.