[jira] [Closed] (PLUTO-675) TCK: Improve V2EnvironmentTests_PortletContext_ApiRender_getPortletContextName1 and V2EnvironmentTests_PortletContext_ApiRender_getPortletContextName2

"Neil Griffin (JIRA)" <[email protected]>
Newsgroups gmane.comp.jakarta.pluto.devel
Message-ID <[email protected]>
     [ https://issues.apache.org/jira/browse/PLUTO-675?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Neil Griffin closed PLUTO-675.
------------------------------
    Resolution: Fixed
      Assignee: Neil Griffin  (was: Scott Nicklous)

Fixed in the following commits:
- [a21ccfd9e3ccbb7a5d7d5da7551341bbf61ec27d|https://github.com/apache/portals-pluto/commit/a21ccfd9e3ccbb7a5d7d5da7551341bbf61ec27d]
- [fea0d6d0981a3ae9bae86d3b2b0b73360daa9ba1|https://github.com/apache/portals-pluto/commit/fea0d6d0981a3ae9bae86d3b2b0b73360daa9ba1]
- [75353b1fb38c4cdb9982d4895160303d443afb1d|https://github.com/apache/portals-pluto/commit/75353b1fb38c4cdb9982d4895160303d443afb1d]

> TCK: Improve V2EnvironmentTests_PortletContext_ApiRender_getPortletContextName1 and V2EnvironmentTests_PortletContext_ApiRender_getPortletContextName2
> ------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: PLUTO-675
>                 URL: https://issues.apache.org/jira/browse/PLUTO-675
>             Project: Pluto
>          Issue Type: Bug
>          Components: tck
>    Affects Versions: 3.0.0
>            Reporter: Neil Griffin
>            Assignee: Neil Griffin
>             Fix For: 3.0.1
>
>
> The V2EnvironmentTests_PortletContext_ApiRender_getPortletContextName1 and V2EnvironmentTests_PortletContext_ApiRender_getPortletContextName2 tests in the Portlet 3.0 TCK verify that the value of {{PortletContext.getPortletContextName()}} equals {{"javax.portlet-tck-EnvironmentTests"}} which is the value found in the {{<display-name>...</display-name>}} element of the WEB-INF/web.xml descriptor.
> Rather than hard-coding the string constant {{"javax.portlet-tck-EnvironmentTests"}}, the aforementioned TCK tests should be improved so that the actual value of the {{<display-name>...</display-name>}} element is parsed from the WEB-INF/web.xml descriptor.
> This improvement is very simple to make, since the TCK already scans the classpath for the WEB-INF/web.xml descriptor as part of the {{WebConfigScanner}} and {{WebConfigParser}} mechanism.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
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.