You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pluto-scm@portals.apache.org by ms...@apache.org on 2014/09/01 15:29:57 UTC
[49/63] [abbrv] Completed rework of the tests derived from the API
documentation. Implemented some of the test cases:
http://git-wip-us.apache.org/repos/asf/portals-pluto/blob/2f638d7a/portlet-tck_3.0/common/src/main/java/javax/portlet/tck/beans/JSR286ApiTestCaseDetails.java
----------------------------------------------------------------------
diff --git a/portlet-tck_3.0/common/src/main/java/javax/portlet/tck/beans/JSR286ApiTestCaseDetails.java b/portlet-tck_3.0/common/src/main/java/javax/portlet/tck/beans/JSR286ApiTestCaseDetails.java
index 290af2d..ca22612 100644
--- a/portlet-tck_3.0/common/src/main/java/javax/portlet/tck/beans/JSR286ApiTestCaseDetails.java
+++ b/portlet-tck_3.0/common/src/main/java/javax/portlet/tck/beans/JSR286ApiTestCaseDetails.java
@@ -99,51 +99,48 @@ public class JSR286ApiTestCaseDetails extends TestCaseDetails {
public final static String V2FILTERTESTS_RESOURCEFILTER_APIRESOURCEFILTER_DOFILTEREXCEPTION1 = "V2FilterTests_ResourceFilter_ApiResourceFilter_doFilterException1";
public final static String V2FILTERTESTS_RESOURCEFILTER_APIRESOURCEFILTER_DOFILTEREXCEPTION2 = "V2FilterTests_ResourceFilter_ApiResourceFilter_doFilterException2";
public final static String V2FILTERTESTS_RESOURCEFILTER_APIRESOURCEFILTER_DOFILTEREXAMINE = "V2FilterTests_ResourceFilter_ApiResourceFilter_doFilterExamine";
- public final static String V2WRAPPERTESTS_ACTIONREQUESTWRAPPER_APIRENDER_GETCHARACTERENCODING = "V2WrapperTests_ActionRequestWrapper_ApiRender_getCharacterEncoding";
- public final static String V2WRAPPERTESTS_ACTIONREQUESTWRAPPER_APIRENDER_GETCONTENTLENGTH = "V2WrapperTests_ActionRequestWrapper_ApiRender_getContentLength";
- public final static String V2WRAPPERTESTS_ACTIONREQUESTWRAPPER_APIRENDER_GETCONTENTTYPE = "V2WrapperTests_ActionRequestWrapper_ApiRender_getContentType";
- public final static String V2WRAPPERTESTS_ACTIONREQUESTWRAPPER_APIRENDER_GETPORTLETINPUTSTREAM = "V2WrapperTests_ActionRequestWrapper_ApiRender_getPortletInputStream";
- public final static String V2WRAPPERTESTS_ACTIONREQUESTWRAPPER_APIRENDER_GETREADER = "V2WrapperTests_ActionRequestWrapper_ApiRender_getReader";
- public final static String V2WRAPPERTESTS_ACTIONREQUESTWRAPPER_APIRENDER_SETCHARACTERENCODING = "V2WrapperTests_ActionRequestWrapper_ApiRender_setCharacterEncoding";
- public final static String V2WRAPPERTESTS_ACTIONREQUESTWRAPPER_APIRENDER_GETREQUEST = "V2WrapperTests_ActionRequestWrapper_ApiRender_getRequest";
- public final static String V2WRAPPERTESTS_ACTIONREQUESTWRAPPER_APIRENDER_SETREQUEST = "V2WrapperTests_ActionRequestWrapper_ApiRender_setRequest";
- public final static String V2WRAPPERTESTS_ACTIONREQUESTWRAPPER_APIRENDER_GETMETHOD = "V2WrapperTests_ActionRequestWrapper_ApiRender_getMethod";
- public final static String V2WRAPPERTESTS_ACTIONRESPONSEWRAPPER_APIRENDER_SENDREDIRECTA = "V2WrapperTests_ActionResponseWrapper_ApiRender_sendRedirectA";
- public final static String V2WRAPPERTESTS_ACTIONRESPONSEWRAPPER_APIRENDER_SENDREDIRECTB = "V2WrapperTests_ActionResponseWrapper_ApiRender_sendRedirectB";
- public final static String V2WRAPPERTESTS_ACTIONRESPONSEWRAPPER_APIRENDER_SETEVENTA = "V2WrapperTests_ActionResponseWrapper_ApiRender_setEventA";
- public final static String V2WRAPPERTESTS_ACTIONRESPONSEWRAPPER_APIRENDER_SETEVENTB = "V2WrapperTests_ActionResponseWrapper_ApiRender_setEventB";
- public final static String V2WRAPPERTESTS_ACTIONRESPONSEWRAPPER_APIRENDER_SETPORTLETMODE = "V2WrapperTests_ActionResponseWrapper_ApiRender_setPortletMode";
- public final static String V2WRAPPERTESTS_ACTIONRESPONSEWRAPPER_APIRENDER_SETRENDERPARAMETERA = "V2WrapperTests_ActionResponseWrapper_ApiRender_setRenderParameterA";
- public final static String V2WRAPPERTESTS_ACTIONRESPONSEWRAPPER_APIRENDER_SETRENDERPARAMETERB = "V2WrapperTests_ActionResponseWrapper_ApiRender_setRenderParameterB";
- public final static String V2WRAPPERTESTS_ACTIONRESPONSEWRAPPER_APIRENDER_SETRENDERPARAMETERS = "V2WrapperTests_ActionResponseWrapper_ApiRender_setRenderParameters";
- public final static String V2WRAPPERTESTS_ACTIONRESPONSEWRAPPER_APIRENDER_SETWINDOWSTATE = "V2WrapperTests_ActionResponseWrapper_ApiRender_setWindowState";
- public final static String V2WRAPPERTESTS_ACTIONRESPONSEWRAPPER_APIRENDER_GETRESPONSE = "V2WrapperTests_ActionResponseWrapper_ApiRender_getResponse";
- public final static String V2WRAPPERTESTS_ACTIONRESPONSEWRAPPER_APIRENDER_SETRESPONSE = "V2WrapperTests_ActionResponseWrapper_ApiRender_setResponse";
- public final static String V2WRAPPERTESTS_ACTIONRESPONSEWRAPPER_APIRENDER_GETPORTLETMODE = "V2WrapperTests_ActionResponseWrapper_ApiRender_getPortletMode";
- public final static String V2WRAPPERTESTS_ACTIONRESPONSEWRAPPER_APIRENDER_GETRENDERPARAMETERMAP1 = "V2WrapperTests_ActionResponseWrapper_ApiRender_getRenderParameterMap1";
- public final static String V2WRAPPERTESTS_ACTIONRESPONSEWRAPPER_APIRENDER_GETRENDERPARAMETERMAP2 = "V2WrapperTests_ActionResponseWrapper_ApiRender_getRenderParameterMap2";
- public final static String V2WRAPPERTESTS_ACTIONRESPONSEWRAPPER_APIRENDER_GETWINDOWSTATE = "V2WrapperTests_ActionResponseWrapper_ApiRender_getWindowState";
- public final static String V2WRAPPERTESTS_ACTIONRESPONSEWRAPPER_APIRENDER_REMOVEPUBLICRENDERPARAMETER = "V2WrapperTests_ActionResponseWrapper_ApiRender_removePublicRenderParameter";
- public final static String V2WRAPPERTESTS_EVENTREQUESTWRAPPER_APIRENDER_GETREQUEST = "V2WrapperTests_EventRequestWrapper_ApiRender_getRequest";
- public final static String V2WRAPPERTESTS_EVENTREQUESTWRAPPER_APIRENDER_SETREQUEST = "V2WrapperTests_EventRequestWrapper_ApiRender_setRequest";
- public final static String V2WRAPPERTESTS_EVENTREQUESTWRAPPER_APIRENDER_GETEVENT1 = "V2WrapperTests_EventRequestWrapper_ApiRender_getEvent1";
- public final static String V2WRAPPERTESTS_EVENTREQUESTWRAPPER_APIRENDER_GETEVENT2 = "V2WrapperTests_EventRequestWrapper_ApiRender_getEvent2";
- public final static String V2WRAPPERTESTS_EVENTREQUESTWRAPPER_APIRENDER_GETMETHOD = "V2WrapperTests_EventRequestWrapper_ApiRender_getMethod";
- public final static String V2WRAPPERTESTS_EVENTRESPONSEWRAPPER_APIRENDER_SETEVENTA = "V2WrapperTests_EventResponseWrapper_ApiRender_setEventA";
- public final static String V2WRAPPERTESTS_EVENTRESPONSEWRAPPER_APIRENDER_SETEVENTB = "V2WrapperTests_EventResponseWrapper_ApiRender_setEventB";
- public final static String V2WRAPPERTESTS_EVENTRESPONSEWRAPPER_APIRENDER_SETPORTLETMODE = "V2WrapperTests_EventResponseWrapper_ApiRender_setPortletMode";
- public final static String V2WRAPPERTESTS_EVENTRESPONSEWRAPPER_APIRENDER_SETRENDERPARAMETERA = "V2WrapperTests_EventResponseWrapper_ApiRender_setRenderParameterA";
- public final static String V2WRAPPERTESTS_EVENTRESPONSEWRAPPER_APIRENDER_SETRENDERPARAMETERB = "V2WrapperTests_EventResponseWrapper_ApiRender_setRenderParameterB";
- public final static String V2WRAPPERTESTS_EVENTRESPONSEWRAPPER_APIRENDER_SETRENDERPARAMETERSA = "V2WrapperTests_EventResponseWrapper_ApiRender_setRenderParametersA";
- public final static String V2WRAPPERTESTS_EVENTRESPONSEWRAPPER_APIRENDER_SETRENDERPARAMETERSB = "V2WrapperTests_EventResponseWrapper_ApiRender_setRenderParametersB";
- public final static String V2WRAPPERTESTS_EVENTRESPONSEWRAPPER_APIRENDER_SETWINDOWSTATE = "V2WrapperTests_EventResponseWrapper_ApiRender_setWindowState";
- public final static String V2WRAPPERTESTS_EVENTRESPONSEWRAPPER_APIRENDER_GETRESPONSE = "V2WrapperTests_EventResponseWrapper_ApiRender_getResponse";
- public final static String V2WRAPPERTESTS_EVENTRESPONSEWRAPPER_APIRENDER_SETRESPONSE = "V2WrapperTests_EventResponseWrapper_ApiRender_setResponse";
- public final static String V2WRAPPERTESTS_EVENTRESPONSEWRAPPER_APIRENDER_GETPORTLETMODE = "V2WrapperTests_EventResponseWrapper_ApiRender_getPortletMode";
- public final static String V2WRAPPERTESTS_EVENTRESPONSEWRAPPER_APIRENDER_GETRENDERPARAMETERMAP1 = "V2WrapperTests_EventResponseWrapper_ApiRender_getRenderParameterMap1";
- public final static String V2WRAPPERTESTS_EVENTRESPONSEWRAPPER_APIRENDER_GETRENDERPARAMETERMAP2 = "V2WrapperTests_EventResponseWrapper_ApiRender_getRenderParameterMap2";
- public final static String V2WRAPPERTESTS_EVENTRESPONSEWRAPPER_APIRENDER_GETWINDOWSTATE = "V2WrapperTests_EventResponseWrapper_ApiRender_getWindowState";
- public final static String V2WRAPPERTESTS_EVENTRESPONSEWRAPPER_APIRENDER_REMOVEPUBLICRENDERPARAMETER = "V2WrapperTests_EventResponseWrapper_ApiRender_removePublicRenderParameter";
+ public final static String V2WRAPPERTESTS_ACTIONREQUESTWRAPPER_APIACTION_GETCHARACTERENCODING = "V2WrapperTests_ActionRequestWrapper_ApiAction_getCharacterEncoding";
+ public final static String V2WRAPPERTESTS_ACTIONREQUESTWRAPPER_APIACTION_GETCONTENTLENGTH = "V2WrapperTests_ActionRequestWrapper_ApiAction_getContentLength";
+ public final static String V2WRAPPERTESTS_ACTIONREQUESTWRAPPER_APIACTION_GETCONTENTTYPE = "V2WrapperTests_ActionRequestWrapper_ApiAction_getContentType";
+ public final static String V2WRAPPERTESTS_ACTIONREQUESTWRAPPER_APIACTION_GETPORTLETINPUTSTREAM = "V2WrapperTests_ActionRequestWrapper_ApiAction_getPortletInputStream";
+ public final static String V2WRAPPERTESTS_ACTIONREQUESTWRAPPER_APIACTION_GETREADER = "V2WrapperTests_ActionRequestWrapper_ApiAction_getReader";
+ public final static String V2WRAPPERTESTS_ACTIONREQUESTWRAPPER_APIACTION_SETCHARACTERENCODING = "V2WrapperTests_ActionRequestWrapper_ApiAction_setCharacterEncoding";
+ public final static String V2WRAPPERTESTS_ACTIONREQUESTWRAPPER_APIACTION_GETREQUEST = "V2WrapperTests_ActionRequestWrapper_ApiAction_getRequest";
+ public final static String V2WRAPPERTESTS_ACTIONREQUESTWRAPPER_APIACTION_SETREQUEST = "V2WrapperTests_ActionRequestWrapper_ApiAction_setRequest";
+ public final static String V2WRAPPERTESTS_ACTIONREQUESTWRAPPER_APIACTION_GETMETHOD = "V2WrapperTests_ActionRequestWrapper_ApiAction_getMethod";
+ public final static String V2WRAPPERTESTS_ACTIONRESPONSEWRAPPER_APIACTION_SENDREDIRECTA = "V2WrapperTests_ActionResponseWrapper_ApiAction_sendRedirectA";
+ public final static String V2WRAPPERTESTS_ACTIONRESPONSEWRAPPER_APIACTION_SENDREDIRECTB = "V2WrapperTests_ActionResponseWrapper_ApiAction_sendRedirectB";
+ public final static String V2WRAPPERTESTS_ACTIONRESPONSEWRAPPER_APIACTION_SETEVENTA = "V2WrapperTests_ActionResponseWrapper_ApiAction_setEventA";
+ public final static String V2WRAPPERTESTS_ACTIONRESPONSEWRAPPER_APIACTION_SETEVENTB = "V2WrapperTests_ActionResponseWrapper_ApiAction_setEventB";
+ public final static String V2WRAPPERTESTS_ACTIONRESPONSEWRAPPER_APIACTION_SETPORTLETMODE = "V2WrapperTests_ActionResponseWrapper_ApiAction_setPortletMode";
+ public final static String V2WRAPPERTESTS_ACTIONRESPONSEWRAPPER_APIACTION_SETRENDERPARAMETERA = "V2WrapperTests_ActionResponseWrapper_ApiAction_setRenderParameterA";
+ public final static String V2WRAPPERTESTS_ACTIONRESPONSEWRAPPER_APIACTION_SETRENDERPARAMETERB = "V2WrapperTests_ActionResponseWrapper_ApiAction_setRenderParameterB";
+ public final static String V2WRAPPERTESTS_ACTIONRESPONSEWRAPPER_APIACTION_SETRENDERPARAMETERS = "V2WrapperTests_ActionResponseWrapper_ApiAction_setRenderParameters";
+ public final static String V2WRAPPERTESTS_ACTIONRESPONSEWRAPPER_APIACTION_SETWINDOWSTATE = "V2WrapperTests_ActionResponseWrapper_ApiAction_setWindowState";
+ public final static String V2WRAPPERTESTS_ACTIONRESPONSEWRAPPER_APIACTION_GETRESPONSE = "V2WrapperTests_ActionResponseWrapper_ApiAction_getResponse";
+ public final static String V2WRAPPERTESTS_ACTIONRESPONSEWRAPPER_APIACTION_SETRESPONSE = "V2WrapperTests_ActionResponseWrapper_ApiAction_setResponse";
+ public final static String V2WRAPPERTESTS_ACTIONRESPONSEWRAPPER_APIACTION_GETPORTLETMODE = "V2WrapperTests_ActionResponseWrapper_ApiAction_getPortletMode";
+ public final static String V2WRAPPERTESTS_ACTIONRESPONSEWRAPPER_APIACTION_GETRENDERPARAMETERMAP1 = "V2WrapperTests_ActionResponseWrapper_ApiAction_getRenderParameterMap1";
+ public final static String V2WRAPPERTESTS_ACTIONRESPONSEWRAPPER_APIACTION_GETWINDOWSTATE = "V2WrapperTests_ActionResponseWrapper_ApiAction_getWindowState";
+ public final static String V2WRAPPERTESTS_ACTIONRESPONSEWRAPPER_APIACTION_REMOVEPUBLICRENDERPARAMETER = "V2WrapperTests_ActionResponseWrapper_ApiAction_removePublicRenderParameter";
+ public final static String V2WRAPPERTESTS_EVENTREQUESTWRAPPER_APIEVENT_GETREQUEST = "V2WrapperTests_EventRequestWrapper_ApiEvent_getRequest";
+ public final static String V2WRAPPERTESTS_EVENTREQUESTWRAPPER_APIEVENT_SETREQUEST = "V2WrapperTests_EventRequestWrapper_ApiEvent_setRequest";
+ public final static String V2WRAPPERTESTS_EVENTREQUESTWRAPPER_APIEVENT_GETEVENT1 = "V2WrapperTests_EventRequestWrapper_ApiEvent_getEvent1";
+ public final static String V2WRAPPERTESTS_EVENTREQUESTWRAPPER_APIEVENT_GETMETHOD = "V2WrapperTests_EventRequestWrapper_ApiEvent_getMethod";
+ public final static String V2WRAPPERTESTS_EVENTRESPONSEWRAPPER_APIEVENT_SETEVENTA = "V2WrapperTests_EventResponseWrapper_ApiEvent_setEventA";
+ public final static String V2WRAPPERTESTS_EVENTRESPONSEWRAPPER_APIEVENT_SETEVENTB = "V2WrapperTests_EventResponseWrapper_ApiEvent_setEventB";
+ public final static String V2WRAPPERTESTS_EVENTRESPONSEWRAPPER_APIEVENT_SETPORTLETMODE = "V2WrapperTests_EventResponseWrapper_ApiEvent_setPortletMode";
+ public final static String V2WRAPPERTESTS_EVENTRESPONSEWRAPPER_APIEVENT_SETRENDERPARAMETERA = "V2WrapperTests_EventResponseWrapper_ApiEvent_setRenderParameterA";
+ public final static String V2WRAPPERTESTS_EVENTRESPONSEWRAPPER_APIEVENT_SETRENDERPARAMETERB = "V2WrapperTests_EventResponseWrapper_ApiEvent_setRenderParameterB";
+ public final static String V2WRAPPERTESTS_EVENTRESPONSEWRAPPER_APIEVENT_SETRENDERPARAMETERSA = "V2WrapperTests_EventResponseWrapper_ApiEvent_setRenderParametersA";
+ public final static String V2WRAPPERTESTS_EVENTRESPONSEWRAPPER_APIEVENT_SETRENDERPARAMETERSB = "V2WrapperTests_EventResponseWrapper_ApiEvent_setRenderParametersB";
+ public final static String V2WRAPPERTESTS_EVENTRESPONSEWRAPPER_APIEVENT_SETWINDOWSTATE = "V2WrapperTests_EventResponseWrapper_ApiEvent_setWindowState";
+ public final static String V2WRAPPERTESTS_EVENTRESPONSEWRAPPER_APIEVENT_GETRESPONSE = "V2WrapperTests_EventResponseWrapper_ApiEvent_getResponse";
+ public final static String V2WRAPPERTESTS_EVENTRESPONSEWRAPPER_APIEVENT_SETRESPONSE = "V2WrapperTests_EventResponseWrapper_ApiEvent_setResponse";
+ public final static String V2WRAPPERTESTS_EVENTRESPONSEWRAPPER_APIEVENT_GETPORTLETMODE = "V2WrapperTests_EventResponseWrapper_ApiEvent_getPortletMode";
+ public final static String V2WRAPPERTESTS_EVENTRESPONSEWRAPPER_APIEVENT_GETRENDERPARAMETERMAP1 = "V2WrapperTests_EventResponseWrapper_ApiEvent_getRenderParameterMap1";
+ public final static String V2WRAPPERTESTS_EVENTRESPONSEWRAPPER_APIEVENT_GETWINDOWSTATE = "V2WrapperTests_EventResponseWrapper_ApiEvent_getWindowState";
+ public final static String V2WRAPPERTESTS_EVENTRESPONSEWRAPPER_APIEVENT_REMOVEPUBLICRENDERPARAMETER = "V2WrapperTests_EventResponseWrapper_ApiEvent_removePublicRenderParameter";
public final static String V2WRAPPERTESTS_PORTLETREQUESTWRAPPER_APIRENDER_GETATTRIBUTE = "V2WrapperTests_PortletRequestWrapper_ApiRender_getAttribute";
public final static String V2WRAPPERTESTS_PORTLETREQUESTWRAPPER_APIRENDER_GETATTRIBUTENAMES = "V2WrapperTests_PortletRequestWrapper_ApiRender_getAttributeNames";
public final static String V2WRAPPERTESTS_PORTLETREQUESTWRAPPER_APIRENDER_GETAUTHTYPE = "V2WrapperTests_PortletRequestWrapper_ApiRender_getAuthType";
@@ -216,40 +213,40 @@ public class JSR286ApiTestCaseDetails extends TestCaseDetails {
public final static String V2WRAPPERTESTS_RENDERRESPONSEWRAPPER_APIRENDER_CREATEACTIONURL = "V2WrapperTests_RenderResponseWrapper_ApiRender_createActionURL";
public final static String V2WRAPPERTESTS_RENDERRESPONSEWRAPPER_APIRENDER_CREATERENDERURL = "V2WrapperTests_RenderResponseWrapper_ApiRender_createRenderURL";
public final static String V2WRAPPERTESTS_RENDERRESPONSEWRAPPER_APIRENDER_CREATERESOURCEURL = "V2WrapperTests_RenderResponseWrapper_ApiRender_createResourceURL";
- public final static String V2WRAPPERTESTS_RESOURCEREQUESTWRAPPER_APIRENDER_GETPORTLETINPUTSTREAM = "V2WrapperTests_ResourceRequestWrapper_ApiRender_getPortletInputStream";
- public final static String V2WRAPPERTESTS_RESOURCEREQUESTWRAPPER_APIRENDER_GETREADER = "V2WrapperTests_ResourceRequestWrapper_ApiRender_getReader";
- public final static String V2WRAPPERTESTS_RESOURCEREQUESTWRAPPER_APIRENDER_SETCHARACTERENCODING = "V2WrapperTests_ResourceRequestWrapper_ApiRender_setCharacterEncoding";
- public final static String V2WRAPPERTESTS_RESOURCEREQUESTWRAPPER_APIRENDER_GETREQUEST = "V2WrapperTests_ResourceRequestWrapper_ApiRender_getRequest";
- public final static String V2WRAPPERTESTS_RESOURCEREQUESTWRAPPER_APIRENDER_SETREQUEST = "V2WrapperTests_ResourceRequestWrapper_ApiRender_setRequest";
- public final static String V2WRAPPERTESTS_RESOURCEREQUESTWRAPPER_APIRENDER_GETCHARACTERENCODING = "V2WrapperTests_ResourceRequestWrapper_ApiRender_getCharacterEncoding";
- public final static String V2WRAPPERTESTS_RESOURCEREQUESTWRAPPER_APIRENDER_GETCONTENTLENGTH = "V2WrapperTests_ResourceRequestWrapper_ApiRender_getContentLength";
- public final static String V2WRAPPERTESTS_RESOURCEREQUESTWRAPPER_APIRENDER_GETCONTENTTYPE = "V2WrapperTests_ResourceRequestWrapper_ApiRender_getContentType";
- public final static String V2WRAPPERTESTS_RESOURCEREQUESTWRAPPER_APIRENDER_GETETAG = "V2WrapperTests_ResourceRequestWrapper_ApiRender_getETag";
- public final static String V2WRAPPERTESTS_RESOURCEREQUESTWRAPPER_APIRENDER_GETMETHOD = "V2WrapperTests_ResourceRequestWrapper_ApiRender_getMethod";
- public final static String V2WRAPPERTESTS_RESOURCEREQUESTWRAPPER_APIRENDER_GETRESOURCEID = "V2WrapperTests_ResourceRequestWrapper_ApiRender_getResourceID";
- public final static String V2WRAPPERTESTS_RESOURCEREQUESTWRAPPER_APIRENDER_GETPRIVATERENDERPARAMETERMAP = "V2WrapperTests_ResourceRequestWrapper_ApiRender_getPrivateRenderParameterMap";
- public final static String V2WRAPPERTESTS_RESOURCEREQUESTWRAPPER_APIRENDER_GETCACHEABILITY = "V2WrapperTests_ResourceRequestWrapper_ApiRender_getCacheability";
- public final static String V2WRAPPERTESTS_RESOURCERESPONSEWRAPPER_APIRENDER_FLUSHBUFFER = "V2WrapperTests_ResourceResponseWrapper_ApiRender_flushBuffer";
- public final static String V2WRAPPERTESTS_RESOURCERESPONSEWRAPPER_APIRENDER_GETBUFFERSIZE = "V2WrapperTests_ResourceResponseWrapper_ApiRender_getBufferSize";
- public final static String V2WRAPPERTESTS_RESOURCERESPONSEWRAPPER_APIRENDER_GETCHARACTERENCODING = "V2WrapperTests_ResourceResponseWrapper_ApiRender_getCharacterEncoding";
- public final static String V2WRAPPERTESTS_RESOURCERESPONSEWRAPPER_APIRENDER_GETCONTENTTYPE = "V2WrapperTests_ResourceResponseWrapper_ApiRender_getContentType";
- public final static String V2WRAPPERTESTS_RESOURCERESPONSEWRAPPER_APIRENDER_GETLOCALE = "V2WrapperTests_ResourceResponseWrapper_ApiRender_getLocale";
- public final static String V2WRAPPERTESTS_RESOURCERESPONSEWRAPPER_APIRENDER_GETPORTLETOUTPUTSTREAM = "V2WrapperTests_ResourceResponseWrapper_ApiRender_getPortletOutputStream";
- public final static String V2WRAPPERTESTS_RESOURCERESPONSEWRAPPER_APIRENDER_GETWRITER = "V2WrapperTests_ResourceResponseWrapper_ApiRender_getWriter";
- public final static String V2WRAPPERTESTS_RESOURCERESPONSEWRAPPER_APIRENDER_ISCOMMITTED = "V2WrapperTests_ResourceResponseWrapper_ApiRender_isCommitted";
- public final static String V2WRAPPERTESTS_RESOURCERESPONSEWRAPPER_APIRENDER_RESET = "V2WrapperTests_ResourceResponseWrapper_ApiRender_reset";
- public final static String V2WRAPPERTESTS_RESOURCERESPONSEWRAPPER_APIRENDER_RESETBUFFER = "V2WrapperTests_ResourceResponseWrapper_ApiRender_resetBuffer";
- public final static String V2WRAPPERTESTS_RESOURCERESPONSEWRAPPER_APIRENDER_SETBUFFERSIZE = "V2WrapperTests_ResourceResponseWrapper_ApiRender_setBufferSize";
- public final static String V2WRAPPERTESTS_RESOURCERESPONSEWRAPPER_APIRENDER_SETCONTENTTYPE = "V2WrapperTests_ResourceResponseWrapper_ApiRender_setContentType";
- public final static String V2WRAPPERTESTS_RESOURCERESPONSEWRAPPER_APIRENDER_GETCACHECONTROL = "V2WrapperTests_ResourceResponseWrapper_ApiRender_getCacheControl";
- public final static String V2WRAPPERTESTS_RESOURCERESPONSEWRAPPER_APIRENDER_SETCHARACTERENCODING = "V2WrapperTests_ResourceResponseWrapper_ApiRender_setCharacterEncoding";
- public final static String V2WRAPPERTESTS_RESOURCERESPONSEWRAPPER_APIRENDER_SETLOCALE = "V2WrapperTests_ResourceResponseWrapper_ApiRender_setLocale";
- public final static String V2WRAPPERTESTS_RESOURCERESPONSEWRAPPER_APIRENDER_SETCONTENTLENGTH = "V2WrapperTests_ResourceResponseWrapper_ApiRender_setContentLength";
- public final static String V2WRAPPERTESTS_RESOURCERESPONSEWRAPPER_APIRENDER_GETRESPONSE = "V2WrapperTests_ResourceResponseWrapper_ApiRender_getResponse";
- public final static String V2WRAPPERTESTS_RESOURCERESPONSEWRAPPER_APIRENDER_SETRESPONSE = "V2WrapperTests_ResourceResponseWrapper_ApiRender_setResponse";
- public final static String V2WRAPPERTESTS_RESOURCERESPONSEWRAPPER_APIRENDER_CREATEACTIONURL = "V2WrapperTests_ResourceResponseWrapper_ApiRender_createActionURL";
- public final static String V2WRAPPERTESTS_RESOURCERESPONSEWRAPPER_APIRENDER_CREATERENDERURL = "V2WrapperTests_ResourceResponseWrapper_ApiRender_createRenderURL";
- public final static String V2WRAPPERTESTS_RESOURCERESPONSEWRAPPER_APIRENDER_CREATERESOURCEURL = "V2WrapperTests_ResourceResponseWrapper_ApiRender_createResourceURL";
+ public final static String V2WRAPPERTESTS_RESOURCEREQUESTWRAPPER_APIRESOURCE_GETPORTLETINPUTSTREAM = "V2WrapperTests_ResourceRequestWrapper_ApiResource_getPortletInputStream";
+ public final static String V2WRAPPERTESTS_RESOURCEREQUESTWRAPPER_APIRESOURCE_GETREADER = "V2WrapperTests_ResourceRequestWrapper_ApiResource_getReader";
+ public final static String V2WRAPPERTESTS_RESOURCEREQUESTWRAPPER_APIRESOURCE_SETCHARACTERENCODING = "V2WrapperTests_ResourceRequestWrapper_ApiResource_setCharacterEncoding";
+ public final static String V2WRAPPERTESTS_RESOURCEREQUESTWRAPPER_APIRESOURCE_GETREQUEST = "V2WrapperTests_ResourceRequestWrapper_ApiResource_getRequest";
+ public final static String V2WRAPPERTESTS_RESOURCEREQUESTWRAPPER_APIRESOURCE_SETREQUEST = "V2WrapperTests_ResourceRequestWrapper_ApiResource_setRequest";
+ public final static String V2WRAPPERTESTS_RESOURCEREQUESTWRAPPER_APIRESOURCE_GETCHARACTERENCODING = "V2WrapperTests_ResourceRequestWrapper_ApiResource_getCharacterEncoding";
+ public final static String V2WRAPPERTESTS_RESOURCEREQUESTWRAPPER_APIRESOURCE_GETCONTENTLENGTH = "V2WrapperTests_ResourceRequestWrapper_ApiResource_getContentLength";
+ public final static String V2WRAPPERTESTS_RESOURCEREQUESTWRAPPER_APIRESOURCE_GETCONTENTTYPE = "V2WrapperTests_ResourceRequestWrapper_ApiResource_getContentType";
+ public final static String V2WRAPPERTESTS_RESOURCEREQUESTWRAPPER_APIRESOURCE_GETETAG = "V2WrapperTests_ResourceRequestWrapper_ApiResource_getETag";
+ public final static String V2WRAPPERTESTS_RESOURCEREQUESTWRAPPER_APIRESOURCE_GETMETHOD = "V2WrapperTests_ResourceRequestWrapper_ApiResource_getMethod";
+ public final static String V2WRAPPERTESTS_RESOURCEREQUESTWRAPPER_APIRESOURCE_GETRESOURCEID = "V2WrapperTests_ResourceRequestWrapper_ApiResource_getResourceID";
+ public final static String V2WRAPPERTESTS_RESOURCEREQUESTWRAPPER_APIRESOURCE_GETPRIVATERENDERPARAMETERMAP = "V2WrapperTests_ResourceRequestWrapper_ApiResource_getPrivateRenderParameterMap";
+ public final static String V2WRAPPERTESTS_RESOURCEREQUESTWRAPPER_APIRESOURCE_GETCACHEABILITY = "V2WrapperTests_ResourceRequestWrapper_ApiResource_getCacheability";
+ public final static String V2WRAPPERTESTS_RESOURCERESPONSEWRAPPER_APIRESOURCE_FLUSHBUFFER = "V2WrapperTests_ResourceResponseWrapper_ApiResource_flushBuffer";
+ public final static String V2WRAPPERTESTS_RESOURCERESPONSEWRAPPER_APIRESOURCE_GETBUFFERSIZE = "V2WrapperTests_ResourceResponseWrapper_ApiResource_getBufferSize";
+ public final static String V2WRAPPERTESTS_RESOURCERESPONSEWRAPPER_APIRESOURCE_GETCHARACTERENCODING = "V2WrapperTests_ResourceResponseWrapper_ApiResource_getCharacterEncoding";
+ public final static String V2WRAPPERTESTS_RESOURCERESPONSEWRAPPER_APIRESOURCE_GETCONTENTTYPE = "V2WrapperTests_ResourceResponseWrapper_ApiResource_getContentType";
+ public final static String V2WRAPPERTESTS_RESOURCERESPONSEWRAPPER_APIRESOURCE_GETLOCALE = "V2WrapperTests_ResourceResponseWrapper_ApiResource_getLocale";
+ public final static String V2WRAPPERTESTS_RESOURCERESPONSEWRAPPER_APIRESOURCE_GETPORTLETOUTPUTSTREAM = "V2WrapperTests_ResourceResponseWrapper_ApiResource_getPortletOutputStream";
+ public final static String V2WRAPPERTESTS_RESOURCERESPONSEWRAPPER_APIRESOURCE_GETWRITER = "V2WrapperTests_ResourceResponseWrapper_ApiResource_getWriter";
+ public final static String V2WRAPPERTESTS_RESOURCERESPONSEWRAPPER_APIRESOURCE_ISCOMMITTED = "V2WrapperTests_ResourceResponseWrapper_ApiResource_isCommitted";
+ public final static String V2WRAPPERTESTS_RESOURCERESPONSEWRAPPER_APIRESOURCE_RESET = "V2WrapperTests_ResourceResponseWrapper_ApiResource_reset";
+ public final static String V2WRAPPERTESTS_RESOURCERESPONSEWRAPPER_APIRESOURCE_RESETBUFFER = "V2WrapperTests_ResourceResponseWrapper_ApiResource_resetBuffer";
+ public final static String V2WRAPPERTESTS_RESOURCERESPONSEWRAPPER_APIRESOURCE_SETBUFFERSIZE = "V2WrapperTests_ResourceResponseWrapper_ApiResource_setBufferSize";
+ public final static String V2WRAPPERTESTS_RESOURCERESPONSEWRAPPER_APIRESOURCE_SETCONTENTTYPE = "V2WrapperTests_ResourceResponseWrapper_ApiResource_setContentType";
+ public final static String V2WRAPPERTESTS_RESOURCERESPONSEWRAPPER_APIRESOURCE_GETCACHECONTROL = "V2WrapperTests_ResourceResponseWrapper_ApiResource_getCacheControl";
+ public final static String V2WRAPPERTESTS_RESOURCERESPONSEWRAPPER_APIRESOURCE_SETCHARACTERENCODING = "V2WrapperTests_ResourceResponseWrapper_ApiResource_setCharacterEncoding";
+ public final static String V2WRAPPERTESTS_RESOURCERESPONSEWRAPPER_APIRESOURCE_SETLOCALE = "V2WrapperTests_ResourceResponseWrapper_ApiResource_setLocale";
+ public final static String V2WRAPPERTESTS_RESOURCERESPONSEWRAPPER_APIRESOURCE_SETCONTENTLENGTH = "V2WrapperTests_ResourceResponseWrapper_ApiResource_setContentLength";
+ public final static String V2WRAPPERTESTS_RESOURCERESPONSEWRAPPER_APIRESOURCE_GETRESPONSE = "V2WrapperTests_ResourceResponseWrapper_ApiResource_getResponse";
+ public final static String V2WRAPPERTESTS_RESOURCERESPONSEWRAPPER_APIRESOURCE_SETRESPONSE = "V2WrapperTests_ResourceResponseWrapper_ApiResource_setResponse";
+ public final static String V2WRAPPERTESTS_RESOURCERESPONSEWRAPPER_APIRESOURCE_CREATEACTIONURL = "V2WrapperTests_ResourceResponseWrapper_ApiResource_createActionURL";
+ public final static String V2WRAPPERTESTS_RESOURCERESPONSEWRAPPER_APIRESOURCE_CREATERENDERURL = "V2WrapperTests_ResourceResponseWrapper_ApiResource_createRenderURL";
+ public final static String V2WRAPPERTESTS_RESOURCERESPONSEWRAPPER_APIRESOURCE_CREATERESOURCEURL = "V2WrapperTests_ResourceResponseWrapper_ApiResource_createResourceURL";
public final static String V2REQUESTTESTS_PORTLETREQUEST_APIRENDER_FIELDUSER_INFO = "V2RequestTests_PortletRequest_ApiRender_fieldUSER_INFO";
public final static String V2REQUESTTESTS_PORTLETREQUEST_APIRENDER_FIELDCCPP_PROFILE = "V2RequestTests_PortletRequest_ApiRender_fieldCCPP_PROFILE";
public final static String V2REQUESTTESTS_PORTLETREQUEST_APIRENDER_FIELDBASIC_AUTH = "V2RequestTests_PortletRequest_ApiRender_fieldBASIC_AUTH";
@@ -1687,51 +1684,48 @@ public class JSR286ApiTestCaseDetails extends TestCaseDetails {
tcd.put(V2FILTERTESTS_RESOURCEFILTER_APIRESOURCEFILTER_DOFILTEREXCEPTION1, "If the doFilter(ResourceRequest, ResourceResponse, FilterChain): method throws an UnavailableException, processResource is not called");
tcd.put(V2FILTERTESTS_RESOURCEFILTER_APIRESOURCEFILTER_DOFILTEREXCEPTION2, "If the doFilter(ResourceRequest, ResourceResponse, FilterChain): method throws an UnavailableException, no further filter is called");
tcd.put(V2FILTERTESTS_RESOURCEFILTER_APIRESOURCEFILTER_DOFILTEREXAMINE, "Method doFilter(ResourceRequest, ResourceResponse, FilterChain): After the next filter has been successfully invoked, the ResourceResponse may be examined");
- tcd.put(V2WRAPPERTESTS_ACTIONREQUESTWRAPPER_APIRENDER_GETCHARACTERENCODING, "Method getCharacterEncoding(): Calls wrapped method");
- tcd.put(V2WRAPPERTESTS_ACTIONREQUESTWRAPPER_APIRENDER_GETCONTENTLENGTH, "Method getContentLength(): Calls wrapped method");
- tcd.put(V2WRAPPERTESTS_ACTIONREQUESTWRAPPER_APIRENDER_GETCONTENTTYPE, "Method getContentType(): Calls wrapped method");
- tcd.put(V2WRAPPERTESTS_ACTIONREQUESTWRAPPER_APIRENDER_GETPORTLETINPUTSTREAM, "Method getPortletInputStream(): Calls wrapped method");
- tcd.put(V2WRAPPERTESTS_ACTIONREQUESTWRAPPER_APIRENDER_GETREADER, "Method getReader(): Calls wrapped method");
- tcd.put(V2WRAPPERTESTS_ACTIONREQUESTWRAPPER_APIRENDER_SETCHARACTERENCODING, "Method setCharacterEncoding(String): Calls wrapped method");
- tcd.put(V2WRAPPERTESTS_ACTIONREQUESTWRAPPER_APIRENDER_GETREQUEST, "Method getRequest(): Returns wrapped ActionRequest object");
- tcd.put(V2WRAPPERTESTS_ACTIONREQUESTWRAPPER_APIRENDER_SETREQUEST, "Method setRequest(ActionRequest): Allows wrapped ActionRequest object to be set");
- tcd.put(V2WRAPPERTESTS_ACTIONREQUESTWRAPPER_APIRENDER_GETMETHOD, "Method getMethod(): Calls wrapped method");
- tcd.put(V2WRAPPERTESTS_ACTIONRESPONSEWRAPPER_APIRENDER_SENDREDIRECTA, "Method sendRedirect(String): Calls wrapped method");
- tcd.put(V2WRAPPERTESTS_ACTIONRESPONSEWRAPPER_APIRENDER_SENDREDIRECTB, "Method sendRedirect(String, String): Calls wrapped method");
- tcd.put(V2WRAPPERTESTS_ACTIONRESPONSEWRAPPER_APIRENDER_SETEVENTA, "Method setEvent(javax.xml.namespace.QName, java.io.Serializable): Calls wrapped method");
- tcd.put(V2WRAPPERTESTS_ACTIONRESPONSEWRAPPER_APIRENDER_SETEVENTB, "Method setEvent(String, java.io.Serializable): Calls wrapped method");
- tcd.put(V2WRAPPERTESTS_ACTIONRESPONSEWRAPPER_APIRENDER_SETPORTLETMODE, "Method setPortletMode(PortletMode): Calls wrapped method");
- tcd.put(V2WRAPPERTESTS_ACTIONRESPONSEWRAPPER_APIRENDER_SETRENDERPARAMETERA, "Method setRenderParameter(String, String): Calls wrapped method");
- tcd.put(V2WRAPPERTESTS_ACTIONRESPONSEWRAPPER_APIRENDER_SETRENDERPARAMETERB, "Method setRenderParameter(String, String[]): Calls wrapped method");
- tcd.put(V2WRAPPERTESTS_ACTIONRESPONSEWRAPPER_APIRENDER_SETRENDERPARAMETERS, "Method setRenderParameters(java.util.Map): Calls wrapped method");
- tcd.put(V2WRAPPERTESTS_ACTIONRESPONSEWRAPPER_APIRENDER_SETWINDOWSTATE, "Method setWindowState(WindowState): Calls wrapped method");
- tcd.put(V2WRAPPERTESTS_ACTIONRESPONSEWRAPPER_APIRENDER_GETRESPONSE, "Method getResponse(): Returns wrapped ActionResponse object");
- tcd.put(V2WRAPPERTESTS_ACTIONRESPONSEWRAPPER_APIRENDER_SETRESPONSE, "Method setResponse(ActionResponse): Allows wrapped ActionResponse object to be set");
- tcd.put(V2WRAPPERTESTS_ACTIONRESPONSEWRAPPER_APIRENDER_GETPORTLETMODE, "Method getPortletMode(): Calls wrapped method");
- tcd.put(V2WRAPPERTESTS_ACTIONRESPONSEWRAPPER_APIRENDER_GETRENDERPARAMETERMAP1, "Method getRenderParameterMap(): Calls wrapped method");
- tcd.put(V2WRAPPERTESTS_ACTIONRESPONSEWRAPPER_APIRENDER_GETRENDERPARAMETERMAP2, "Method getRenderParameterMap(): Returns java.util.Map<java.lang.String,java.lang.String[]> object");
- tcd.put(V2WRAPPERTESTS_ACTIONRESPONSEWRAPPER_APIRENDER_GETWINDOWSTATE, "Method getWindowState(): Calls wrapped method");
- tcd.put(V2WRAPPERTESTS_ACTIONRESPONSEWRAPPER_APIRENDER_REMOVEPUBLICRENDERPARAMETER, "Method removePublicRenderParameter(String): Calls wrapped method");
- tcd.put(V2WRAPPERTESTS_EVENTREQUESTWRAPPER_APIRENDER_GETREQUEST, "Method getRequest(): Returns wrapped EventRequest object");
- tcd.put(V2WRAPPERTESTS_EVENTREQUESTWRAPPER_APIRENDER_SETREQUEST, "Method setRequest(EventRequest): Allows wrapped EventRequest object to be set");
- tcd.put(V2WRAPPERTESTS_EVENTREQUESTWRAPPER_APIRENDER_GETEVENT1, "Method getEvent(): Calls wrapped method");
- tcd.put(V2WRAPPERTESTS_EVENTREQUESTWRAPPER_APIRENDER_GETEVENT2, "Method getEvent(): Returns Event object");
- tcd.put(V2WRAPPERTESTS_EVENTREQUESTWRAPPER_APIRENDER_GETMETHOD, "Method getMethod(): Calls wrapped method");
- tcd.put(V2WRAPPERTESTS_EVENTRESPONSEWRAPPER_APIRENDER_SETEVENTA, "Method setEvent(javax.xml.namespace.QName, java.io.Serializable): Calls wrapped method");
- tcd.put(V2WRAPPERTESTS_EVENTRESPONSEWRAPPER_APIRENDER_SETEVENTB, "Method setEvent(String, java.io.Serializable): Calls wrapped method");
- tcd.put(V2WRAPPERTESTS_EVENTRESPONSEWRAPPER_APIRENDER_SETPORTLETMODE, "Method setPortletMode(PortletMode): Calls wrapped method");
- tcd.put(V2WRAPPERTESTS_EVENTRESPONSEWRAPPER_APIRENDER_SETRENDERPARAMETERA, "Method setRenderParameter(String, String): Calls wrapped method");
- tcd.put(V2WRAPPERTESTS_EVENTRESPONSEWRAPPER_APIRENDER_SETRENDERPARAMETERB, "Method setRenderParameter(String, String[]): Calls wrapped method");
- tcd.put(V2WRAPPERTESTS_EVENTRESPONSEWRAPPER_APIRENDER_SETRENDERPARAMETERSA, "Method setRenderParameters(java.util.Map): Calls wrapped method");
- tcd.put(V2WRAPPERTESTS_EVENTRESPONSEWRAPPER_APIRENDER_SETRENDERPARAMETERSB, "Method setRenderParameters(java.util.Map): Calls wrapped method");
- tcd.put(V2WRAPPERTESTS_EVENTRESPONSEWRAPPER_APIRENDER_SETWINDOWSTATE, "Method setWindowState(WindowState): Calls wrapped method");
- tcd.put(V2WRAPPERTESTS_EVENTRESPONSEWRAPPER_APIRENDER_GETRESPONSE, "Method getResponse(): Returns wrapped EventResponse obect");
- tcd.put(V2WRAPPERTESTS_EVENTRESPONSEWRAPPER_APIRENDER_SETRESPONSE, "Method setResponse(EventResponse): Allows wrapped EventResponse object to be set");
- tcd.put(V2WRAPPERTESTS_EVENTRESPONSEWRAPPER_APIRENDER_GETPORTLETMODE, "Method getPortletMode(): Calls wrapped method");
- tcd.put(V2WRAPPERTESTS_EVENTRESPONSEWRAPPER_APIRENDER_GETRENDERPARAMETERMAP1, "Method getRenderParameterMap(): Calls wrapped method");
- tcd.put(V2WRAPPERTESTS_EVENTRESPONSEWRAPPER_APIRENDER_GETRENDERPARAMETERMAP2, "Method getRenderParameterMap(): Returns java.util.Map<java.lang.String,java.lang.String[]> object");
- tcd.put(V2WRAPPERTESTS_EVENTRESPONSEWRAPPER_APIRENDER_GETWINDOWSTATE, "Method getWindowState(): Calls wrapped method");
- tcd.put(V2WRAPPERTESTS_EVENTRESPONSEWRAPPER_APIRENDER_REMOVEPUBLICRENDERPARAMETER, "Method removePublicRenderParameter(String): Calls wrapped method");
+ tcd.put(V2WRAPPERTESTS_ACTIONREQUESTWRAPPER_APIACTION_GETCHARACTERENCODING, "Method getCharacterEncoding(): Calls wrapped method");
+ tcd.put(V2WRAPPERTESTS_ACTIONREQUESTWRAPPER_APIACTION_GETCONTENTLENGTH, "Method getContentLength(): Calls wrapped method");
+ tcd.put(V2WRAPPERTESTS_ACTIONREQUESTWRAPPER_APIACTION_GETCONTENTTYPE, "Method getContentType(): Calls wrapped method");
+ tcd.put(V2WRAPPERTESTS_ACTIONREQUESTWRAPPER_APIACTION_GETPORTLETINPUTSTREAM, "Method getPortletInputStream(): Calls wrapped method");
+ tcd.put(V2WRAPPERTESTS_ACTIONREQUESTWRAPPER_APIACTION_GETREADER, "Method getReader(): Calls wrapped method");
+ tcd.put(V2WRAPPERTESTS_ACTIONREQUESTWRAPPER_APIACTION_SETCHARACTERENCODING, "Method setCharacterEncoding(String): Calls wrapped method");
+ tcd.put(V2WRAPPERTESTS_ACTIONREQUESTWRAPPER_APIACTION_GETREQUEST, "Method getRequest(): Returns wrapped ActionRequest object");
+ tcd.put(V2WRAPPERTESTS_ACTIONREQUESTWRAPPER_APIACTION_SETREQUEST, "Method setRequest(ActionRequest): Allows wrapped ActionRequest object to be set");
+ tcd.put(V2WRAPPERTESTS_ACTIONREQUESTWRAPPER_APIACTION_GETMETHOD, "Method getMethod(): Calls wrapped method");
+ tcd.put(V2WRAPPERTESTS_ACTIONRESPONSEWRAPPER_APIACTION_SENDREDIRECTA, "Method sendRedirect(String): Calls wrapped method");
+ tcd.put(V2WRAPPERTESTS_ACTIONRESPONSEWRAPPER_APIACTION_SENDREDIRECTB, "Method sendRedirect(String, String): Calls wrapped method");
+ tcd.put(V2WRAPPERTESTS_ACTIONRESPONSEWRAPPER_APIACTION_SETEVENTA, "Method setEvent(javax.xml.namespace.QName, java.io.Serializable): Calls wrapped method");
+ tcd.put(V2WRAPPERTESTS_ACTIONRESPONSEWRAPPER_APIACTION_SETEVENTB, "Method setEvent(String, java.io.Serializable): Calls wrapped method");
+ tcd.put(V2WRAPPERTESTS_ACTIONRESPONSEWRAPPER_APIACTION_SETPORTLETMODE, "Method setPortletMode(PortletMode): Calls wrapped method");
+ tcd.put(V2WRAPPERTESTS_ACTIONRESPONSEWRAPPER_APIACTION_SETRENDERPARAMETERA, "Method setRenderParameter(String, String): Calls wrapped method");
+ tcd.put(V2WRAPPERTESTS_ACTIONRESPONSEWRAPPER_APIACTION_SETRENDERPARAMETERB, "Method setRenderParameter(String, String[]): Calls wrapped method");
+ tcd.put(V2WRAPPERTESTS_ACTIONRESPONSEWRAPPER_APIACTION_SETRENDERPARAMETERS, "Method setRenderParameters(java.util.Map): Calls wrapped method");
+ tcd.put(V2WRAPPERTESTS_ACTIONRESPONSEWRAPPER_APIACTION_SETWINDOWSTATE, "Method setWindowState(WindowState): Calls wrapped method");
+ tcd.put(V2WRAPPERTESTS_ACTIONRESPONSEWRAPPER_APIACTION_GETRESPONSE, "Method getResponse(): Returns wrapped ActionResponse object");
+ tcd.put(V2WRAPPERTESTS_ACTIONRESPONSEWRAPPER_APIACTION_SETRESPONSE, "Method setResponse(ActionResponse): Allows wrapped ActionResponse object to be set");
+ tcd.put(V2WRAPPERTESTS_ACTIONRESPONSEWRAPPER_APIACTION_GETPORTLETMODE, "Method getPortletMode(): Calls wrapped method");
+ tcd.put(V2WRAPPERTESTS_ACTIONRESPONSEWRAPPER_APIACTION_GETRENDERPARAMETERMAP1, "Method getRenderParameterMap(): Calls wrapped method");
+ tcd.put(V2WRAPPERTESTS_ACTIONRESPONSEWRAPPER_APIACTION_GETWINDOWSTATE, "Method getWindowState(): Calls wrapped method");
+ tcd.put(V2WRAPPERTESTS_ACTIONRESPONSEWRAPPER_APIACTION_REMOVEPUBLICRENDERPARAMETER, "Method removePublicRenderParameter(String): Calls wrapped method");
+ tcd.put(V2WRAPPERTESTS_EVENTREQUESTWRAPPER_APIEVENT_GETREQUEST, "Method getRequest(): Returns wrapped EventRequest object");
+ tcd.put(V2WRAPPERTESTS_EVENTREQUESTWRAPPER_APIEVENT_SETREQUEST, "Method setRequest(EventRequest): Allows wrapped EventRequest object to be set");
+ tcd.put(V2WRAPPERTESTS_EVENTREQUESTWRAPPER_APIEVENT_GETEVENT1, "Method getEvent(): Calls wrapped method");
+ tcd.put(V2WRAPPERTESTS_EVENTREQUESTWRAPPER_APIEVENT_GETMETHOD, "Method getMethod(): Calls wrapped method");
+ tcd.put(V2WRAPPERTESTS_EVENTRESPONSEWRAPPER_APIEVENT_SETEVENTA, "Method setEvent(javax.xml.namespace.QName, java.io.Serializable): Calls wrapped method");
+ tcd.put(V2WRAPPERTESTS_EVENTRESPONSEWRAPPER_APIEVENT_SETEVENTB, "Method setEvent(String, java.io.Serializable): Calls wrapped method");
+ tcd.put(V2WRAPPERTESTS_EVENTRESPONSEWRAPPER_APIEVENT_SETPORTLETMODE, "Method setPortletMode(PortletMode): Calls wrapped method");
+ tcd.put(V2WRAPPERTESTS_EVENTRESPONSEWRAPPER_APIEVENT_SETRENDERPARAMETERA, "Method setRenderParameter(String, String): Calls wrapped method");
+ tcd.put(V2WRAPPERTESTS_EVENTRESPONSEWRAPPER_APIEVENT_SETRENDERPARAMETERB, "Method setRenderParameter(String, String[]): Calls wrapped method");
+ tcd.put(V2WRAPPERTESTS_EVENTRESPONSEWRAPPER_APIEVENT_SETRENDERPARAMETERSA, "Method setRenderParameters(EventRequest): Calls wrapped method");
+ tcd.put(V2WRAPPERTESTS_EVENTRESPONSEWRAPPER_APIEVENT_SETRENDERPARAMETERSB, "Method setRenderParameters(EventRequest): Calls wrapped method");
+ tcd.put(V2WRAPPERTESTS_EVENTRESPONSEWRAPPER_APIEVENT_SETWINDOWSTATE, "Method setWindowState(WindowState): Calls wrapped method");
+ tcd.put(V2WRAPPERTESTS_EVENTRESPONSEWRAPPER_APIEVENT_GETRESPONSE, "Method getResponse(): Returns wrapped EventResponse object");
+ tcd.put(V2WRAPPERTESTS_EVENTRESPONSEWRAPPER_APIEVENT_SETRESPONSE, "Method setResponse(EventResponse): Allows wrapped EventResponse object to be set");
+ tcd.put(V2WRAPPERTESTS_EVENTRESPONSEWRAPPER_APIEVENT_GETPORTLETMODE, "Method getPortletMode(): Calls wrapped method");
+ tcd.put(V2WRAPPERTESTS_EVENTRESPONSEWRAPPER_APIEVENT_GETRENDERPARAMETERMAP1, "Method getRenderParameterMap(): Calls wrapped method");
+ tcd.put(V2WRAPPERTESTS_EVENTRESPONSEWRAPPER_APIEVENT_GETWINDOWSTATE, "Method getWindowState(): Calls wrapped method");
+ tcd.put(V2WRAPPERTESTS_EVENTRESPONSEWRAPPER_APIEVENT_REMOVEPUBLICRENDERPARAMETER, "Method removePublicRenderParameter(String): Calls wrapped method");
tcd.put(V2WRAPPERTESTS_PORTLETREQUESTWRAPPER_APIRENDER_GETATTRIBUTE, "Method getAttribute(String): Calls wrapped method");
tcd.put(V2WRAPPERTESTS_PORTLETREQUESTWRAPPER_APIRENDER_GETATTRIBUTENAMES, "Method getAttributeNames(): Calls wrapped method");
tcd.put(V2WRAPPERTESTS_PORTLETREQUESTWRAPPER_APIRENDER_GETAUTHTYPE, "Method getAuthType(): Calls wrapped method");
@@ -1764,7 +1758,7 @@ public class JSR286ApiTestCaseDetails extends TestCaseDetails {
tcd.put(V2WRAPPERTESTS_PORTLETREQUESTWRAPPER_APIRENDER_ISPORTLETMODEALLOWED, "Method isPortletModeAllowed(PortletMode): Calls wrapped method");
tcd.put(V2WRAPPERTESTS_PORTLETREQUESTWRAPPER_APIRENDER_ISREQUESTEDSESSIONIDVALID, "Method isRequestedSessionIdValid(): Calls wrapped method");
tcd.put(V2WRAPPERTESTS_PORTLETREQUESTWRAPPER_APIRENDER_ISSECURE, "Method isSecure(): Calls wrapped method");
- tcd.put(V2WRAPPERTESTS_PORTLETREQUESTWRAPPER_APIRENDER_ISUSERINROLE, "Method isUserInRole(): Calls wrapped method");
+ tcd.put(V2WRAPPERTESTS_PORTLETREQUESTWRAPPER_APIRENDER_ISUSERINROLE, "Method isUserInRole(String): Calls wrapped method");
tcd.put(V2WRAPPERTESTS_PORTLETREQUESTWRAPPER_APIRENDER_ISWINDOWSTATEALLOWED, "Method isWindowStateAllowed(WindowState): Calls wrapped method");
tcd.put(V2WRAPPERTESTS_PORTLETREQUESTWRAPPER_APIRENDER_REMOVEATTRIBUTE, "Method removeAttribute(String): Calls wrapped method");
tcd.put(V2WRAPPERTESTS_PORTLETREQUESTWRAPPER_APIRENDER_SETATTRIBUTE, "Method setAttribute(String, Object): Calls wrapped method");
@@ -1799,45 +1793,45 @@ public class JSR286ApiTestCaseDetails extends TestCaseDetails {
tcd.put(V2WRAPPERTESTS_RENDERRESPONSEWRAPPER_APIRENDER_SETTITLE, "Method setTitle(String): Calls wrapped method");
tcd.put(V2WRAPPERTESTS_RENDERRESPONSEWRAPPER_APIRENDER_GETCACHECONTROL, "Method getCacheControl(): Calls wrapped method");
tcd.put(V2WRAPPERTESTS_RENDERRESPONSEWRAPPER_APIRENDER_SETNEXTPOSSIBLEPORTLETMODES, "Method setNextPossiblePortletModes(java.util.Collection): Calls wrapped method");
- tcd.put(V2WRAPPERTESTS_RENDERRESPONSEWRAPPER_APIRENDER_GETRESPONSE, "Method getResponse(): Calls wrapped method");
+ tcd.put(V2WRAPPERTESTS_RENDERRESPONSEWRAPPER_APIRENDER_GETRESPONSE, "Method getResponse(): Returns wrapped RenderResponse object");
tcd.put(V2WRAPPERTESTS_RENDERRESPONSEWRAPPER_APIRENDER_SETRESPONSE, "Method setResponse(RenderResponse): Allows wrapped RenderResponse object to be set ");
tcd.put(V2WRAPPERTESTS_RENDERRESPONSEWRAPPER_APIRENDER_CREATEACTIONURL, "Method createActionURL(): Calls wrapped method");
tcd.put(V2WRAPPERTESTS_RENDERRESPONSEWRAPPER_APIRENDER_CREATERENDERURL, "Method createRenderURL(): Calls wrapped method");
tcd.put(V2WRAPPERTESTS_RENDERRESPONSEWRAPPER_APIRENDER_CREATERESOURCEURL, "Method createResourceURL(): Calls wrapped method");
- tcd.put(V2WRAPPERTESTS_RESOURCEREQUESTWRAPPER_APIRENDER_GETPORTLETINPUTSTREAM, "Method getPortletInputStream(): Calls wrapped method");
- tcd.put(V2WRAPPERTESTS_RESOURCEREQUESTWRAPPER_APIRENDER_GETREADER, "Method getReader(): Calls wrapped method");
- tcd.put(V2WRAPPERTESTS_RESOURCEREQUESTWRAPPER_APIRENDER_SETCHARACTERENCODING, "Method setCharacterEncoding(String): Calls wrapped method");
- tcd.put(V2WRAPPERTESTS_RESOURCEREQUESTWRAPPER_APIRENDER_GETREQUEST, "Method getRequest(): Returns wrapped ResourceRequest object");
- tcd.put(V2WRAPPERTESTS_RESOURCEREQUESTWRAPPER_APIRENDER_SETREQUEST, "Method setRequest(ResourceRequest): Allows wrapped ResourceRequest object to be set");
- tcd.put(V2WRAPPERTESTS_RESOURCEREQUESTWRAPPER_APIRENDER_GETCHARACTERENCODING, "Method getCharacterEncoding(): Calls wrapped method");
- tcd.put(V2WRAPPERTESTS_RESOURCEREQUESTWRAPPER_APIRENDER_GETCONTENTLENGTH, "Method getContentLength(): Calls wrapped method");
- tcd.put(V2WRAPPERTESTS_RESOURCEREQUESTWRAPPER_APIRENDER_GETCONTENTTYPE, "Method getContentType(): Calls wrapped method");
- tcd.put(V2WRAPPERTESTS_RESOURCEREQUESTWRAPPER_APIRENDER_GETETAG, "Method getETag(): Calls wrapped method");
- tcd.put(V2WRAPPERTESTS_RESOURCEREQUESTWRAPPER_APIRENDER_GETMETHOD, "Method getMethod(): Calls wrapped method");
- tcd.put(V2WRAPPERTESTS_RESOURCEREQUESTWRAPPER_APIRENDER_GETRESOURCEID, "Method getResourceID(): Calls wrapped method");
- tcd.put(V2WRAPPERTESTS_RESOURCEREQUESTWRAPPER_APIRENDER_GETPRIVATERENDERPARAMETERMAP, "Method getPrivateRenderParameterMap(): Calls wrapped method");
- tcd.put(V2WRAPPERTESTS_RESOURCEREQUESTWRAPPER_APIRENDER_GETCACHEABILITY, "Method getCacheability(): Calls wrapped method");
- tcd.put(V2WRAPPERTESTS_RESOURCERESPONSEWRAPPER_APIRENDER_FLUSHBUFFER, "Method flushBuffer(): Calls wrapped method");
- tcd.put(V2WRAPPERTESTS_RESOURCERESPONSEWRAPPER_APIRENDER_GETBUFFERSIZE, "Method getBufferSize(): Calls wrapped method");
- tcd.put(V2WRAPPERTESTS_RESOURCERESPONSEWRAPPER_APIRENDER_GETCHARACTERENCODING, "Method getCharacterEncoding(): Calls wrapped method");
- tcd.put(V2WRAPPERTESTS_RESOURCERESPONSEWRAPPER_APIRENDER_GETCONTENTTYPE, "Method getContentType(): Calls wrapped method");
- tcd.put(V2WRAPPERTESTS_RESOURCERESPONSEWRAPPER_APIRENDER_GETLOCALE, "Method getLocale(): Calls wrapped method");
- tcd.put(V2WRAPPERTESTS_RESOURCERESPONSEWRAPPER_APIRENDER_GETPORTLETOUTPUTSTREAM, "Method getPortletOutputStream(): Calls wrapped method");
- tcd.put(V2WRAPPERTESTS_RESOURCERESPONSEWRAPPER_APIRENDER_GETWRITER, "Method getWriter(): Calls wrapped method");
- tcd.put(V2WRAPPERTESTS_RESOURCERESPONSEWRAPPER_APIRENDER_ISCOMMITTED, "Method isCommitted(): Calls wrapped method");
- tcd.put(V2WRAPPERTESTS_RESOURCERESPONSEWRAPPER_APIRENDER_RESET, "Method reset(): Calls wrapped method");
- tcd.put(V2WRAPPERTESTS_RESOURCERESPONSEWRAPPER_APIRENDER_RESETBUFFER, "Method resetBuffer(): Calls wrapped method");
- tcd.put(V2WRAPPERTESTS_RESOURCERESPONSEWRAPPER_APIRENDER_SETBUFFERSIZE, "Method setBufferSize(int): Calls wrapped method");
- tcd.put(V2WRAPPERTESTS_RESOURCERESPONSEWRAPPER_APIRENDER_SETCONTENTTYPE, "Method setContentType(String): Calls wrapped method");
- tcd.put(V2WRAPPERTESTS_RESOURCERESPONSEWRAPPER_APIRENDER_GETCACHECONTROL, "Method getCacheControl(): Calls wrapped method");
- tcd.put(V2WRAPPERTESTS_RESOURCERESPONSEWRAPPER_APIRENDER_SETCHARACTERENCODING, "Method setCharacterEncoding(String): Calls wrapped method");
- tcd.put(V2WRAPPERTESTS_RESOURCERESPONSEWRAPPER_APIRENDER_SETLOCALE, "Method setLocale(Locale): Calls wrapped method");
- tcd.put(V2WRAPPERTESTS_RESOURCERESPONSEWRAPPER_APIRENDER_SETCONTENTLENGTH, "Method setContentLength(int): Calls wrapped method");
- tcd.put(V2WRAPPERTESTS_RESOURCERESPONSEWRAPPER_APIRENDER_GETRESPONSE, "Method getResponse(): Returns wrapped RespurceResponse object");
- tcd.put(V2WRAPPERTESTS_RESOURCERESPONSEWRAPPER_APIRENDER_SETRESPONSE, "Method setResponse(ResourceResponse): Allows wrapped ResourceResponse object to be set");
- tcd.put(V2WRAPPERTESTS_RESOURCERESPONSEWRAPPER_APIRENDER_CREATEACTIONURL, "Method createActionURL(): Calls wrapped method");
- tcd.put(V2WRAPPERTESTS_RESOURCERESPONSEWRAPPER_APIRENDER_CREATERENDERURL, "Method createRenderURL(): Calls wrapped method");
- tcd.put(V2WRAPPERTESTS_RESOURCERESPONSEWRAPPER_APIRENDER_CREATERESOURCEURL, "Method createResourceURL(): Calls wrapped method");
+ tcd.put(V2WRAPPERTESTS_RESOURCEREQUESTWRAPPER_APIRESOURCE_GETPORTLETINPUTSTREAM, "Method getPortletInputStream(): Calls wrapped method");
+ tcd.put(V2WRAPPERTESTS_RESOURCEREQUESTWRAPPER_APIRESOURCE_GETREADER, "Method getReader(): Calls wrapped method");
+ tcd.put(V2WRAPPERTESTS_RESOURCEREQUESTWRAPPER_APIRESOURCE_SETCHARACTERENCODING, "Method setCharacterEncoding(String): Calls wrapped method");
+ tcd.put(V2WRAPPERTESTS_RESOURCEREQUESTWRAPPER_APIRESOURCE_GETREQUEST, "Method getRequest(): Returns wrapped ResourceRequest object");
+ tcd.put(V2WRAPPERTESTS_RESOURCEREQUESTWRAPPER_APIRESOURCE_SETREQUEST, "Method setRequest(ResourceRequest): Allows wrapped ResourceRequest object to be set");
+ tcd.put(V2WRAPPERTESTS_RESOURCEREQUESTWRAPPER_APIRESOURCE_GETCHARACTERENCODING, "Method getCharacterEncoding(): Calls wrapped method");
+ tcd.put(V2WRAPPERTESTS_RESOURCEREQUESTWRAPPER_APIRESOURCE_GETCONTENTLENGTH, "Method getContentLength(): Calls wrapped method");
+ tcd.put(V2WRAPPERTESTS_RESOURCEREQUESTWRAPPER_APIRESOURCE_GETCONTENTTYPE, "Method getContentType(): Calls wrapped method");
+ tcd.put(V2WRAPPERTESTS_RESOURCEREQUESTWRAPPER_APIRESOURCE_GETETAG, "Method getETag(): Calls wrapped method");
+ tcd.put(V2WRAPPERTESTS_RESOURCEREQUESTWRAPPER_APIRESOURCE_GETMETHOD, "Method getMethod(): Calls wrapped method");
+ tcd.put(V2WRAPPERTESTS_RESOURCEREQUESTWRAPPER_APIRESOURCE_GETRESOURCEID, "Method getResourceID(): Calls wrapped method");
+ tcd.put(V2WRAPPERTESTS_RESOURCEREQUESTWRAPPER_APIRESOURCE_GETPRIVATERENDERPARAMETERMAP, "Method getPrivateRenderParameterMap(): Calls wrapped method");
+ tcd.put(V2WRAPPERTESTS_RESOURCEREQUESTWRAPPER_APIRESOURCE_GETCACHEABILITY, "Method getCacheability(): Calls wrapped method");
+ tcd.put(V2WRAPPERTESTS_RESOURCERESPONSEWRAPPER_APIRESOURCE_FLUSHBUFFER, "Method flushBuffer(): Calls wrapped method");
+ tcd.put(V2WRAPPERTESTS_RESOURCERESPONSEWRAPPER_APIRESOURCE_GETBUFFERSIZE, "Method getBufferSize(): Calls wrapped method");
+ tcd.put(V2WRAPPERTESTS_RESOURCERESPONSEWRAPPER_APIRESOURCE_GETCHARACTERENCODING, "Method getCharacterEncoding(): Calls wrapped method");
+ tcd.put(V2WRAPPERTESTS_RESOURCERESPONSEWRAPPER_APIRESOURCE_GETCONTENTTYPE, "Method getContentType(): Calls wrapped method");
+ tcd.put(V2WRAPPERTESTS_RESOURCERESPONSEWRAPPER_APIRESOURCE_GETLOCALE, "Method getLocale(): Calls wrapped method");
+ tcd.put(V2WRAPPERTESTS_RESOURCERESPONSEWRAPPER_APIRESOURCE_GETPORTLETOUTPUTSTREAM, "Method getPortletOutputStream(): Calls wrapped method");
+ tcd.put(V2WRAPPERTESTS_RESOURCERESPONSEWRAPPER_APIRESOURCE_GETWRITER, "Method getWriter(): Calls wrapped method");
+ tcd.put(V2WRAPPERTESTS_RESOURCERESPONSEWRAPPER_APIRESOURCE_ISCOMMITTED, "Method isCommitted(): Calls wrapped method");
+ tcd.put(V2WRAPPERTESTS_RESOURCERESPONSEWRAPPER_APIRESOURCE_RESET, "Method reset(): Calls wrapped method");
+ tcd.put(V2WRAPPERTESTS_RESOURCERESPONSEWRAPPER_APIRESOURCE_RESETBUFFER, "Method resetBuffer(): Calls wrapped method");
+ tcd.put(V2WRAPPERTESTS_RESOURCERESPONSEWRAPPER_APIRESOURCE_SETBUFFERSIZE, "Method setBufferSize(int): Calls wrapped method");
+ tcd.put(V2WRAPPERTESTS_RESOURCERESPONSEWRAPPER_APIRESOURCE_SETCONTENTTYPE, "Method setContentType(String): Calls wrapped method");
+ tcd.put(V2WRAPPERTESTS_RESOURCERESPONSEWRAPPER_APIRESOURCE_GETCACHECONTROL, "Method getCacheControl(): Calls wrapped method");
+ tcd.put(V2WRAPPERTESTS_RESOURCERESPONSEWRAPPER_APIRESOURCE_SETCHARACTERENCODING, "Method setCharacterEncoding(String): Calls wrapped method");
+ tcd.put(V2WRAPPERTESTS_RESOURCERESPONSEWRAPPER_APIRESOURCE_SETLOCALE, "Method setLocale(Locale): Calls wrapped method");
+ tcd.put(V2WRAPPERTESTS_RESOURCERESPONSEWRAPPER_APIRESOURCE_SETCONTENTLENGTH, "Method setContentLength(int): Calls wrapped method");
+ tcd.put(V2WRAPPERTESTS_RESOURCERESPONSEWRAPPER_APIRESOURCE_GETRESPONSE, "Method getResponse(): Returns wrapped RespurceResponse object");
+ tcd.put(V2WRAPPERTESTS_RESOURCERESPONSEWRAPPER_APIRESOURCE_SETRESPONSE, "Method setResponse(ResourceResponse): Allows wrapped ResourceResponse object to be set");
+ tcd.put(V2WRAPPERTESTS_RESOURCERESPONSEWRAPPER_APIRESOURCE_CREATEACTIONURL, "Method createActionURL(): Calls wrapped method");
+ tcd.put(V2WRAPPERTESTS_RESOURCERESPONSEWRAPPER_APIRESOURCE_CREATERENDERURL, "Method createRenderURL(): Calls wrapped method");
+ tcd.put(V2WRAPPERTESTS_RESOURCERESPONSEWRAPPER_APIRESOURCE_CREATERESOURCEURL, "Method createResourceURL(): Calls wrapped method");
tcd.put(V2REQUESTTESTS_PORTLETREQUEST_APIRENDER_FIELDUSER_INFO, "Has String field USER_INFO with value of \"javax.portlet.userinfo\" ");
tcd.put(V2REQUESTTESTS_PORTLETREQUEST_APIRENDER_FIELDCCPP_PROFILE, "Has String field CCPP_PROFILE with value of \"javax.portlet.ccpp\" ");
tcd.put(V2REQUESTTESTS_PORTLETREQUEST_APIRENDER_FIELDBASIC_AUTH, "Has String field BASIC_AUTH with value of \"BASIC\" ");
@@ -2484,8 +2478,8 @@ public class JSR286ApiTestCaseDetails extends TestCaseDetails {
tcd.put(V2RESPONSETESTS_ACTIONRESPONSE_APIACTION_SENDREDIRECTB9, "Method sendRedirect(String, String): Throws IllegalStateException if setRenderParameter has been called before this method ");
tcd.put(V2RESPONSETESTS_ACTIONRESPONSE_APIACTION_SENDREDIRECTB10, "Method sendRedirect(String, String): Throws IllegalStateException if setRenderParameters has been called before this method ");
tcd.put(V2RESPONSETESTS_ACTIONRESPONSE_APIACTION_SENDREDIRECTB11, "Method sendRedirect(String, String): Throws IllegalStateException if removePublicRenderParameter has been called before this method");
- tcd.put(V2RESPONSETESTS_EVENTRESPONSE_APIEVENT_SETRENDERPARAMETERS1, "Method setRenderParameters(java.util.Map): Copies all render parameters set on the EventRequest to the EventResponse");
- tcd.put(V2RESPONSETESTS_EVENTRESPONSE_APIEVENT_SETRENDERPARAMETERS2, "Method setRenderParameters(java.util.Map): Throws IllegalArgumentException if the input EventRequest parameter is null");
+ tcd.put(V2RESPONSETESTS_EVENTRESPONSE_APIEVENT_SETRENDERPARAMETERS1, "Method setRenderParameters(EventRequest): Copies all render parameters set on the EventRequest to the EventResponse");
+ tcd.put(V2RESPONSETESTS_EVENTRESPONSE_APIEVENT_SETRENDERPARAMETERS2, "Method setRenderParameters(EventRequest): Throws IllegalArgumentException if the input EventRequest parameter is null");
tcd.put(V2RESPONSETESTS_MIMERESPONSE_APIRENDER_FIELDEXPIRATION_CACHE , "Has String field EXPIRATION_CACHE with value of \"portlet.expiration-cache\"");
tcd.put(V2RESPONSETESTS_MIMERESPONSE_APIRENDER_FIELDCACHE_SCOPE , "Has String field CACHE_SCOPE with value of \"portlet.cache-scope\"");
tcd.put(V2RESPONSETESTS_MIMERESPONSE_APIRENDER_FIELDPUBLIC_SCOPE , "Has String field PUBLIC_SCOPE with value of \"portlet.public-scope\"");
@@ -2997,10 +2991,10 @@ public class JSR286ApiTestCaseDetails extends TestCaseDetails {
tcd.put(V2ENVIRONMENTTESTS_PORTLETCONTEXT_APIRENDER_GETPORTLETCONTEXTNAME3, "Method getPortletContextName(): Returns null if no web.xml <display-name> element is defined");
tcd.put(V2ENVIRONMENTTESTS_PORTLETCONTEXT_APIRENDER_GETCONTAINERRUNTIMEOPTIONS1, "Method getContainerRuntimeOptions(): Returns an java.util.Enumeration<java.lang.String> containing the available runtime option names");
tcd.put(V2ENVIRONMENTTESTS_PORTLETCONTEXT_APIRENDER_GETCONTAINERRUNTIMEOPTIONS2, "Method getContainerRuntimeOptions(): Returns an empty Enumeration if no runtime options are available");
- tcd.put(V2ENVIRONMENTTESTS_PORTLETPREFERENCES_APIRENDER_ISREADONLY1, "Method isReadOnly(): Returns true if the preference specified by the key is defined to be read-only in the deployment descriptor");
- tcd.put(V2ENVIRONMENTTESTS_PORTLETPREFERENCES_APIRENDER_ISREADONLY2, "Method isReadOnly(): Returns false if the preference specified by the key is not defined to be read-only in the deployment descriptor");
- tcd.put(V2ENVIRONMENTTESTS_PORTLETPREFERENCES_APIRENDER_ISREADONLY3, "Method isReadOnly(): Returns false if the preference specified by the key is undefined");
- tcd.put(V2ENVIRONMENTTESTS_PORTLETPREFERENCES_APIRENDER_ISREADONLY4, "Method isReadOnly(): Throws IllegalArgumentException if the key is null");
+ tcd.put(V2ENVIRONMENTTESTS_PORTLETPREFERENCES_APIRENDER_ISREADONLY1, "Method isReadOnly(String): Returns true if the preference specified by the key is defined to be read-only in the deployment descriptor");
+ tcd.put(V2ENVIRONMENTTESTS_PORTLETPREFERENCES_APIRENDER_ISREADONLY2, "Method isReadOnly(String): Returns false if the preference specified by the key is not defined to be read-only in the deployment descriptor");
+ tcd.put(V2ENVIRONMENTTESTS_PORTLETPREFERENCES_APIRENDER_ISREADONLY3, "Method isReadOnly(String): Returns false if the preference specified by the key is undefined");
+ tcd.put(V2ENVIRONMENTTESTS_PORTLETPREFERENCES_APIRENDER_ISREADONLY4, "Method isReadOnly(String): Throws IllegalArgumentException if the key is null");
tcd.put(V2ENVIRONMENTTESTS_PORTLETPREFERENCES_APIRENDER_GETVALUE1, "Method getValue(String, String): Returns the first String value for the specified key");
tcd.put(V2ENVIRONMENTTESTS_PORTLETPREFERENCES_APIRENDER_GETVALUE2, "Method getValue(String, String): Returns the specified default value if there is no value for the specified key ");
tcd.put(V2ENVIRONMENTTESTS_PORTLETPREFERENCES_APIRENDER_GETVALUE3, "Method getValue(String, String): Returns the specified default value if the existing value for the specified key is null ");
@@ -3014,12 +3008,12 @@ public class JSR286ApiTestCaseDetails extends TestCaseDetails {
tcd.put(V2ENVIRONMENTTESTS_PORTLETPREFERENCES_APIRENDER_GETNAMES2, "Method getNames(): Returns an empty Enumeration if no preference keys are available");
tcd.put(V2ENVIRONMENTTESTS_PORTLETPREFERENCES_APIRENDER_GETMAP1, "Method getMap(): Returns an java.util.Map<java.lang.String> containing the available preferences");
tcd.put(V2ENVIRONMENTTESTS_PORTLETPREFERENCES_APIRENDER_GETMAP2, "Method getMap(): Returns an empty Map if no preferences are available");
- tcd.put(V2ENVIRONMENTTESTS_PORTLETPREFERENCES_APIRENDER_RESET2, "Method reset(): Throws ReadOnlyException if the preference cannot be modified for this request");
+ tcd.put(V2ENVIRONMENTTESTS_PORTLETPREFERENCES_APIRENDER_RESET2, "Method reset(String): Throws ReadOnlyException if the preference cannot be modified for this request");
tcd.put(V2ENVIRONMENTTESTS_PORTLETPREFERENCES_APIRENDER_STORE5, "Method store(): Throws IllegalStateException if store(): is called in the render method ");
- tcd.put(V2ENVIRONMENTTESTS_PORTLETPREFERENCES_APIACTION_ISREADONLY1, "Method isReadOnly(): Returns true if the preference specified by the key is defined to be read-only in the deployment descriptor");
- tcd.put(V2ENVIRONMENTTESTS_PORTLETPREFERENCES_APIACTION_ISREADONLY2, "Method isReadOnly(): Returns false if the preference specified by the key is not defined to be read-only in the deployment descriptor");
- tcd.put(V2ENVIRONMENTTESTS_PORTLETPREFERENCES_APIACTION_ISREADONLY3, "Method isReadOnly(): Returns false if the preference specified by the key is undefined");
- tcd.put(V2ENVIRONMENTTESTS_PORTLETPREFERENCES_APIACTION_ISREADONLY4, "Method isReadOnly(): Throws IllegalArgumentException if the key is null");
+ tcd.put(V2ENVIRONMENTTESTS_PORTLETPREFERENCES_APIACTION_ISREADONLY1, "Method isReadOnly(String): Returns true if the preference specified by the key is defined to be read-only in the deployment descriptor");
+ tcd.put(V2ENVIRONMENTTESTS_PORTLETPREFERENCES_APIACTION_ISREADONLY2, "Method isReadOnly(String): Returns false if the preference specified by the key is not defined to be read-only in the deployment descriptor");
+ tcd.put(V2ENVIRONMENTTESTS_PORTLETPREFERENCES_APIACTION_ISREADONLY3, "Method isReadOnly(String): Returns false if the preference specified by the key is undefined");
+ tcd.put(V2ENVIRONMENTTESTS_PORTLETPREFERENCES_APIACTION_ISREADONLY4, "Method isReadOnly(String): Throws IllegalArgumentException if the key is null");
tcd.put(V2ENVIRONMENTTESTS_PORTLETPREFERENCES_APIACTION_GETVALUE1, "Method getValue(String, String): Returns the first String value for the specified key");
tcd.put(V2ENVIRONMENTTESTS_PORTLETPREFERENCES_APIACTION_GETVALUE2, "Method getValue(String, String): Returns the specified default value if there is no value for the specified key ");
tcd.put(V2ENVIRONMENTTESTS_PORTLETPREFERENCES_APIACTION_GETVALUE3, "Method getValue(String, String): Returns the specified default value if the existing value for the specified key is null ");
@@ -3043,9 +3037,9 @@ public class JSR286ApiTestCaseDetails extends TestCaseDetails {
tcd.put(V2ENVIRONMENTTESTS_PORTLETPREFERENCES_APIACTION_GETNAMES2, "Method getNames(): Returns an empty Enumeration if no preference keys are available");
tcd.put(V2ENVIRONMENTTESTS_PORTLETPREFERENCES_APIACTION_GETMAP1, "Method getMap(): Returns an java.util.Map<java.lang.String> containing the available preferences");
tcd.put(V2ENVIRONMENTTESTS_PORTLETPREFERENCES_APIACTION_GETMAP2, "Method getMap(): Returns an empty Map if no preferences are available");
- tcd.put(V2ENVIRONMENTTESTS_PORTLETPREFERENCES_APIACTION_RESET1, "Method reset(): Removes the value associated with the specified key");
- tcd.put(V2ENVIRONMENTTESTS_PORTLETPREFERENCES_APIACTION_RESET2, "Method reset(): Throws ReadOnlyException if the preference cannot be modified for this request");
- tcd.put(V2ENVIRONMENTTESTS_PORTLETPREFERENCES_APIACTION_RESET3, "Method reset(): Throws IllegalArgumentException if the key is null");
+ tcd.put(V2ENVIRONMENTTESTS_PORTLETPREFERENCES_APIACTION_RESET1, "Method reset(String): Removes the value associated with the specified key");
+ tcd.put(V2ENVIRONMENTTESTS_PORTLETPREFERENCES_APIACTION_RESET2, "Method reset(String): Throws ReadOnlyException if the preference cannot be modified for this request");
+ tcd.put(V2ENVIRONMENTTESTS_PORTLETPREFERENCES_APIACTION_RESET3, "Method reset(String): Throws IllegalArgumentException if the key is null");
tcd.put(V2ENVIRONMENTTESTS_PORTLETPREFERENCES_APIACTION_STORE1, "Method store(): Commits changes made to the preferences to the persistent store ");
tcd.put(V2ENVIRONMENTTESTS_PORTLETPREFERENCES_APIACTION_STORE2, "Method store(): If the store(): method is not called, changes made are discarded");
tcd.put(V2ENVIRONMENTTESTS_PORTLETPREFERENCES_APIACTION_STORE3, "Method store(): If a validator is defined, it is called before the actual store is performed");
@@ -3055,10 +3049,10 @@ public class JSR286ApiTestCaseDetails extends TestCaseDetails {
tcd.put(V2ENVIRONMENTTESTS_PREFERENCESVALIDATOR_APIACTION_CANBECONFIGURED, "A PreferencesValidator can be configured in the deployment descriptor");
tcd.put(V2ENVIRONMENTTESTS_PREFERENCESVALIDATOR_APIACTION_VALIDATE1, "Method validate(PortletPreferences): The validate(PortletPreferences): method is called when the preferences are stored ");
tcd.put(V2ENVIRONMENTTESTS_PREFERENCESVALIDATOR_APIACTION_VALIDATE2, "Method validate(PortletPreferences): If a ValidatorException is thrown, the preferences are not stored");
- tcd.put(V2ENVIRONMENTTESTS_PORTLETPREFERENCES_APIEVENT_ISREADONLY1, "Method isReadOnly(): Returns true if the preference specified by the key is defined to be read-only in the deployment descriptor");
- tcd.put(V2ENVIRONMENTTESTS_PORTLETPREFERENCES_APIEVENT_ISREADONLY2, "Method isReadOnly(): Returns false if the preference specified by the key is not defined to be read-only in the deployment descriptor");
- tcd.put(V2ENVIRONMENTTESTS_PORTLETPREFERENCES_APIEVENT_ISREADONLY3, "Method isReadOnly(): Returns false if the preference specified by the key is undefined");
- tcd.put(V2ENVIRONMENTTESTS_PORTLETPREFERENCES_APIEVENT_ISREADONLY4, "Method isReadOnly(): Throws IllegalArgumentException if the key is null");
+ tcd.put(V2ENVIRONMENTTESTS_PORTLETPREFERENCES_APIEVENT_ISREADONLY1, "Method isReadOnly(String): Returns true if the preference specified by the key is defined to be read-only in the deployment descriptor");
+ tcd.put(V2ENVIRONMENTTESTS_PORTLETPREFERENCES_APIEVENT_ISREADONLY2, "Method isReadOnly(String): Returns false if the preference specified by the key is not defined to be read-only in the deployment descriptor");
+ tcd.put(V2ENVIRONMENTTESTS_PORTLETPREFERENCES_APIEVENT_ISREADONLY3, "Method isReadOnly(String): Returns false if the preference specified by the key is undefined");
+ tcd.put(V2ENVIRONMENTTESTS_PORTLETPREFERENCES_APIEVENT_ISREADONLY4, "Method isReadOnly(String): Throws IllegalArgumentException if the key is null");
tcd.put(V2ENVIRONMENTTESTS_PORTLETPREFERENCES_APIEVENT_GETVALUE1, "Method getValue(String, String): Returns the first String value for the specified key");
tcd.put(V2ENVIRONMENTTESTS_PORTLETPREFERENCES_APIEVENT_GETVALUE2, "Method getValue(String, String): Returns the specified default value if there is no value for the specified key ");
tcd.put(V2ENVIRONMENTTESTS_PORTLETPREFERENCES_APIEVENT_GETVALUE3, "Method getValue(String, String): Returns the specified default value if the existing value for the specified key is null ");
@@ -3082,9 +3076,9 @@ public class JSR286ApiTestCaseDetails extends TestCaseDetails {
tcd.put(V2ENVIRONMENTTESTS_PORTLETPREFERENCES_APIEVENT_GETNAMES2, "Method getNames(): Returns an empty Enumeration if no preference keys are available");
tcd.put(V2ENVIRONMENTTESTS_PORTLETPREFERENCES_APIEVENT_GETMAP1, "Method getMap(): Returns an java.util.Map<java.lang.String> containing the available preferences");
tcd.put(V2ENVIRONMENTTESTS_PORTLETPREFERENCES_APIEVENT_GETMAP2, "Method getMap(): Returns an empty Map if no preferences are available");
- tcd.put(V2ENVIRONMENTTESTS_PORTLETPREFERENCES_APIEVENT_RESET1, "Method reset(): Removes the value associated with the specified key");
- tcd.put(V2ENVIRONMENTTESTS_PORTLETPREFERENCES_APIEVENT_RESET2, "Method reset(): Throws ReadOnlyException if the preference cannot be modified for this request");
- tcd.put(V2ENVIRONMENTTESTS_PORTLETPREFERENCES_APIEVENT_RESET3, "Method reset(): Throws IllegalArgumentException if the key is null");
+ tcd.put(V2ENVIRONMENTTESTS_PORTLETPREFERENCES_APIEVENT_RESET1, "Method reset(String): Removes the value associated with the specified key");
+ tcd.put(V2ENVIRONMENTTESTS_PORTLETPREFERENCES_APIEVENT_RESET2, "Method reset(String): Throws ReadOnlyException if the preference cannot be modified for this request");
+ tcd.put(V2ENVIRONMENTTESTS_PORTLETPREFERENCES_APIEVENT_RESET3, "Method reset(String): Throws IllegalArgumentException if the key is null");
tcd.put(V2ENVIRONMENTTESTS_PORTLETPREFERENCES_APIEVENT_STORE1, "Method store(): Commits changes made to the preferences to the persistent store ");
tcd.put(V2ENVIRONMENTTESTS_PORTLETPREFERENCES_APIEVENT_STORE2, "Method store(): If the store(): method is not called, changes made are discarded");
tcd.put(V2ENVIRONMENTTESTS_PORTLETPREFERENCES_APIEVENT_STORE3, "Method store(): If a validator is defined, it is called before the actual store is performed");
@@ -3094,10 +3088,10 @@ public class JSR286ApiTestCaseDetails extends TestCaseDetails {
tcd.put(V2ENVIRONMENTTESTS_PREFERENCESVALIDATOR_APIEVENT_CANBECONFIGURED, "A PreferencesValidator can be configured in the deployment descriptor");
tcd.put(V2ENVIRONMENTTESTS_PREFERENCESVALIDATOR_APIEVENT_VALIDATE1, "Method validate(PortletPreferences): The validate(PortletPreferences): method is called when the preferences are stored ");
tcd.put(V2ENVIRONMENTTESTS_PREFERENCESVALIDATOR_APIEVENT_VALIDATE2, "Method validate(PortletPreferences): If a ValidatorException is thrown, the preferences are not stored");
- tcd.put(V2ENVIRONMENTTESTS_PORTLETPREFERENCES_APIRESOURCE_ISREADONLY1, "Method isReadOnly(): Returns true if the preference specified by the key is defined to be read-only in the deployment descriptor");
- tcd.put(V2ENVIRONMENTTESTS_PORTLETPREFERENCES_APIRESOURCE_ISREADONLY2, "Method isReadOnly(): Returns false if the preference specified by the key is not defined to be read-only in the deployment descriptor");
- tcd.put(V2ENVIRONMENTTESTS_PORTLETPREFERENCES_APIRESOURCE_ISREADONLY3, "Method isReadOnly(): Returns false if the preference specified by the key is undefined");
- tcd.put(V2ENVIRONMENTTESTS_PORTLETPREFERENCES_APIRESOURCE_ISREADONLY4, "Method isReadOnly(): Throws IllegalArgumentException if the key is null");
+ tcd.put(V2ENVIRONMENTTESTS_PORTLETPREFERENCES_APIRESOURCE_ISREADONLY1, "Method isReadOnly(String): Returns true if the preference specified by the key is defined to be read-only in the deployment descriptor");
+ tcd.put(V2ENVIRONMENTTESTS_PORTLETPREFERENCES_APIRESOURCE_ISREADONLY2, "Method isReadOnly(String): Returns false if the preference specified by the key is not defined to be read-only in the deployment descriptor");
+ tcd.put(V2ENVIRONMENTTESTS_PORTLETPREFERENCES_APIRESOURCE_ISREADONLY3, "Method isReadOnly(String): Returns false if the preference specified by the key is undefined");
+ tcd.put(V2ENVIRONMENTTESTS_PORTLETPREFERENCES_APIRESOURCE_ISREADONLY4, "Method isReadOnly(String): Throws IllegalArgumentException if the key is null");
tcd.put(V2ENVIRONMENTTESTS_PORTLETPREFERENCES_APIRESOURCE_GETVALUE1, "Method getValue(String, String): Returns the first String value for the specified key");
tcd.put(V2ENVIRONMENTTESTS_PORTLETPREFERENCES_APIRESOURCE_GETVALUE2, "Method getValue(String, String): Returns the specified default value if there is no value for the specified key ");
tcd.put(V2ENVIRONMENTTESTS_PORTLETPREFERENCES_APIRESOURCE_GETVALUE3, "Method getValue(String, String): Returns the specified default value if the existing value for the specified key is null ");
@@ -3121,9 +3115,9 @@ public class JSR286ApiTestCaseDetails extends TestCaseDetails {
tcd.put(V2ENVIRONMENTTESTS_PORTLETPREFERENCES_APIRESOURCE_GETNAMES2, "Method getNames(): Returns an empty Enumeration if no preference keys are available");
tcd.put(V2ENVIRONMENTTESTS_PORTLETPREFERENCES_APIRESOURCE_GETMAP1, "Method getMap(): Returns an java.util.Map<java.lang.String> containing the available preferences");
tcd.put(V2ENVIRONMENTTESTS_PORTLETPREFERENCES_APIRESOURCE_GETMAP2, "Method getMap(): Returns an empty Map if no preferences are available");
- tcd.put(V2ENVIRONMENTTESTS_PORTLETPREFERENCES_APIRESOURCE_RESET1, "Method reset(): Removes the value associated with the specified key");
- tcd.put(V2ENVIRONMENTTESTS_PORTLETPREFERENCES_APIRESOURCE_RESET2, "Method reset(): Throws ReadOnlyException if the preference cannot be modified for this request");
- tcd.put(V2ENVIRONMENTTESTS_PORTLETPREFERENCES_APIRESOURCE_RESET3, "Method reset(): Throws IllegalArgumentException if the key is null");
+ tcd.put(V2ENVIRONMENTTESTS_PORTLETPREFERENCES_APIRESOURCE_RESET1, "Method reset(String): Removes the value associated with the specified key");
+ tcd.put(V2ENVIRONMENTTESTS_PORTLETPREFERENCES_APIRESOURCE_RESET2, "Method reset(String): Throws ReadOnlyException if the preference cannot be modified for this request");
+ tcd.put(V2ENVIRONMENTTESTS_PORTLETPREFERENCES_APIRESOURCE_RESET3, "Method reset(String): Throws IllegalArgumentException if the key is null");
tcd.put(V2ENVIRONMENTTESTS_PORTLETPREFERENCES_APIRESOURCE_STORE1, "Method store(): Commits changes made to the preferences to the persistent store ");
tcd.put(V2ENVIRONMENTTESTS_PORTLETPREFERENCES_APIRESOURCE_STORE2, "Method store(): If the store(): method is not called, changes made are discarded");
tcd.put(V2ENVIRONMENTTESTS_PORTLETPREFERENCES_APIRESOURCE_STORE3, "Method store(): If a validator is defined, it is called before the actual store is performed");
http://git-wip-us.apache.org/repos/asf/portals-pluto/blob/2f638d7a/portlet-tck_3.0/common/src/main/java/javax/portlet/tck/beans/PortletRequestWrapperChecker.java
----------------------------------------------------------------------
diff --git a/portlet-tck_3.0/common/src/main/java/javax/portlet/tck/beans/PortletRequestWrapperChecker.java b/portlet-tck_3.0/common/src/main/java/javax/portlet/tck/beans/PortletRequestWrapperChecker.java
new file mode 100644
index 0000000..b6f541e
--- /dev/null
+++ b/portlet-tck_3.0/common/src/main/java/javax/portlet/tck/beans/PortletRequestWrapperChecker.java
@@ -0,0 +1,452 @@
+/* Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package javax.portlet.tck.beans;
+
+import java.security.*;
+import java.util.*;
+import java.io.*;
+
+import javax.portlet.PortletRequest;
+import javax.portlet.PortalContext;
+import javax.portlet.PortletMode;
+import javax.portlet.PortletPreferences;
+import javax.portlet.PortletRequest;
+import javax.portlet.PortletSession;
+import javax.portlet.WindowState;
+import javax.servlet.http.Cookie;
+
+/**
+ * This class tests a wrapper class by simulating the class to be wrapped.The test code
+ * verifies that the arguments passed to the wrapping method are correctly passed to
+ * the wrapped class. Simulated return data is passed back to the caller.
+ *
+ * @author nick
+ */
+
+
+public class PortletRequestWrapperChecker extends WrapperChecker implements PortletRequest {
+
+ private PortletRequest req;
+ private PortletSession sess;
+ private PortletPreferences prefs;
+ private PortalContext pcntxt;
+ private Principal ppal;
+
+ public PortletRequestWrapperChecker(PortletRequest portletReq) {
+ req = portletReq;
+ sess = req.getPortletSession();
+ prefs = req.getPreferences();
+ pcntxt = req.getPortalContext();
+ ppal = req.getUserPrincipal();
+ }
+
+ @Override
+ public boolean isWindowStateAllowed(WindowState state) {
+ String meth = "isWindowStateAllowed";
+ Object[] args = {state};
+ boolean ret = true;
+ retVal = ret;
+ checkArgs(meth, args);
+ return ret;
+ }
+
+ @Override
+ public boolean isPortletModeAllowed(PortletMode mode) {
+ String meth = "isPortletModeAllowed";
+ Object[] args = {mode};
+ boolean ret = true;
+ retVal = ret;
+ checkArgs(meth, args);
+ return ret;
+ }
+
+ @Override
+ public PortletMode getPortletMode() {
+ String meth = "getPortletMode";
+ Object[] args = {};
+ PortletMode ret = PortletMode.EDIT;
+ retVal = ret;
+ checkArgs(meth, args);
+ return ret;
+ }
+
+ @Override
+ public WindowState getWindowState() {
+ String meth = "getWindowState";
+ Object[] args = {};
+ WindowState ret = WindowState.NORMAL;
+ retVal = ret;
+ checkArgs(meth, args);
+ return ret;
+ }
+
+ @Override
+ public PortletPreferences getPreferences() {
+ String meth = "getPreferences";
+ Object[] args = {};
+ PortletPreferences ret = prefs;
+ retVal = ret;
+ checkArgs(meth, args);
+ return ret;
+ }
+
+ @Override
+ public PortletSession getPortletSession() {
+ String meth = "getPortletSession";
+ Object[] args = {};
+ PortletSession ret = sess;
+ retVal = ret;
+ checkArgs(meth, args);
+ return ret;
+ }
+
+ @Override
+ public PortletSession getPortletSession(boolean create) {
+ String meth = "getPortletSession";
+ Object[] args = {create};
+ PortletSession ret = sess;
+ retVal = ret;
+ checkArgs(meth, args);
+ return ret;
+ }
+
+ @Override
+ public String getProperty(String name) {
+ String meth = "getProperty";
+ Object[] args = {name};
+ String ret = "value";
+ retVal = ret;
+ checkArgs(meth, args);
+ return ret;
+ }
+
+ @Override
+ public Enumeration<String> getProperties(String name) {
+ String meth = "getProperties";
+ Object[] args = {name};
+ String[] strs = {"val1", "val2"};
+ Enumeration<String> ret = Collections.enumeration(Arrays.asList(strs));
+ retVal = ret;
+ checkArgs(meth, args);
+ return ret;
+ }
+
+ @Override
+ public Enumeration<String> getPropertyNames() {
+ String meth = "getPropertyNames";
+ Object[] args = {};
+ String[] strs = {"val1", "val2"};
+ Enumeration<String> ret = Collections.enumeration(Arrays.asList(strs));
+ retVal = ret;
+ checkArgs(meth, args);
+ return ret;
+ }
+
+ @Override
+ public PortalContext getPortalContext() {
+ String meth = "getPortalContext";
+ Object[] args = {};
+ PortalContext ret = pcntxt;
+ retVal = ret;
+ checkArgs(meth, args);
+ return ret;
+ }
+
+ @Override
+ public String getAuthType() {
+ String meth = "getAuthType";
+ Object[] args = {};
+ String ret = "value";
+ retVal = ret;
+ checkArgs(meth, args);
+ return ret;
+ }
+
+ @Override
+ public String getContextPath() {
+ String meth = "getContextPath";
+ Object[] args = {};
+ String ret = "value";
+ retVal = ret;
+ checkArgs(meth, args);
+ return ret;
+ }
+
+ @Override
+ public String getRemoteUser() {
+ String meth = "getRemoteUser";
+ Object[] args = {};
+ String ret = "value";
+ retVal = ret;
+ checkArgs(meth, args);
+ return ret;
+ }
+
+ @Override
+ public Principal getUserPrincipal() {
+ String meth = "getUserPrincipal";
+ Object[] args = {};
+ Principal ret = ppal;
+ retVal = ret;
+ checkArgs(meth, args);
+ return ret;
+ }
+
+ @Override
+ public boolean isUserInRole(String role) {
+ String meth = "isUserInRole";
+ Object[] args = {role};
+ boolean ret = true;
+ retVal = ret;
+ checkArgs(meth, args);
+ return ret;
+ }
+
+ @Override
+ public Object getAttribute(String name) {
+ String meth = "getAttribute";
+ Object[] args = {name};
+ Object ret = "object";
+ retVal = ret;
+ checkArgs(meth, args);
+ return ret;
+ }
+
+ @Override
+ public Enumeration<String> getAttributeNames() {
+ String meth = "getAttributeNames";
+ Object[] args = {};
+ String[] strs = {"val1", "val2"};
+ Enumeration<String> ret = Collections.enumeration(Arrays.asList(strs));
+ retVal = ret;
+ checkArgs(meth, args);
+ return ret;
+ }
+
+ @Override
+ public String getParameter(String name) {
+ String meth = "getParameter";
+ Object[] args = {name};
+ String ret = "value";
+ retVal = ret;
+ checkArgs(meth, args);
+ return ret;
+ }
+
+ @Override
+ public Enumeration<String> getParameterNames() {
+ String meth = "getParameterNames";
+ Object[] args = {};
+ String[] strs = {"val1", "val2"};
+ Enumeration<String> ret = Collections.enumeration(Arrays.asList(strs));
+ retVal = ret;
+ checkArgs(meth, args);
+ return ret;
+ }
+
+ @Override
+ public String[] getParameterValues(String name) {
+ String meth = "getParameterValues";
+ Object[] args = {name};
+ String[] ret = {"val1", "val2"};
+ retVal = ret;
+ checkArgs(meth, args);
+ return ret;
+ }
+
+ @Override
+ public Map<String, String[]> getParameterMap() {
+ String meth = "getParameterMap";
+ Object[] args = {};
+ Map<String, String[]> parms = new HashMap<String, String[]>();
+ parms.put("parm1", new String[] {"val1", "val2"});
+ parms.put("parm2", new String[] {"val1", "val2"});
+ Map<String, String[]> ret = parms;
+ retVal = ret;
+ checkArgs(meth, args);
+ return ret;
+ }
+
+ @Override
+ public boolean isSecure() {
+ String meth = "isSecure";
+ Object[] args = {};
+ boolean ret = true;
+ retVal = ret;
+ checkArgs(meth, args);
+ return ret;
+ }
+
+ @Override
+ public void setAttribute(String name, Object o) {
+ String meth = "setAttribute";
+ Object[] args = {name, o};
+ checkArgs(meth, args);
+ return;
+
+ }
+
+ @Override
+ public void removeAttribute(String name) {
+ String meth = "removeAttribute";
+ Object[] args = {name};
+ checkArgs(meth, args);
+ return;
+
+ }
+
+ @Override
+ public String getRequestedSessionId() {
+ String meth = "getRequestedSessionId";
+ Object[] args = {};
+ String ret = "value";
+ retVal = ret;
+ checkArgs(meth, args);
+ return ret;
+ }
+
+ @Override
+ public boolean isRequestedSessionIdValid() {
+ String meth = "isRequestedSessionIdValid";
+ Object[] args = {};
+ boolean ret = true;
+ retVal = ret;
+ checkArgs(meth, args);
+ return ret;
+ }
+
+ @Override
+ public String getResponseContentType() {
+ String meth = "getResponseContentType";
+ Object[] args = {};
+ String ret = "value";
+ retVal = ret;
+ checkArgs(meth, args);
+ return ret;
+ }
+
+ @Override
+ public Enumeration<String> getResponseContentTypes() {
+ String meth = "getResponseContentTypes";
+ Object[] args = {};
+ String[] strs = {"val1", "val2"};
+ Enumeration<String> ret = Collections.enumeration(Arrays.asList(strs));
+ retVal = ret;
+ checkArgs(meth, args);
+ return ret;
+ }
+
+ @Override
+ public Locale getLocale() {
+ String meth = "getLocale";
+ Object[] args = {};
+ Locale ret = new Locale("en");
+ retVal = ret;
+ checkArgs(meth, args);
+ return ret;
+ }
+
+ @Override
+ public Enumeration<Locale> getLocales() {
+ String meth = "getLocales";
+ Object[] args = {};
+ Locale[] la = {new Locale("en"), new Locale("de")};
+ Enumeration<Locale> ret = Collections.enumeration(Arrays.asList(la));
+ retVal = ret;
+ checkArgs(meth, args);
+ return ret;
+ }
+
+ @Override
+ public String getScheme() {
+ String meth = "getScheme";
+ Object[] args = {};
+ String ret = "value";
+ retVal = ret;
+ checkArgs(meth, args);
+ return ret;
+ }
+
+ @Override
+ public String getServerName() {
+ String meth = "getServerName";
+ Object[] args = {};
+ String ret = "value";
+ retVal = ret;
+ checkArgs(meth, args);
+ return ret;
+ }
+
+ @Override
+ public int getServerPort() {
+ String meth = "getServerPort";
+ Object[] args = {};
+ int ret = 42;
+ retVal = ret;
+ checkArgs(meth, args);
+ return ret;
+ }
+
+ @Override
+ public String getWindowID() {
+ String meth = "getWindowID";
+ Object[] args = {};
+ String ret = "value";
+ retVal = ret;
+ checkArgs(meth, args);
+ return ret;
+ }
+
+ @Override
+ public Cookie[] getCookies() {
+ String meth = "getCookies";
+ Object[] args = {};
+ Cookie[] ret = {new Cookie("name", "Bob"), new Cookie("name", "Alice")};
+ retVal = ret;
+ checkArgs(meth, args);
+ return ret;
+ }
+
+ @Override
+ public Map<String, String[]> getPrivateParameterMap() {
+ String meth = "getPrivateParameterMap";
+ Object[] args = {};
+ Map<String, String[]> parms = new HashMap<String, String[]>();
+ parms.put("parm1", new String[] {"val1", "val2"});
+ parms.put("parm2", new String[] {"val1", "val2"});
+ Map<String, String[]> ret = parms;
+ retVal = ret;
+ checkArgs(meth, args);
+ return ret;
+ }
+
+ @Override
+ public Map<String, String[]> getPublicParameterMap() {
+ String meth = "getPublicParameterMap";
+ Object[] args = {};
+ Map<String, String[]> parms = new HashMap<String, String[]>();
+ parms.put("parm1", new String[] {"val1", "val2"});
+ parms.put("parm2", new String[] {"val1", "val2"});
+ Map<String, String[]> ret = parms;
+ retVal = ret;
+ checkArgs(meth, args);
+ return ret;
+ }
+
+}
+
http://git-wip-us.apache.org/repos/asf/portals-pluto/blob/2f638d7a/portlet-tck_3.0/common/src/main/java/javax/portlet/tck/beans/PortletResponseWrapperChecker.java
----------------------------------------------------------------------
diff --git a/portlet-tck_3.0/common/src/main/java/javax/portlet/tck/beans/PortletResponseWrapperChecker.java b/portlet-tck_3.0/common/src/main/java/javax/portlet/tck/beans/PortletResponseWrapperChecker.java
new file mode 100644
index 0000000..1e36e21
--- /dev/null
+++ b/portlet-tck_3.0/common/src/main/java/javax/portlet/tck/beans/PortletResponseWrapperChecker.java
@@ -0,0 +1,121 @@
+/* Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package javax.portlet.tck.beans;
+
+import java.io.IOException;
+import java.io.Serializable;
+import java.util.Map;
+
+import java.security.*;
+import java.util.*;
+import java.io.*;
+
+import javax.portlet.*;
+import javax.servlet.*;
+import javax.servlet.http.*;
+
+import org.w3c.dom.DOMException;
+import org.w3c.dom.Element;
+
+/**
+ * This class tests a wrapper class by simulating the class to be wrapped.The test code
+ * verifies that the arguments passed to the wrapping method are correctly passed to
+ * the wrapped class. Simulated return data is passed back to the caller.
+ *
+ * @author nick
+ */
+
+public class PortletResponseWrapperChecker extends WrapperChecker implements
+ PortletResponse {
+
+ PortletResponse resp;
+ Element element;
+
+ public PortletResponseWrapperChecker(PortletResponse portletResp) {
+ resp = portletResp;
+ element = resp.createElement("p");
+ }
+
+ @Override
+ public void addProperty(String key, String value) {
+ String meth = "addProperty";
+ Object[] args = {key, value};
+ checkArgs(meth, args);
+ return;
+
+ }
+
+ @Override
+ public void setProperty(String key, String value) {
+ String meth = "setProperty";
+ Object[] args = {key, value};
+ checkArgs(meth, args);
+ return;
+
+ }
+
+ @Override
+ public String encodeURL(String path) {
+ String meth = "encodeURL";
+ Object[] args = {path};
+ String ret = "value";
+ retVal = ret;
+ checkArgs(meth, args);
+ return ret;
+ }
+
+ @Override
+ public String getNamespace() {
+ String meth = "getNamespace";
+ Object[] args = {};
+ String ret = "value";
+ retVal = ret;
+ checkArgs(meth, args);
+ return ret;
+ }
+
+ @Override
+ public void addProperty(Cookie cookie) {
+ String meth = "addProperty";
+ Object[] args = {cookie};
+ checkArgs(meth, args);
+ return;
+
+ }
+
+ @Override
+ public void addProperty(String key, Element element) {
+ String meth = "addProperty";
+ Object[] args = {key, element};
+ checkArgs(meth, args);
+ return;
+
+ }
+
+ @Override
+ public Element createElement(String tagName) throws DOMException {
+ String meth = "createElement";
+ Object[] args = {tagName};
+ Element ret = element;
+ retVal = ret;
+ checkArgs(meth, args);
+ return ret;
+ }
+
+}
+