|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.apache.commons.chain.impl.ContextBaseTestCase
org.apache.commons.chain.web.portlet.PortletWebContextTestCase
public class PortletWebContextTestCase
Extension of ContextBaseTestCase to validate the
extra functionality of this implementation.
| Field Summary | |
|---|---|
protected javax.portlet.PortletContext |
pcontext
|
protected javax.portlet.PortletRequest |
request
|
protected javax.portlet.PortletResponse |
response
|
protected javax.portlet.PortletSession |
session
|
| Fields inherited from class org.apache.commons.chain.impl.ContextBaseTestCase |
|---|
context |
| Constructor Summary | |
|---|---|
PortletWebContextTestCase(String name)
Construct a new instance of this test case. |
|
| Method Summary | |
|---|---|
protected void |
checkEntrySet(Map map,
boolean modifiable)
|
protected void |
checkMapSize(Map map,
int size)
|
protected Context |
createContext()
|
void |
setUp()
Set up instance variables required by this test case. |
static junit.framework.Test |
suite()
Return the tests included in this test suite. |
void |
tearDown()
Tear down instance variables required by this test case. |
void |
testApplicationScope()
|
void |
testCookies()
|
void |
testEquals()
|
void |
testHeader()
|
void |
testHeaderValues()
|
void |
testInitParam()
|
void |
testParam()
|
void |
testParamValues()
|
void |
testPristine()
|
void |
testRelease()
|
void |
testRequestScope()
|
void |
testSessionScope()
|
void |
testSessionScopeWithoutSession()
|
| Methods inherited from class org.apache.commons.chain.impl.ContextBaseTestCase |
|---|
checkAttributeCount, expectedAttributeCount, testAttributes, testContains, testKeySet, testPutAll, testSeriaization |
| 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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected javax.portlet.PortletContext pcontext
protected javax.portlet.PortletRequest request
protected javax.portlet.PortletResponse response
protected javax.portlet.PortletSession session
| Constructor Detail |
|---|
public PortletWebContextTestCase(String name)
name - Name of the test case| Method Detail |
|---|
public void setUp()
setUp in class ContextBaseTestCasepublic static junit.framework.Test suite()
public void tearDown()
tearDown in class ContextBaseTestCasepublic void testApplicationScope()
public void testEquals()
testEquals in class ContextBaseTestCasepublic void testHeader()
public void testHeaderValues()
public void testInitParam()
public void testParam()
public void testParamValues()
public void testCookies()
public void testPristine()
testPristine in class ContextBaseTestCasepublic void testRelease()
public void testRequestScope()
public void testSessionScope()
public void testSessionScopeWithoutSession()
protected void checkMapSize(Map map,
int size)
protected void checkEntrySet(Map map,
boolean modifiable)
protected Context createContext()
createContext in class ContextBaseTestCase
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||