[jira] [Created] (PLUTO-652) TCK: V2RequestTests getPortalContext test failures caused by a hard-coded version in the context-path

"Neil Griffin (JIRA)" <[email protected]>
Newsgroups gmane.comp.jakarta.pluto.devel
Message-ID <[email protected]>
Neil Griffin created PLUTO-652:
----------------------------------

             Summary: TCK: V2RequestTests getPortalContext test failures caused by a hard-coded version in the context-path
                 Key: PLUTO-652
                 URL: https://issues.apache.org/jira/browse/PLUTO-652
             Project: Pluto
          Issue Type: Bug
          Components: portlets-testsuite
            Reporter: Neil Griffin
            Assignee: Neil Griffin
             Fix For: 3.0.0


The following test cases assume a hard-coded version of "2.1.0-SNAPSHOT" in the context-path:
- 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.equals("pluto-portal-driver/2.1.0-SNAPSHOT")) {
    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)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.