Author: bdaw
Date: 2008-01-31 04:50:56 -0500 (Thu, 31 Jan 2008)
New Revision: 9677
Modified:
modules/portlet/trunk/portlet/src/test/java/org/jboss/portal/unit/Assertion.java
Log:
more and more....
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-31
09:39:40 UTC (rev 9676)
+++
modules/portlet/trunk/portlet/src/test/java/org/jboss/portal/unit/Assertion.java 2008-01-31
09:50:56 UTC (rev 9677)
@@ -1040,16 +1040,29 @@
// 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), "", ""),
+ JSR286_292(new TCK(292), "PLT.20.2.1", "After deployment of the portlet
application, and before a request causes " +
+ "the portlet container to access a portlet, the portlet container must locate
the list of portlet filters that " +
+ "must be applied to the portlet as described below."),
+ JSR286_293(new TCK(293), "PLT.20.2.1", "The portlet container must
ensure that it has instantiated a filter of the " +
+ "appropriate class for each filter in the list, and called its
init(FilterConfig config) method"),
+ JSR286_294(new TCK(294), "PLT.20.2.1", "Depending on the target method
of doFilter call the PortletRequest and " +
+ "PortletResponse must be instances of the following interfaces: ActionRequest
and ActionResponse for " +
+ "processAction calls, EventRequest and EventResponse for processEvent calls,
RenderRequest and RenderResponse " +
+ "for render calls, ResourceRequest and ResourceResponse for serveResource
calls"),
+ JSR286_295(new TCK(295), "PLT.20.2.1", "Before a filter instance can be
removed from service by the portlet " +
+ "container, the portlet container must first call the destroy method on the
filter to enable the filter to " +
+ "release any resources and perform other cleanup operations."),
+ JSR286_296(new TCK(296), "PLT.20.2.2", "When a filter invokes the
doFilter method on the portlet container’s " +
+ "filter chain implementation, the container must ensure that the request
and\n" +
+ "response object that it passes to the next component in the filter chain, or
to the target portlet if the " +
+ "filter was the last in the chain, is the same object that was passed into the
doFilter method by the calling " +
+ "filter or one of the above mentioned wrappers."),
+ JSR286_297(new TCK(297), "PLT.20.2.4", "The portlet container must
instantiate exactly one instance of the Java " +
+ "class defining the filter per filter declaration in the deployment
descriptor."),
+ JSR286_298(new TCK(298), "PLT.20.2.4", "Filters can be associated with
groups of portlets using the ‘*’ character as a wildcard at the end of a string to
indicate that the filter must be applied to any portlet whose name starts with the
characters before the “*” character."),
+ JSR286_299(new TCK(299), "PLT.20.2.4", "The portlet container is free
to add additional filters at any place in this filter chain, but must not remove filters
matching a specific portlet."),
+ JSR286_300(new TCK(300), "PLT.20.2.5", "A portlet filter can be applied
to different lifecycle method calls: processAction, processEvent, render,
serveResource"),
+ JSR286_301(new TCK(301), "PLT.20.2.5", "Thus the filter must define the
lifecycle method for which the filter is written in the <lifecycle> element of the
<filter> element."),
// PLT.21 User Information
@@ -1085,16 +1098,46 @@
// PLT.26 Portlet Tag Library
- JSR286_312(new TCK(312), "", ""),
-
- //..
-
- JSR286_350(new TCK(350), "", ""),
-
-
-
+ JSR286_312(new TCK(312), "PLT.26.1", "The portlet-container must
provide an implementation of the portlet tag library"),
+ JSR286_313(new TCK(313), "PLT.26.1", "The defineObjects tag must define
the following variables in the JSP page: [REF TO THE SPEC]"),
+ JSR286_314(new TCK(314), "PLT.26.2", "The defineObjects tag must not
define any attribute and it must not contain any body content"),
+ JSR286_315(new TCK(315), "PLT.26.2", "The portlet actionURL tag creates
a URL that must point to the current portlet and must trigger an action request with the
supplied parameters"),
+ JSR286_316(new TCK(316), "PLT.26.2", "If the specified window state is
illegal for the current request, a JspException must be thrown."),
+ JSR286_317(new TCK(317), "PLT.26.2", "If a window state is notset for a
URL, it should stay the same as the window state of the current request."),
+ JSR286_318(new TCK(318), "PLT.26.2", "portletMode (Type: String,
non-required) – indicates the portlet mode that the portlet must have when this link is
executed, if no error condition ocurred"),
+ JSR286_319(new TCK(319), "PLT.26.2", "If the specified portlet mode is
illegal for the current request, a JspException must be thrown."),
+ JSR286_320(new TCK(320), "PLT.26.2", ""),
+ JSR286_321(new TCK(321), "PLT.26.2", ""),
+ JSR286_322(new TCK(322), "PLT.26.2", ""),
+ JSR286_323(new TCK(323), "PLT.26.2", ""),
+ JSR286_324(new TCK(324), "PLT.26.2", ""),
+ JSR286_325(new TCK(325), "PLT.26.2", ""),
+ JSR286_326(new TCK(326), "PLT.26.2", ""),
+ JSR286_327(new TCK(327), "PLT.26.3", ""),
+ JSR286_328(new TCK(328), "PLT.26.3", ""),
+ JSR286_329(new TCK(329), "PLT.26.3", ""),
+ JSR286_330(new TCK(330), "PLT.26.3", ""),
+ JSR286_331(new TCK(331), "PLT.26.3", ""),
+ JSR286_332(new TCK(332), "PLT.26.3", ""),
+ JSR286_333(new TCK(333), "PLT.26.3", ""),
+ JSR286_334(new TCK(334), "PLT.26.3", ""),
+ JSR286_335(new TCK(335), "PLT.26.3", ""),
+ JSR286_336(new TCK(336), "PLT.26.3", ""),
+ JSR286_337(new TCK(337), "PLT.26.3", ""),
+ JSR286_338(new TCK(338), "PLT.26.3", ""),
+ JSR286_339(new TCK(339), "PLT.26.4", ""),
+ JSR286_340(new TCK(340), "PLT.26.4", ""),
+ JSR286_341(new TCK(341), "PLT.26.4", ""),
+ JSR286_342(new TCK(342), "PLT.26.4", ""),
+ JSR286_343(new TCK(343), "PLT.26.4", ""),
+ JSR286_344(new TCK(344), "PLT.26.4", ""),
+ JSR286_345(new TCK(345), "PLT.26.4", ""),
+ JSR286_346(new TCK(346), "PLT.26.5", ""),
+ JSR286_347(new TCK(347), "PLT.26.6", ""),
+ JSR286_348(new TCK(348), "PLT.26.6", ""),
+ JSR286_349(new TCK(349), "PLT.26.6", ""),
+ JSR286_350(new TCK(350), "PLT.26.6", "")
-
;
/**