Author: bdaw
Date: 2008-01-29 10:51:20 -0500 (Tue, 29 Jan 2008)
New Revision: 9633
Modified:
modules/portlet/trunk/portlet/src/test/java/org/jboss/portal/unit/Assertion.java
Log:
more updated Assertion
Modified:
modules/portlet/trunk/portlet/src/test/java/org/jboss/portal/unit/Assertion.java
===================================================================
---
modules/portlet/trunk/portlet/src/test/java/org/jboss/portal/unit/Assertion.java 2008-01-29
15:47:35 UTC (rev 9632)
+++
modules/portlet/trunk/portlet/src/test/java/org/jboss/portal/unit/Assertion.java 2008-01-29
15:51:20 UTC (rev 9633)
@@ -493,17 +493,28 @@
// PLT,7 Portlet URLs
JSR286_35(new TCK(35), "", ""),
-
- //..
-
+ JSR286_36(new TCK(36), "", ""),
+ JSR286_37(new TCK(37), "", ""),
+ JSR286_38(new TCK(38), "", ""),
+ JSR286_39(new TCK(39), "", ""),
+ JSR286_40(new TCK(40), "", ""),
+ JSR286_41(new TCK(41), "", ""),
+ JSR286_42(new TCK(42), "", ""),
+ JSR286_43(new TCK(43), "", ""),
+ JSR286_44(new TCK(45), "", ""),
+ JSR286_45(new TCK(44), "", ""),
+ JSR286_46(new TCK(46), "", ""),
+ JSR286_47(new TCK(47), "", ""),
+ JSR286_48(new TCK(48), "", ""),
+ JSR286_49(new TCK(49), "", ""),
+ JSR286_50(new TCK(50), "", ""),
JSR286_51(new TCK(51), "", ""),
// PLT.8 Portlet Modes
JSR286_52(new TCK(52), "", ""),
-
- //..
-
+ JSR286_53(new TCK(53), "", ""),
+ JSR286_54(new TCK(54), "", ""),
JSR286_55(new TCK(55), "", ""),
// PLT.9 Window States
@@ -515,9 +526,12 @@
// PLT.10 Portlet Context
JSR286_59(new TCK(59), "", ""),
-
- //..
-
+ JSR286_60(new TCK(60), "", ""),
+ JSR286_61(new TCK(61), "", ""),
+ JSR286_62(new TCK(62), "", ""),
+ JSR286_63(new TCK(63), "", ""),
+ JSR286_64(new TCK(64), "", ""),
+ JSR286_65(new TCK(64), "", ""),
JSR286_66(new TCK(66), "", ""),
// PLT.11 Portlet Requests
@@ -607,23 +621,45 @@
// PLT.12 Portlet Responses
JSR286_100(new TCK(100), "", ""),
-
- //..
-
+ JSR286_101(new TCK(101), "", ""),
+ JSR286_102(new TCK(102), "", ""),
JSR286_103(new TCK(103), "Using the setRenderParameter and setRenderParameters
methods portlets may set " +
"render parameters. A call to any of the setRenderParameter methods must
replace any " +
"parameter with the same name previously set."),
- //..
+ JSR286_104(new TCK(104), "", ""),
+ JSR286_105(new TCK(105), "", ""),
+ JSR286_106(new TCK(106), "", ""),
+ JSR286_107(new TCK(107), "", ""),
+ JSR286_108(new TCK(108), "", ""),
+ JSR286_109(new TCK(109), "", ""),
+ JSR286_110(new TCK(110), "", ""),
+ JSR286_111(new TCK(111), "", ""),
+ JSR286_112(new TCK(112), "", ""),
+ JSR286_113(new TCK(113), "", ""),
+ JSR286_114(new TCK(114), "", ""),
+ JSR286_115(new TCK(115), "", ""),
+ JSR286_116(new TCK(116), "", ""),
+ JSR286_117(new TCK(117), "", ""),
+ JSR286_118(new TCK(118), "", ""),
+ JSR286_119(new TCK(119), "", ""),
+ JSR286_120(new TCK(120), "", ""),
JSR286_121(new TCK(121), "", ""),
+
// PLT.13 Resource Serving
JSR286_122(new TCK(122), "", ""),
-
- //..
-
+ JSR286_123(new TCK(123), "", ""),
+ JSR286_124(new TCK(124), "", ""),
+ JSR286_125(new TCK(125), "", ""),
+ JSR286_126(new TCK(126), "", ""),
+ JSR286_127(new TCK(127), "", ""),
+ JSR286_128(new TCK(128), "", ""),
+ JSR286_129(new TCK(129), "", ""),
+ JSR286_130(new TCK(130), "", ""),
+ JSR286_131(new TCK(131), "", ""),
JSR286_132(new TCK(132), "", ""),
@@ -668,17 +704,37 @@
JSR286_148(new TCK(148), "", ""),
- //..
-
+ JSR286_149(new TCK(149), "", ""),
+ JSR286_150(new TCK(150), "", ""),
+ JSR286_151(new TCK(151), "", ""),
+ JSR286_152(new TCK(152), "", ""),
+ JSR286_153(new TCK(153), "", ""),
+ JSR286_154(new TCK(154), "", ""),
+ JSR286_155(new TCK(155), "", ""),
+ JSR286_156(new TCK(156), "", ""),
+ JSR286_157(new TCK(157), "", ""),
+ JSR286_158(new TCK(158), "", ""),
+ JSR286_159(new TCK(159), "", ""),
+ JSR286_160(new TCK(160), "", ""),
JSR286_161(new TCK(161), "", ""),
// PLT.18 Sessions
JSR286_162(new TCK(162), "", ""),
-
- //..
-
+ JSR286_163(new TCK(163), "", ""),
+ JSR286_164(new TCK(164), "", ""),
+ JSR286_165(new TCK(165), "", ""),
+ JSR286_166(new TCK(166), "", ""),
+ JSR286_167(new TCK(167), "", ""),
+ JSR286_168(new TCK(168), "", ""),
+ JSR286_169(new TCK(169), "", ""),
+ JSR286_170(new TCK(170), "", ""),
+ JSR286_171(new TCK(171), "", ""),
+ JSR286_172(new TCK(172), "", ""),
+ JSR286_173(new TCK(173), "", ""),
+ JSR286_174(new TCK(174), "", ""),
+ JSR286_175(new TCK(175), "", ""),
JSR286_176(new TCK(176), "", ""),
@@ -693,54 +749,129 @@
JSR286_182(new TCK(182), "", ""),
JSR286_183(new TCK(183), "", ""),
JSR286_184(new TCK(184), "", ""),
- JSR286_185(new TCK(185), "", ""),
- JSR286_186(new TCK(186), "", ""),
- JSR286_187(new TCK(187), "", ""),
- JSR286_188(new TCK(188), "", ""),
- JSR286_189(new TCK(189), "", ""),
- JSR286_190(new TCK(190), "", ""),
- JSR286_191(new TCK(191), "", ""),
- JSR286_192(new TCK(192), "", ""),
- JSR286_193(new TCK(193), "", ""),
- JSR286_194(new TCK(194), "", ""),
- JSR286_195(new TCK(195), "", ""),
- JSR286_196(new TCK(196), "", ""),
- JSR286_197(new TCK(197), "", ""),
- JSR286_198(new TCK(198), "", ""),
- JSR286_199(new TCK(199), "", ""),
- JSR286_200(new TCK(200), "", ""),
- JSR286_201(new TCK(201), "", ""),
- JSR286_202(new TCK(202), "", ""),
- JSR286_203(new TCK(203), "", ""),
- JSR286_204(new TCK(204), "", ""),
- JSR286_205(new TCK(205), "", ""),
- JSR286_206(new TCK(206), "", ""),
- JSR286_207(new TCK(207), "", ""),
- JSR286_208(new TCK(208), "", ""),
- JSR286_209(new TCK(209), "", ""),
- JSR286_210(new TCK(210), "", ""),
- JSR286_211(new TCK(211), "", ""),
- JSR286_212(new TCK(212), "", ""),
- JSR286_213(new TCK(213), "", ""),
- JSR286_214(new TCK(214), "", ""),
- JSR286_215(new TCK(215), "", ""),
- JSR286_216(new TCK(216), "", ""),
- JSR286_217(new TCK(217), "", ""),
- JSR286_218(new TCK(218), "", ""),
- JSR286_219(new TCK(219), "", ""),
- JSR286_220(new TCK(220), "", ""),
- JSR286_221(new TCK(221), "", ""),
- JSR286_222(new TCK(222), "", ""),
- JSR286_223(new TCK(223), "", ""),
- JSR286_224(new TCK(224), "", ""),
- JSR286_225(new TCK(225), "", ""),
- JSR286_226(new TCK(226), "", ""),
- JSR286_227(new TCK(227), "", ""),
- JSR286_228(new TCK(228), "", ""),
- JSR286_229(new TCK(229), "", ""),
- JSR286_230(new TCK(230), "", ""),
- JSR286_231(new TCK(231), "", ""),
- JSR286_232(new TCK(232), "", ""),
+
+ // PLT.19.3.3 Request and Response Objects for Included Servlets/JSPs from within the
Action and Event processing Methods
+ JSR286_185(new TCK(185), "PLT.19.3.3", "The following methods of the
HttpServletRequest must return null: " +
+ "getRemoteAddr, getRemoteHost, getRealPath, getLocalAddress, getLocalName, and
getRequestURL."),
+ JSR286_186(new TCK(186), "PLT.19.3.3", "The following methods of the
HttpServletRequest must return ‘0’: " +
+ "getRemotePort and getLocalPort."),
+ JSR286_187(new TCK(187), "PLT.19.3.3", "The following methods of the
HttpServletRequest must return the path " +
+ "and query string information used to obtain the PortletRequestDispatcher
object: getPathInfo, " +
+ "getPathTranslated, getQueryString, getRequestURI and getServletPath."),
+ JSR286_188(new TCK(188), "PLT.19.3.3", "The following methods of the
HttpServletRequest must be equivalent " +
+ "to the methods of the PortletRequest of similar name: getScheme,
getServerName, getServerPort, getAttribute, " +
+ "getAttributeNames, setAttribute, removeAttribute, getLocale, getLocales,
isSecure, getAuthType,\n" +
+ "getContextPath, getRemoteUser, getUserPrincipal, getRequestedSessionId,
isRequestedSessionIdValid, getCookies."),
+ JSR286_189(new TCK(189), "PLT.19.3.3", "The following methods of the
HttpServletRequest must be equivalent to " +
+ "the methods of the PortletRequest of similar name with the provision defined
in PLT.19.1.1 Query Strings " +
+ "in Request Dispatcher Paths Section: getParameter, getParameterNames,
getParameterValues and getParameterMap."),
+ JSR286_190(new TCK(190), "PLT.19.3.3", "In case of an include from
processAction, the following methods of the " +
+ "HttpServletRequest must be based on the corresponding methods of the\n"
+
+ "ActionRequest: getCharacterEncoding, setCharacterEncoding, getContentType,
getInputStream, getContentLength, " +
+ "getMethod and getReader."),
+ JSR286_191(new TCK(191), "PLT.19.3.3", "In case of an include from
processEvent, the following methods of the " +
+ "HttpServletRequest must do no operations and/or return null:
getCharacterEncoding, setCharacterEncoding, " +
+ "getContentType, getInputStream and getReader"),
+ JSR286_192(new TCK(192), "PLT.19.3.3", "The getContentLength method of
the HttpServletRequest must return 0."),
+ JSR286_193(new TCK(193), "PLT.19.3.3", "The getMethod method of the
HTTPServletRequest must be based on the " +
+ "corresponding method of the EventRequest, which must provide the name of the
HTTP method with which the " +
+ "original action request was made."),
+ JSR286_194(new TCK(194), "PLT.19.3.3", "The following methods of the
HttpServletRequest must be based on the " +
+ "properties provided by the getProperties method of the PortletRequest
interface: getHeader, getHeaders, " +
+ "getHeaderNames, getDateHeader and getIntHeader."),
+ JSR286_195(new TCK(195), "PLT.19.3.3", "The following methods of the
HttpServletRequest must provide the " +
+ "functionality defined by the Servlet Specification: getRequestDispatcher,
isUserInRole, getSession, " +
+ "isRequestedSessionIdFromCookie, isRequestedSessionIdFromURL and
isRequestedSessionIdFromUrl."),
+ JSR286_196(new TCK(196), "PLT.19.3.3", "The getProtocol method of the
HttpServletRequest must always return " +
+ "‘HTTP/1.1’.The getProtocol method of the HttpServletRequest must always
return ‘HTTP/1.1’."),
+ JSR286_197(new TCK(197), "PLT.19.3.3", "The following methods of the
HttpServletResponse must return null: " +
+ "encodeRedirectURL, encodeRedirectUrl, getCharacterEncoding, getContentType,
getLocale, resetBuffer, reset."),
+ JSR286_198(new TCK(198), "PLT.19.3.3", "The following method of the
HttpServletResponse must return 0: getBufferSize."),
+ JSR286_199(new TCK(199), "PLT.19.3.3", "The following methods of the
HttpServletResponse must return an " +
+ "outputstream / writer that ignores any output written to it: getOutputStream
and getWriter."),
+ JSR286_200(new TCK(200), "PLT.19.3.3", "The following methods of the
HttpServletResponse must be equivalent " +
+ "to the methods of the ActionResponse/EventResponse of similar name: encodeURL
and encodeUrl."),
+ JSR286_201(new TCK(201), "PLT.19.3.3", "The following methods of the
HttpServletResponse must perform no " +
+ "operations: setContentType, setCharacterEncoding, setContentLength,
setLocale, addCookie, sendError, " +
+ "sendRedirect, setDateHeader, addDateHeader, setHeader, addHeader,
setIntHeader, addIntHeader, setStatus,\n" +
+ "setBufferSize and flushBuffer."),
+ JSR286_202(new TCK(202), "PLT.19.3.3", "The containsHeader method of
the HttpServletResponse must return false."),
+ JSR286_203(new TCK(203), "PLT.19.3.3", "The isCommitted method of the
HttpServletResponse must return true."),
+
+ // PLT.19.3.4 Request and Response Objects for Included Servlets/JSPs from within the
Render Method
+ JSR286_204(new TCK(204), "PLT.19.3.4", "The following methods of the
HttpServletRequest must return null: " +
+ "getRemoteAddr, getRemoteHost, getLocalAddress, getLocalName, getRealPath, and
getRequestURL."),
+ JSR286_205(new TCK(205), "PLT.19.3.4", "The following methods of the
HttpServletRequest must return ‘0’: " +
+ "getRemotePort and getLocalPort."),
+ JSR286_206(new TCK(206), "PLT.19.3.4", "The following methods of the
HttpServletRequest must return the " +
+ "path and query string information used to obtain the PortletRequestDispatcher
object: getPathInfo, " +
+ "getPathTranslated, getQueryString, getRequestURI and getServletPath."),
+ JSR286_207(new TCK(207), "PLT.19.3.4", "The following methods of the
HttpServletRequest must be equivalent " +
+ "to the methods of the PortletRequest of similar name: getScheme,
getServerName, getServerPort, getAttribute, " +
+ "getAttributeNames, setAttribute, removeAttribute, getLocale, getLocales,
isSecure, getAuthType, getContextPath, " +
+ "getRemoteUser, getUserPrincipal, getRequestedSessionId,
isRequestedSessionIdValid, getCookies."),
+ JSR286_208(new TCK(208), "PLT.19.3.4", "The following methods of the
HttpServletRequest must be equivalent to " +
+ "the methods of the PortletRequest of similar name with the provision defined
in PLT.18.1.1 Query Strings in " +
+ "Request Dispatcher Paths Section: getParameter, getParameterNames,
getParameterValues and getParameterMap."),
+ JSR286_209(new TCK(209), "PLT.19.3.4", "The following methods of the
HttpServletRequest must do no operations " +
+ "and return null: getCharacterEncoding, setCharacterEncoding, getContentType,
getInputStream and getReader."),
+ JSR286_210(new TCK(210), "PLT.19.3.4", "The getContentLength method of
the HttpServletRequest must return 0"),
+ JSR286_211(new TCK(211), "PLT.19.3.4", "The following methods of the
HttpServletRequest must be based on the " +
+ "properties provided by the getProperties method of the PortletRequest
interface: getHeader, getHeaders, " +
+ "getHeaderNames, getDateHeader and getIntHeader."),
+ JSR286_212(new TCK(212), "PLT.19.3.4", "The following methods of the
HttpServletRequest must provide the " +
+ "functionality defined by the Servlet Specification: getRequestDispatcher,
isUserInRole, getSession, " +
+ "isRequestedSessionIdFromCookie, isRequestedSessionIdFromURL and
isRequestedSessionIdFromUrl."),
+ JSR286_213(new TCK(213), "PLT.19.3.4", "The getMethod method of the
HttpServletRequest must always return ‘GET’."),
+ JSR286_214(new TCK(214), "PLT.19.3.4", "The getProtocol method of the
HttpServletRequest must always return ‘HTTP/1.1’."),
+ JSR286_215(new TCK(215), "PLT.19.3.4", "The following methods of the
HttpServletResponse must return null: " +
+ "encodeRedirectURL and encodeRedirectUrl."),
+ JSR286_216(new TCK(216), "PLT.19.3.4", "The following methods of the
HttpServletResponse must be equivalent " +
+ "to the methods of the RenderResponse of similar name: getCharacterEncoding,
setBufferSize, flushBuffer, " +
+ "resetBuffer, reset, getBufferSize, isCommitted, getOutputStream, getWriter,
encodeURL and encodeUrl."),
+ JSR286_217(new TCK(217), "PLT.19.3.4", "The following methods of the
HttpServletResponse must perform no " +
+ "operations: setContentType, setContentLength, setLocale, addCookie,
sendError, sendRedirect, setDateHeader, " +
+ "addDateHeader, setHeader, addHeader, setIntHeader, addIntHeader and
setStatus."),
+ JSR286_218(new TCK(218), "PLT.19.3.4", "The containsHeader method of
the HttpServletResponse must return false."),
+ JSR286_219(new TCK(219), "PLT.19.3.4", "The getLocale method of the
HttpServletResponse must be based on the " +
+ "getLocale method of the RenderResponse."),
+
+ // PLT.19.3.5 Request and Response Objects for Included Servlets/JSPs from within the
ServeResource Method
+ JSR286_220(new TCK(220), "PLT.19.3.5", "The following methods of the
HttpServletRequest must return null: " +
+ "getRemoteAddr, getRemoteHost, getLocalAddress, getLocalName, getRealPath, and
getRequestURL."),
+ JSR286_221(new TCK(221), "PLT.19.3.5", "The following methods of the
HttpServletRequest must return ‘0’:" +
+ " getRemotePort and getLocalPort."),
+ JSR286_222(new TCK(222), "PLT.19.3.5", "The following methods of the
HttpServletRequest must return the " +
+ "path and query string information used to obtain the PortletRequestDispatcher
object: getPathInfo, " +
+ "getPathTranslated, getQueryString, getRequestURI and getServletPath."),
+ JSR286_223(new TCK(223), "PLT.19.3.5", "The following methods of the
HttpServletRequest must be equivalent " +
+ "to the methods of the PortletRequest of similar name: getScheme,
getServerName, getServerPort, getAttribute, " +
+ "getAttributeNames, setAttribute, removeAttribute, getLocale, getLocales,
isSecure, getAuthType,\n" +
+ "getContextPath, getRemoteUser, getUserPrincipal, getRequestedSessionId,
isRequestedSessionIdValid, getCookies."),
+ JSR286_224(new TCK(224), "PLT.19.3.5", "The following methods of the
HttpServletRequest must be equivalent to " +
+ "the methods of the ResourceRequest of similar name: getCharacterEncoding,
setCharacterEncoding, getContentType, " +
+ "getMethod, getContentLength and getReader."),
+ JSR286_225(new TCK(225), "PLT.19.3.5", "The following methods of the
HttpServletRequest must be equivalent to " +
+ "the methods of the PortletRequest of similar name with the provision defined
in PLT.18.1.1 Query Strings in " +
+ "Request Dispatcher Paths Section: getParameter, getParameterNames,
getParameterValues and getParameterMap."),
+ JSR286_226(new TCK(226), "PLT.19.3.5", "The following methods of the
HttpServletRequest must be based on the " +
+ "properties provided by the getProperties method of the PortletRequest
interface: getHeader, getHeaders, " +
+ "getHeaderNames, getDateHeader and getIntHeader."),
+ JSR286_227(new TCK(227), "PLT.19.3.5", "The following methods of the
HttpServletRequest must provide the " +
+ "functionality defined by the Servlet Specification: getRequestDispatcher,
isUserInRole, getSession, " +
+ "isRequestedSessionIdFromCookie, isRequestedSessionIdFromURL and
isRequestedSessionIdFromUrl."),
+ JSR286_228(new TCK(228), "PLT.19.3.5", "The getProtocol method of the
HttpServletRequest must always return ‘HTTP/1.1’."),
+ JSR286_229(new TCK(229), "PLT.19.3.5", "The following methods of the
HttpServletResponse must return null: " +
+ "encodeRedirectURL and encodeRedirectUrl."),
+ JSR286_230(new TCK(230), "PLT.19.3.5", "The following methods of the
HttpServletResponse must be equivalent " +
+ "to the methods of the ResourceResponse of similar name: getCharacterEncoding,
setBufferSize, flushBuffer, " +
+ "resetBuffer, reset, getBufferSize, isCommitted, getOutputStream, getWriter,
getLocale, encodeURL and encodeUrl."),
+ JSR286_231(new TCK(231), "PLT.19.3.5", "The following methods of the
HttpServletResponse must perform no " +
+ "operations: sendError, sendRedirect, addCookie, setDateHeader, addDateHeader,
setHeader, addHeader, " +
+ "setIntHeader, addIntHeader, setContentLength, setCharacterEncoding,
setContentType, setLocale and setStatus."),
+ JSR286_232(new TCK(232), "PLT.19.3.5", "The containsHeader method of
the HttpServletResponse must return false."),
+
+ //
JSR286_233(new TCK(233), "", ""),
JSR286_234(new TCK(234), "", ""),
JSR286_235(new TCK(235), "", ""),
@@ -751,66 +882,145 @@
JSR286_240(new TCK(240), "", ""),
JSR286_241(new TCK(241), "", ""),
JSR286_242(new TCK(242), "", ""),
- JSR286_243(new TCK(243), "", ""),
- JSR286_244(new TCK(244), "", ""),
- JSR286_245(new TCK(245), "", ""),
- JSR286_246(new TCK(246), "", ""),
- JSR286_247(new TCK(247), "", ""),
- JSR286_248(new TCK(248), "", ""),
- JSR286_249(new TCK(249), "", ""),
- JSR286_250(new TCK(250), "", ""),
- JSR286_251(new TCK(251), "", ""),
- JSR286_252(new TCK(252), "", ""),
- JSR286_253(new TCK(253), "", ""),
- JSR286_254(new TCK(254), "", ""),
- JSR286_255(new TCK(255), "", ""),
- JSR286_256(new TCK(256), "", ""),
- JSR286_257(new TCK(257), "", ""),
- JSR286_258(new TCK(258), "", ""),
- JSR286_259(new TCK(259), "", ""),
- JSR286_260(new TCK(260), "", ""),
- JSR286_261(new TCK(261), "", ""),
- JSR286_262(new TCK(262), "", ""),
- JSR286_263(new TCK(263), "", ""),
- JSR286_264(new TCK(264), "", ""),
- JSR286_265(new TCK(265), "", ""),
- JSR286_266(new TCK(266), "", ""),
- JSR286_267(new TCK(267), "", ""),
- JSR286_268(new TCK(268), "", ""),
- JSR286_269(new TCK(269), "", ""),
- JSR286_270(new TCK(270), "", ""),
- JSR286_271(new TCK(271), "", ""),
- JSR286_272(new TCK(272), "", ""),
- JSR286_273(new TCK(273), "", ""),
- JSR286_274(new TCK(274), "", ""),
- JSR286_275(new TCK(275), "", ""),
- JSR286_276(new TCK(276), "", ""),
- JSR286_277(new TCK(277), "", ""),
- JSR286_278(new TCK(278), "", ""),
- JSR286_279(new TCK(279), "", ""),
- JSR286_280(new TCK(280), "", ""),
- JSR286_281(new TCK(281), "", ""),
- JSR286_282(new TCK(282), "", ""),
- JSR286_283(new TCK(283), "", ""),
- JSR286_284(new TCK(284), "", ""),
- JSR286_285(new TCK(285), "", ""),
- JSR286_286(new TCK(286), "", ""),
- JSR286_287(new TCK(287), "", ""),
- JSR286_288(new TCK(288), "", ""),
- JSR286_289(new TCK(289), "", ""),
- JSR286_290(new TCK(290), "", ""),
- JSR286_291(new TCK(291), "", ""),
+ // PLT.19.4.3 Request and Response Objects for Forwarded Servlets/JSPs from within the
Action and Event processing Methods
+ JSR286_243(new TCK(243), "PLT.19.4.3", "The following methods of the
HttpServletRequest must return null: " +
+ "getRemoteAddr, getRemoteHost, getLocalAddress, getLocalName, getRealPath, and
getRequestURL."),
+ JSR286_244(new TCK(244), "PLT.19.4.3", "The following methods of the
HttpServletRequest must return ‘0’: " +
+ "getRemotePort and getLocalPort."),
+ JSR286_245(new TCK(245), "PLT.19.4.3", "The following methods of the
HttpServletRequest must return the path " +
+ "and query string information used to obtain the PortletRequestDispatcher
object: getPathInfo, getPathTranslated, " +
+ "getQueryString, getRequestURI and getServletPath."),
+ JSR286_246(new TCK(246), "PLT.19.4.3", "The following methods of the
HttpServletRequest must be equivalent to " +
+ "the methods of the PortletRequest of similar name: getScheme, getServerName,
getServerPort, getAttribute, " +
+ "getAttributeNames, setAttribute, removeAttribute, getLocale, getLocales,
isSecure, getAuthType, getContextPath, " +
+ "getRemoteUser, getUserPrincipal, getRequestedSessionId,
isRequestedSessionIdValid, getCookies."),
+ JSR286_247(new TCK(247), "PLT.19.4.3", "The following methods of the
HttpServletRequest must be equivalent to the " +
+ "methods of the PortletRequest of similar name with the provision defined in
PLT.18.1.1 Query Strings in Request " +
+ "Dispatcher Paths Section: getParameter, getParameterNames, getParameterValues
and getParameterMap."),
+ JSR286_248(new TCK(248), "PLT.19.4.3", "In case of a forward from
processAction, the following methods of the " +
+ "HttpServletRequest must be based on the corresponding methods of the\n"
+
+ "ActionRequest: getCharacterEncoding, setCharacterEncoding, getContentType,
getInputStream, getContentLength, " +
+ "getMethod and getReader."),
+ JSR286_249(new TCK(249), "PLT.19.4.3", "In case of a forward from
processEvent, the following methods of the " +
+ "HttpServletRequest must do no operations and/or return null:
getCharacterEncoding, setCharacterEncoding, " +
+ "getContentType, getInputStream and getReader."),
+ JSR286_250(new TCK(250), "PLT.19.4.3", "The getContentLength method of
the HttpServletRequest must return 0."),
+ JSR286_251(new TCK(251), "PLT.19.4.3", "The getMethod method of the
HttpServletRequest must be based on the " +
+ "corresponding method of the ActionRequest triggering this event."),
+ JSR286_252(new TCK(252), "PLT.19.4.3", "The following methods of the
HttpServletRequest must be based on the " +
+ "properties provided by the getProperties method of the PortletRequest
interface: getHeader, getHeaders, " +
+ "getHeaderNames, getDateHeader and getIntHeader."),
+ JSR286_253(new TCK(253), "PLT.19.4.3", "The following methods of the
HttpServletRequest must provide the " +
+ "functionality defined by the Servlet Specification: getRequestDispatcher,
isUserInRole, getSession, " +
+ "isRequestedSessionIdFromCookie, isRequestedSessionIdFromURL and
isRequestedSessionIdFromUrl."),
+ JSR286_254(new TCK(254), "PLT.19.4.3", "The getProtocol method of the
HttpServletRequest must always return " +
+ "‘HTTP/1.1’."),
+ JSR286_255(new TCK(255), "PLT.19.4.3", "The following methods of the
HttpServletResponse must return null: " +
+ "encodeRedirectURL, encodeRedirectUrl, getCharacterEncoding, getContentType,
getLocale, and getBufferSize."),
+ JSR286_256(new TCK(256), "PLT.19.4.3", "The following methods of the
HttpServletResponse must return an " +
+ "outputstream / writer that ignores any output written to it: getOutputStream
and getWriter."),
+ JSR286_257(new TCK(257), "PLT.19.4.3", "The following methods of the
HttpServletResponse must be equivalent " +
+ "to the methods of the ActionResponse/EventResponse of similar name: encodeURL
and encodeUrl."),
+ JSR286_258(new TCK(258), "PLT.19.4.3", "The following methods of the
HttpServletResponse must perform no " +
+ "operations: resetBuffer, reset, setContentType, setContentLength,\n" +
+ "setCharacterEncoding, setLocale, sendError, setDateHeader, addDateHeader,
setHeader, addHeader, setIntHeader, " +
+ "addIntHeader, setStatus, setBufferSize and flushBuffer."),
+ JSR286_259(new TCK(259), "PLT.19.4.3", "The addCookie method of the
HttpServletResponse must be based on " +
+ "addProperty method of the ActionResponse/EventResponse interface."),
+ JSR286_260(new TCK(260), "PLT.19.4.3", "The containsHeader method of
the HttpServletResponse must return false."),
+ JSR286_261(new TCK(261), "PLT.19.4.3", "The isCommitted method of the
HttpServletResponse must return false."),
+ // PLT.19.4.4 Request and Response Objects for Forwarded Servlets/JSPs from within the
Render Method
+ JSR286_262(new TCK(262), "PLT.19.4.4", "The following methods of the
HttpServletRequest must return null: " +
+ "getRemoteAddr, getRemoteHost, getLocalAddress, getLocalName, getRealPath, and
getRequestURL."),
+ JSR286_263(new TCK(263), "PLT.19.4.4", "The following methods of the
HttpServletRequest must return ‘0’: " +
+ "getRemotePort and getLocalPort."),
+ JSR286_264(new TCK(264), "PLT.19.4.4", "The following methods of the
HttpServletRequest must return the " +
+ "path and query string information used to obtain the PortletRequestDispatcher
object: getPathInfo, " +
+ "getPathTranslated, getQueryString, getRequestURI and getServletPath."),
+ JSR286_265(new TCK(265), "PLT.19.4.4", "The following methods of the
HttpServletRequest must be equivalent " +
+ "to the methods of the PortletRequest of similar name: getScheme,
getServerName, getServerPort, getAttribute, " +
+ "getAttributeNames, setAttribute, removeAttribute, getLocale, getLocales,
isSecure, getAuthType, " +
+ "getContextPath, getRemoteUser, getUserPrincipal, getRequestedSessionId,
isRequestedSessionIdValid, getCookies."),
+ JSR286_266(new TCK(266), "PLT.19.4.4", "The following methods of the
HttpServletRequest must be equivalent " +
+ "to the methods of the PortletRequest of similar name with the provision
defined in PLT.18.1.1 Query Strings " +
+ "in Request Dispatcher Paths Section: getParameter, getParameterNames,
getParameterValues and getParameterMap."),
+ JSR286_267(new TCK(267), "PLT.19.4.4", "The following methods of the
HttpServletRequest must do no operations " +
+ "and return null: getCharacterEncoding, setCharacterEncoding, getContentType,
getInputStream and getReader."),
+ JSR286_268(new TCK(268), "PLT.19.4.4", "The getContentLength method of
the HttpServletRequest must return 0."),
+ JSR286_269(new TCK(269), "PLT.19.4.4", "The following methods of the
HttpServletRequest must be based on the " +
+ "properties provided by the getProperties method of the PortletRequest
interface: getHeader, getHeaders, " +
+ "getHeaderNames, getDateHeader and getIntHeader."),
+ JSR286_270(new TCK(270), "PLT.19.4.4", "The following methods of the
HttpServletRequest must provide the " +
+ "functionality defined by the Servlet Specification: getRequestDispatcher,
isUserInRole, getSession, " +
+ "isRequestedSessionIdFromCookie, isRequestedSessionIdFromURL and
isRequestedSessionIdFromUrl."),
+ JSR286_271(new TCK(271), "PLT.19.4.4", "The getMethod method of the
HttpServletRequest must always return ‘GET’."),
+ JSR286_272(new TCK(272), "PLT.19.4.4", "The getProtocol method of the
HttpServletRequest must always return ‘HTTP/1.1’."),
+ JSR286_273(new TCK(273), "PLT.19.4.4", "The following methods of the
HttpServletResponse must return null: " +
+ "encodeRedirectURL and encodeRedirectUrl."),
+ JSR286_274(new TCK(274), "PLT.19.4.4", "The following methods of the
HttpServletResponse must be equivalent " +
+ "to the methods of the RenderResponse of similar name: getCharacterEncoding,
setBufferSize, flushBuffer, " +
+ "resetBuffer, reset, getBufferSize, getLocale, isCommitted, getOutputStream,
getWriter, setContentType, " +
+ "encodeURL and encodeUrl."),
+ JSR286_275(new TCK(275), "PLT.19.4.4", "The following methods of the
HttpServletResponse must perform no " +
+ "operations: setContentLength, setLocale, sendError, sendRedirect, and
setStatus."),
+ JSR286_276(new TCK(276), "PLT.19.4.4", "The containsHeader method of
the HttpServletResponse must return false."),
+ JSR286_277(new TCK(277), "PLT.19.4.4", "The following methods of the
HttpServletResponse must be based on " +
+ "the properties provided by the setProperties/addProperties method of the
RenderResponse interface: addCookie, " +
+ "setDateHeader, addDateHeader, setHeader, addHeader, setIntHeader,
addIntHeader."),
+
+ // PLT.19.4.5 Request and Response Objects for Forwarded Servlets/JSPs from within the
ServeResource Method
+ JSR286_278(new TCK(278), "PLT.19.4.5", "The following methods of the
HttpServletRequest must return null: " +
+ "getRemoteAddr, getRemoteHost, getLocalAddress, getLocalName, getRealPath, and
getRequestURL."),
+ JSR286_279(new TCK(279), "PLT.19.4.5", "The following methods of the
HttpServletRequest must return ‘0’: " +
+ "getRemotePort and getLocalPort."),
+ JSR286_280(new TCK(280), "PLT.19.4.5", "The following methods of the
HttpServletRequest must return the " +
+ "path and query string information used to obtain the PortletRequestDispatcher
object: getPathInfo, " +
+ "getPathTranslated, getQueryString, getRequestURI and getServletPath."),
+ JSR286_281(new TCK(281), "PLT.19.4.5", "The following methods of the
HttpServletRequest must be equivalent " +
+ "to the methods of the PortletRequest of similar name: getScheme,
getServerName, getServerPort, getAttribute, " +
+ "getAttributeNames, setAttribute, removeAttribute, getLocale, getLocales,
isSecure, getAuthType, \n" +
+ "getContextPath, getRemoteUser, getUserPrincipal, getRequestedSessionId,
isRequestedSessionIdValid, getCookies."),
+ JSR286_282(new TCK(282), "PLT.19.4.5", "The following methods of the
HttpServletRequest must be equivalent to " +
+ "the methods of the ResourceRequest of similar name: getCharacterEncoding,
setCharacterEncoding, getContentType, getMethod and getReader."),
+ JSR286_283(new TCK(283), "PLT.19.4.5", "The following methods of the
HttpServletRequest must be equivalent to " +
+ "the methods of the PortletRequest of similar name with the provision defined
in PLT.18.1.1 Query Strings " +
+ "in Request Dispatcher Paths Section: getParameter, getParameterNames,
getParameterValues and getParameterMap."),
+ JSR286_284(new TCK(284), "PLT.19.4.5", "The following methods of the
HttpServletRequest must be based on the " +
+ "properties provided by the getProperties method of the PortletRequest
interface: getHeader, getHeaders, " +
+ "getHeaderNames, getDateHeader and getIntHeader."),
+ JSR286_285(new TCK(285), "PLT.19.4.5", "The following methods of the
HttpServletRequest must provide the " +
+ "functionality defined by the Servlet Specification: getRequestDispatcher,
isUserInRole, getSession, " +
+ "isRequestedSessionIdFromCookie, isRequestedSessionIdFromURL and
isRequestedSessionIdFromUrl."),
+ JSR286_286(new TCK(286), "PLT.19.4.5", "The getProtocol method of the
HttpServletRequest must always return ‘HTTP/1.1’."),
+ JSR286_287(new TCK(287), "PLT.19.4.5", "The following methods of the
HttpServletResponse must return null: " +
+ "encodeRedirectURL and encodeRedirectUrl."),
+ JSR286_288(new TCK(288), "PLT.19.4.5", "The following methods of the
HttpServletResponse must be equivalent " +
+ "to the methods of the ResourceResponse of similar name: getCharacterEncoding,
setContentType, setBufferSize, " +
+ "flushBuffer, resetBuffer, reset, getBufferSize, isCommitted, getOutputStream,
getWriter, getLocale, encodeURL " +
+ "and encodeUrl."),
+ JSR286_289(new TCK(289), "PLT.19.4.5", "The following methods of the
HttpServletResponse must perform no operations: " +
+ "sendError, sendRedirect."),
+ JSR286_290(new TCK(290), "PLT.19.4.5", "The containsHeader method of
the HttpServletResponse must return false."),
+
+ //
+ JSR286_291(new TCK(291), "PLT.19.5", ""),
+
+
// PLT.20 Portlet Filter
JSR286_292(new TCK(292), "", ""),
-
- //..
-
+ JSR286_293(new TCK(293), "", ""),
+ JSR286_294(new TCK(294), "", ""),
+ JSR286_295(new TCK(295), "", ""),
+ JSR286_296(new TCK(296), "", ""),
+ JSR286_297(new TCK(297), "", ""),
+ JSR286_298(new TCK(298), "", ""),
+ JSR286_299(new TCK(299), "", ""),
+ JSR286_300(new TCK(300), "", ""),
JSR286_301(new TCK(301), "", ""),
-
// PLT.21 User Information
JSR286_302(new TCK(302), "", ""),