|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object junit.framework.Assert junit.framework.TestCase com.mockrunner.base.BaseTestCase com.mockrunner.base.WebTestCase com.mockrunner.base.HTMLOutputTestCase com.mockrunner.tag.TagTestCaseAdapter
public abstract class TagTestCaseAdapter
Delegator for TagTestModule
. You can
subclass this adapter or use TagTestModule
directly (so your test case can use another base class).
This adapter extends BaseTestCase
.
It can be used if you want to use several modules in conjunction.
This class is generated from the TagTestModule
and should not be edited directly.
Constructor Summary | |
---|---|
TagTestCaseAdapter()
|
|
TagTestCaseAdapter(java.lang.String name)
|
Method Summary | |
---|---|
protected void |
clearOutput()
Delegates to TagTestModule.clearOutput() |
protected NestedTag |
createNestedTag(java.lang.Class tagClass)
Delegates to TagTestModule.createNestedTag(Class) |
protected NestedTag |
createNestedTag(java.lang.Class tagClass,
java.util.Map attributes)
Delegates to TagTestModule.createNestedTag(Class, Map) |
protected javax.servlet.jsp.tagext.TagSupport |
createTag(java.lang.Class tagClass)
Delegates to TagTestModule.createTag(Class) |
protected javax.servlet.jsp.tagext.TagSupport |
createTag(java.lang.Class tagClass,
java.util.Map attributes)
Delegates to TagTestModule.createTag(Class, Map) |
protected javax.servlet.jsp.tagext.JspTag |
createWrappedTag(java.lang.Class tagClass)
Delegates to TagTestModule.createWrappedTag(Class) |
protected javax.servlet.jsp.tagext.JspTag |
createWrappedTag(java.lang.Class tagClass,
java.util.Map attributes)
Delegates to TagTestModule.createWrappedTag(Class, Map) |
protected int |
doAfterBody()
Delegates to TagTestModule.doAfterBody() |
protected int |
doEndTag()
Delegates to TagTestModule.doEndTag() |
protected void |
doInitBody()
Delegates to TagTestModule.doInitBody() |
protected int |
doStartTag()
Delegates to TagTestModule.doStartTag() |
protected void |
doTag()
Delegates to TagTestModule.doTag() |
protected HTMLOutputModule |
getHTMLOutputModule()
Returns the TagTestModule as
HTMLOutputModule . |
protected MockPageContext |
getMockPageContext()
Delegates to TagTestModule.getMockPageContext() |
protected NestedTag |
getNestedTag()
Delegates to TagTestModule.getNestedTag() |
protected javax.servlet.jsp.tagext.TagSupport |
getTag()
Delegates to TagTestModule.getTag() |
protected TagTestModule |
getTagTestModule()
Gets the TagTestModule . |
protected javax.servlet.jsp.tagext.JspTag |
getWrappedTag()
Delegates to TagTestModule.getWrappedTag() |
protected void |
populateAttributes()
Delegates to TagTestModule.populateAttributes() |
protected int |
processTagLifecycle()
Delegates to TagTestModule.processTagLifecycle() |
protected void |
release()
Delegates to TagTestModule.release() |
protected void |
setBody(java.lang.String body)
Delegates to TagTestModule.setBody(String) |
protected void |
setDoRelease(boolean doRelease)
Delegates to TagTestModule.setDoRelease(boolean) |
protected void |
setDoReleaseRecursive(boolean doRelease)
Delegates to TagTestModule.setDoReleaseRecursive(boolean) |
protected NestedTag |
setTag(javax.servlet.jsp.tagext.JspTag tag)
Delegates to TagTestModule.setTag(JspTag) |
protected NestedTag |
setTag(javax.servlet.jsp.tagext.JspTag tag,
java.util.Map attributes)
Delegates to TagTestModule.setTag(JspTag, Map) |
protected NestedTag |
setTag(javax.servlet.jsp.tagext.TagSupport tag)
Delegates to TagTestModule.setTag(TagSupport) |
protected NestedTag |
setTag(javax.servlet.jsp.tagext.TagSupport tag,
java.util.Map attributes)
Delegates to TagTestModule.setTag(TagSupport, Map) |
protected void |
setTagTestModule(TagTestModule tagTestModule)
Sets the TagTestModule . |
protected void |
setUp()
Creates the TagTestModule . |
protected void |
tearDown()
|
Methods inherited from class com.mockrunner.base.HTMLOutputTestCase |
---|
getOutput, getOutputAsBufferedReader, getOutputAsJDOMDocument, getOutputAsW3CDocument, getOutputAsWellformedXML, getWebTestModule, setCaseSensitive, verifyOutput, verifyOutputContains, verifyOutputRegularExpression |
Methods inherited from class com.mockrunner.base.WebTestCase |
---|
addRequestParameter, addRequestParameter, addRequestParameter, getRequestAttribute, getRequestParameter, getSessionAttribute, setRequestAttribute, setSessionAttribute |
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString |
Methods inherited from class junit.framework.Assert |
---|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TagTestCaseAdapter()
public TagTestCaseAdapter(java.lang.String name)
Method Detail |
---|
protected void tearDown() throws java.lang.Exception
tearDown
in class BaseTestCase
java.lang.Exception
protected void setUp() throws java.lang.Exception
TagTestModule
. If you
overwrite this method, you must call super.setUp()
.
setUp
in class junit.framework.TestCase
java.lang.Exception
protected HTMLOutputModule getHTMLOutputModule()
TagTestModule
as
HTMLOutputModule
.
getHTMLOutputModule
in class HTMLOutputTestCase
HTMLOutputModule
protected TagTestModule getTagTestModule()
TagTestModule
.
TagTestModule
protected void setTagTestModule(TagTestModule tagTestModule)
TagTestModule
.
tagTestModule
- the TagTestModule
protected MockPageContext getMockPageContext()
TagTestModule.getMockPageContext()
protected void clearOutput()
TagTestModule.clearOutput()
protected NestedTag createNestedTag(java.lang.Class tagClass, java.util.Map attributes)
TagTestModule.createNestedTag(Class, Map)
protected NestedTag createNestedTag(java.lang.Class tagClass)
TagTestModule.createNestedTag(Class)
protected javax.servlet.jsp.tagext.JspTag createWrappedTag(java.lang.Class tagClass)
TagTestModule.createWrappedTag(Class)
protected javax.servlet.jsp.tagext.JspTag createWrappedTag(java.lang.Class tagClass, java.util.Map attributes)
TagTestModule.createWrappedTag(Class, Map)
protected javax.servlet.jsp.tagext.JspTag getWrappedTag()
TagTestModule.getWrappedTag()
protected NestedTag setTag(javax.servlet.jsp.tagext.JspTag tag)
TagTestModule.setTag(JspTag)
protected NestedTag setTag(javax.servlet.jsp.tagext.JspTag tag, java.util.Map attributes)
TagTestModule.setTag(JspTag, Map)
protected NestedTag setTag(javax.servlet.jsp.tagext.TagSupport tag, java.util.Map attributes)
TagTestModule.setTag(TagSupport, Map)
protected NestedTag setTag(javax.servlet.jsp.tagext.TagSupport tag)
TagTestModule.setTag(TagSupport)
protected void setDoRelease(boolean doRelease)
TagTestModule.setDoRelease(boolean)
protected void setDoReleaseRecursive(boolean doRelease)
TagTestModule.setDoReleaseRecursive(boolean)
protected void populateAttributes()
TagTestModule.populateAttributes()
protected void setBody(java.lang.String body)
TagTestModule.setBody(String)
protected NestedTag getNestedTag()
TagTestModule.getNestedTag()
protected void doTag()
TagTestModule.doTag()
protected int doStartTag()
TagTestModule.doStartTag()
protected int doEndTag()
TagTestModule.doEndTag()
protected void doInitBody()
TagTestModule.doInitBody()
protected int doAfterBody()
TagTestModule.doAfterBody()
protected int processTagLifecycle()
TagTestModule.processTagLifecycle()
protected void release()
TagTestModule.release()
protected javax.servlet.jsp.tagext.TagSupport createTag(java.lang.Class tagClass)
TagTestModule.createTag(Class)
protected javax.servlet.jsp.tagext.TagSupport createTag(java.lang.Class tagClass, java.util.Map attributes)
TagTestModule.createTag(Class, Map)
protected javax.servlet.jsp.tagext.TagSupport getTag()
TagTestModule.getTag()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |