|
||||||||||
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.BasicWebTestCase
public abstract class BasicWebTestCase
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 |
---|
public BasicWebTestCase()
public BasicWebTestCase(java.lang.String arg0)
Method Detail |
---|
protected abstract WebTestModule getWebTestModule()
protected void addRequestParameter(java.lang.String key)
WebTestModule.addRequestParameter(String)
protected void addRequestParameter(java.lang.String key, java.lang.String value)
WebTestModule.addRequestParameter(String, String)
protected void addRequestParameter(java.lang.String key, java.lang.String[] values)
WebTestModule.addRequestParameter(String, String[])
protected java.lang.String getRequestParameter(java.lang.String key)
WebTestModule.getRequestParameter(String)
protected java.lang.Object getRequestAttribute(java.lang.String key)
WebTestModule.getRequestAttribute(String)
protected void setRequestAttribute(java.lang.String key, java.lang.Object value)
WebTestModule.setRequestAttribute(String, Object)
protected java.lang.Object getSessionAttribute(java.lang.String key)
WebTestModule.setRequestAttribute(String, Object)
protected void setSessionAttribute(java.lang.String key, java.lang.Object value)
WebTestModule.setSessionAttribute(String, Object)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |