You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pluto-dev@portals.apache.org by "Neil Griffin (JIRA)" <ji...@apache.org> on 2017/01/05 19:36:58 UTC
[jira] [Closed] (PLUTO-653) TCK: V2RequestTests getPortalContext
test cases only work for Apache Pluto
[ https://issues.apache.org/jira/browse/PLUTO-653?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Neil Griffin closed PLUTO-653.
------------------------------
Resolution: Fixed
Fix Version/s: (was: 3.0.1)
3.0.0
> TCK: V2RequestTests getPortalContext test cases only work for Apache Pluto
> --------------------------------------------------------------------------
>
> Key: PLUTO-653
> URL: https://issues.apache.org/jira/browse/PLUTO-653
> Project: Pluto
> Issue Type: Bug
> Components: tck
> Affects Versions: 3.0.0
> Reporter: Neil Griffin
> Assignee: Scott Nicklous
> Fix For: 3.0.0
>
>
> The following test cases hard code "pluto-portal-driver" in the context-path, which makes it impossible for other portlet container implementations to pass:
> - V2RequestTests_PortletRequest_ApiResource_getPortalContext
> - V2RequestTests_PortletRequest_ApiRender_getPortalContext
> - V2RequestTests_PortletRequest_ApiEvent_getPortalContext
> - V2RequestTests_PortletRequest_ApiAction_getPortalContext
> For example:
> {code:java|title=RequestTests_PortletRequest_ApiResource.java}
> if(gpc.startsWith("pluto-portal-driver/3.0")) {
> tr36.setTcSuccess(true);
> } else {
> tr36.setTcDetail("The PortalContext for the portal is invalid");
> }
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)