Author: bdaw
Date: 2008-01-22 10:13:40 -0500 (Tue, 22 Jan 2008)
New Revision: 9557
Modified:
modules/portlet/trunk/portlet/src/test/java/org/jboss/portal/unit/Assertion.java
Log:
JSR286 refs to JSR168
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-22
14:42:30 UTC (rev 9556)
+++
modules/portlet/trunk/portlet/src/test/java/org/jboss/portal/unit/Assertion.java 2008-01-22
15:13:40 UTC (rev 9557)
@@ -466,11 +466,11 @@
"portlet itself, the parameters must be the string parameters encoded in the
URL (added when creating the " +
"PortletURL) and the string parameters sent by the client to the portlet as
part of the client request.", JSR168_48),
JSR286_68(new TCK(68), "PLT.11.1.1", "The parameters the request object
returns must be \"x-www-formurlencoded\" " +
- "decoded."),
+ "decoded.", JSR168_49),
JSR286_69(new TCK(69), "PLT.11.1.1", "The value returned from the
getParameter method must be the first value in " +
- "the array of String objects returned by getParameterValues"),
+ "the array of String objects returned by getParameterValues",
JSR168_55),
JSR286_70(new TCK(70), "PLT.11.1.1", "If there is a single parameter
value associated with a parameter name the " +
- "method must return is an array of size one containing the parameter
value."),
+ "method must return is an array of size one containing the parameter
value.", JSR168_56),
JSR286_71(new TCK(71), "PLT.11.1.1", "The getParameterMap method must
return an unmodifiable Map object."),
JSR286_72(new TCK(72), "PLT.11.1.1", "If the request does not have any
parameters, the getParameterMap must return " +
"an empty Map object"),
@@ -509,7 +509,7 @@
"getParameter methods on the PortletRequest or separated as maps of private
parameters via the " +
"getPrivateParameterMap method and public parameters via the
getPublicParameterMap method."),
JSR286_87(new TCK(87), "PLT.11.1.3", "Extra parameters used by the
portal/portlet-container must be invisible " +
- "to the portlets receiving the request.."),
+ "to the portlets receiving the request.", JSR168_57),
JSR286_88(new TCK(88), "PLT.11.1.4.1", "The portlet can access a map
with user information attributes via the " +
"request attribute PortletRequest.USER_INFO."),
JSR286_89(new TCK(89), "PLT.11.1.4.2", "The PortletRequest.CCPP_PROFILE
request attribute must return a " +
@@ -520,12 +520,13 @@
"EventRequest, RENDER_PHASE if the current request is of type RenderRequest,
and RESOURCE_SERVING_PHASE if the " +
"current request is of type ResourceRequest."),
JSR286_91(new TCK(91), "PLT.11.1.6", "If the portlet application is
rooted at the base of the web server URL " +
- "namespace (also known as \"default\" context), this path must be an
empty string."),
+ "namespace (also known as \"default\" context), this path must be an
empty string.", JSR168_58),
JSR286_92(new TCK(92), "PLT.11.1.6", "Otherwise, it must be the path
the portlet application is rooted to, the " +
- "path must start with a '/' and it must not end with a '/'
character."),
- JSR286_93(new TCK(93), "PLT.11.1.7", "If the user is not authenticated
the getAuthType method must return null. "),
+ "path must start with a '/' and it must not end with a '/'
character.", JSR168_59),
+ JSR286_93(new TCK(93), "PLT.11.1.7", "If the user is not authenticated
the getAuthType method must return null. ",
+ JSR168_60),
JSR286_94(new TCK(94), "PLT.11.1.8", "The first element of the
enumeration must be the same content type returned " +
- "by the getResponseContentType method."),
+ "by the getResponseContentType method.", JSR168_61),
JSR286_95(new TCK(95), "PLT.11.1.8", "If the getResponseContentType or
getResponseContentTypes methods are exposed " +
"via an ActionRequest, EventRequest, or RenderRequest the following additional
restrictions apply: The content " +
"type must only includes the MIME type, not the character set."),
@@ -538,7 +539,7 @@
JSR286_98(new TCK(98), "PLT.11.2.1", "Only one of the two methods,
getPortletInputStream or getReader, can be " +
"used during an action request. If the input stream is obtained, a call to the
getReader must throw an " +
"IllegalStateException. Similarly, if the reader is obtained, a call to the
getPortletInputStream must throw " +
- "an IllegalStateException."),
+ "an IllegalStateException.", JSR168_63),
JSR286_99(new TCK(99), "PLT.11.2.1", "If the user request HTTP POST
data is of type " +
"application/x-www-form-urlencoded, this data has been already processed by
the portal/portlet-container and " +
"is available as request parameters. The getPortletInputStream and getReader
methods must throw an " +