public abstract class TestAction extends Object
| Constructor and Description |
|---|
TestAction() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
assertParameterMap(Map<String,String[]> expectedMap,
Map<String,String[]> map)
Check that the two parameter maps are equals.
|
protected void |
assertParameterMap(Map<String,String[]> expectedMap,
javax.portlet.PortletRequest request)
Check that the parameter map contains the value expected.
|
protected Map<String,String> |
createCookieMap(javax.portlet.PortletRequest request)
Build a cookie map from the request.
|
protected org.gatein.common.logging.Logger |
getLogger() |
protected final org.gatein.common.logging.Logger getLogger()
protected final void assertParameterMap(Map<String,String[]> expectedMap, javax.portlet.PortletRequest request) throws AssertionError
PortletRequest API provides:
PortletRequest.getParameter(String)PortletRequest.getParameterValues(String)PortletRequest.getParameterNames()PortletRequest.getParameterMap()expectedMap - the expected maprequest - the actual portlet requestAssertionError - if the provided request does not match the expected map stateprotected final void assertParameterMap(Map<String,String[]> expectedMap, Map<String,String[]> map) throws AssertionError
expectedMap - the expected mapmap - the actual mapAssertionError - if the provided map is not equals to the expected mapCopyright © 2003-2017 GateIn. All Rights Reserved.