com.mockrunner.base
Class BasicWebTestCase

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by com.mockrunner.base.BasicWebTestCase
All Implemented Interfaces:
junit.framework.Test
Direct Known Subclasses:
BasicHTMLOutputTestCase

public abstract class BasicWebTestCase
extends junit.framework.TestCase

Delegator for WebTestModule. The corresponding adapters extend this class. This class is used for the basic adapter versions.


Constructor Summary
BasicWebTestCase()
           
BasicWebTestCase(java.lang.String arg0)
           
 
Method Summary
protected  void addRequestParameter(java.lang.String key)
          Delegates to WebTestModule.addRequestParameter(String)
protected  void addRequestParameter(java.lang.String key, java.lang.String value)
          Delegates to WebTestModule.addRequestParameter(String, String)
protected  void addRequestParameter(java.lang.String key, java.lang.String[] values)
          Delegates to WebTestModule.addRequestParameter(String, String[])
protected  java.lang.Object getRequestAttribute(java.lang.String key)
          Delegates to WebTestModule.getRequestAttribute(String)
protected  java.lang.String getRequestParameter(java.lang.String key)
          Delegates to WebTestModule.getRequestParameter(String)
protected  java.lang.Object getSessionAttribute(java.lang.String key)
          Delegates to WebTestModule.setRequestAttribute(String, Object)
protected abstract  WebTestModule getWebTestModule()
          Implemented by concrete subclasses.
protected  void setRequestAttribute(java.lang.String key, java.lang.Object value)
          Delegates to WebTestModule.setRequestAttribute(String, Object)
protected  void setSessionAttribute(java.lang.String key, java.lang.Object value)
          Delegates to WebTestModule.setSessionAttribute(String, Object)
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, 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

BasicWebTestCase

public BasicWebTestCase()

BasicWebTestCase

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

getWebTestModule

protected abstract WebTestModule getWebTestModule()
Implemented by concrete subclasses.


addRequestParameter

protected void addRequestParameter(java.lang.String key)
Delegates to WebTestModule.addRequestParameter(String)


addRequestParameter

protected void addRequestParameter(java.lang.String key,
                                   java.lang.String value)
Delegates to WebTestModule.addRequestParameter(String, String)


addRequestParameter

protected void addRequestParameter(java.lang.String key,
                                   java.lang.String[] values)
Delegates to WebTestModule.addRequestParameter(String, String[])


getRequestParameter

protected java.lang.String getRequestParameter(java.lang.String key)
Delegates to WebTestModule.getRequestParameter(String)


getRequestAttribute

protected java.lang.Object getRequestAttribute(java.lang.String key)
Delegates to WebTestModule.getRequestAttribute(String)


setRequestAttribute

protected void setRequestAttribute(java.lang.String key,
                                   java.lang.Object value)
Delegates to WebTestModule.setRequestAttribute(String, Object)


getSessionAttribute

protected java.lang.Object getSessionAttribute(java.lang.String key)
Delegates to WebTestModule.setRequestAttribute(String, Object)


setSessionAttribute

protected void setSessionAttribute(java.lang.String key,
                                   java.lang.Object value)
Delegates to WebTestModule.setSessionAttribute(String, Object)