com.mockrunner.base
Class HTMLOutputTestCase

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by com.mockrunner.base.BaseTestCase
              extended by com.mockrunner.base.WebTestCase
                  extended by com.mockrunner.base.HTMLOutputTestCase
All Implemented Interfaces:
junit.framework.Test
Direct Known Subclasses:
ActionTestCaseAdapter, ServletTestCaseAdapter, TagTestCaseAdapter

public abstract class HTMLOutputTestCase
extends WebTestCase

Delegator for HTMLOutputModule. The corresponding adapters extend this class. This class is used for the standard adapter versions, that extend BaseTestCase.


Constructor Summary
HTMLOutputTestCase()
           
HTMLOutputTestCase(java.lang.String arg0)
           
 
Method Summary
protected abstract  HTMLOutputModule getHTMLOutputModule()
          Implemented by concrete subclasses.
protected  java.lang.String getOutput()
          Delegates to HTMLOutputModule.getOutput()
protected  java.io.BufferedReader getOutputAsBufferedReader()
          Delegates to HTMLOutputModule.getOutputAsBufferedReader()
protected  org.jdom.Document getOutputAsJDOMDocument()
          Delegates to HTMLOutputModule.getOutputAsJDOMDocument()
protected  org.w3c.dom.Document getOutputAsW3CDocument()
          Delegates to HTMLOutputModule.getOutputAsW3CDocument()
protected  java.lang.String getOutputAsWellformedXML()
          Delegates to HTMLOutputModule.getOutputAsWellformedXML()
protected  WebTestModule getWebTestModule()
          Implemented by concrete subclasses.
protected  void setCaseSensitive(boolean caseSensitive)
          Delegates to HTMLOutputModule.setCaseSensitive(boolean)
protected  void verifyOutput(java.lang.String expectedOutput)
          Delegates to HTMLOutputModule.verifyOutput(java.lang.String)
protected  void verifyOutputContains(java.lang.String expectedOutput)
          Delegates to HTMLOutputModule.verifyOutputContains(java.lang.String)
protected  void verifyOutputRegularExpression(java.lang.String expression)
          Delegates to HTMLOutputModule.verifyOutputRegularExpression(java.lang.String)
 
Methods inherited from class com.mockrunner.base.WebTestCase
addRequestParameter, addRequestParameter, addRequestParameter, getRequestAttribute, getRequestParameter, getSessionAttribute, setRequestAttribute, setSessionAttribute
 
Methods inherited from class com.mockrunner.base.BaseTestCase
createActionMockObjectFactory, createActionMockObjectFactory, createActionMockObjectFactory, createActionTestModule, createActionTestModule, createConnectorMockObjectFactory, createConnectorTestModule, createConnectorTestModule, createEJBMockObjectFactory, createEJBTestModule, createEJBTestModule, createJDBCMockObjectFactory, createJDBCTestModule, createJDBCTestModule, createJMSMockObjectFactory, createJMSTestModule, createJMSTestModule, createServletTestModule, createServletTestModule, createTagTestModule, createTagTestModule, createWebMockObjectFactory, createWebMockObjectFactory, createWebMockObjectFactory, getActionMockObjectFactory, getConnectorMockObjectFactory, getEJBMockObjectFactory, getJDBCMockObjectFactory, getJMSMockObjectFactory, getWebMockObjectFactory, setActionMockObjectFactory, setConnectorMockObjectFactory, setEJBMockObjectFactory, setJDBCMockObjectFactory, setJMSMockObjectFactory, setWebMockObjectFactory, tearDown
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, 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

HTMLOutputTestCase

public HTMLOutputTestCase()

HTMLOutputTestCase

public HTMLOutputTestCase(java.lang.String arg0)
Method Detail

getWebTestModule

protected WebTestModule getWebTestModule()
Description copied from class: WebTestCase
Implemented by concrete subclasses.

Specified by:
getWebTestModule in class WebTestCase

getHTMLOutputModule

protected abstract HTMLOutputModule getHTMLOutputModule()
Implemented by concrete subclasses.


getOutput

protected java.lang.String getOutput()
Delegates to HTMLOutputModule.getOutput()


getOutputAsBufferedReader

protected java.io.BufferedReader getOutputAsBufferedReader()
Delegates to HTMLOutputModule.getOutputAsBufferedReader()


getOutputAsW3CDocument

protected org.w3c.dom.Document getOutputAsW3CDocument()
Delegates to HTMLOutputModule.getOutputAsW3CDocument()


getOutputAsJDOMDocument

protected org.jdom.Document getOutputAsJDOMDocument()
Delegates to HTMLOutputModule.getOutputAsJDOMDocument()


getOutputAsWellformedXML

protected java.lang.String getOutputAsWellformedXML()
Delegates to HTMLOutputModule.getOutputAsWellformedXML()


setCaseSensitive

protected void setCaseSensitive(boolean caseSensitive)
Delegates to HTMLOutputModule.setCaseSensitive(boolean)


verifyOutput

protected void verifyOutput(java.lang.String expectedOutput)
Delegates to HTMLOutputModule.verifyOutput(java.lang.String)


verifyOutputContains

protected void verifyOutputContains(java.lang.String expectedOutput)
Delegates to HTMLOutputModule.verifyOutputContains(java.lang.String)


verifyOutputRegularExpression

protected void verifyOutputRegularExpression(java.lang.String expression)
Delegates to HTMLOutputModule.verifyOutputRegularExpression(java.lang.String)