[jira] [Commented] (JS2-1307) Refactor Jexl Scriptable Test Case for Reuse

"Randy Watler (JIRA)" <[email protected]>
Newsgroups gmane.comp.jakarta.jetspeed.devel
Message-ID <[email protected]>
    [ https://issues.apache.org/jira/browse/JS2-1307?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14223390#comment-14223390 ] 

Randy Watler commented on JS2-1307:
-----------------------------------

Second pass required to refactor PAM tests.

Sending        jetspeed-cm/src/main/java/org/apache/jetspeed/components/test/AbstractJexlSpringTestCase.java
Sending        jetspeed-cm/src/main/java/org/apache/jetspeed/components/test/AbstractJexlSpringTestServer.java
Sending        jetspeed-cm/src/main/java/org/apache/jetspeed/components/test/AbstractSpringTestCase.java
Sending        jetspeed-portal/src/test/java/org/apache/jetspeed/tools/pamanager/PortletApplicationManagerServer.java
Sending        jetspeed-portal/src/test/java/org/apache/jetspeed/tools/pamanager/TestPortletApplicationManager.java
Transmitting file data .....
Committed revision 1641451.


> Refactor Jexl Scriptable Test Case for Reuse
> --------------------------------------------
>
>                 Key: JS2-1307
>                 URL: https://issues.apache.org/jira/browse/JS2-1307
>             Project: Jetspeed 2
>          Issue Type: Improvement
>          Components: Components Core, PSML
>    Affects Versions: 2.2.2
>         Environment: Maven unit tests, all development platforms.
>            Reporter: Randy Watler
>            Assignee: Randy Watler
>            Priority: Minor
>             Fix For: 2.2.3
>
>   Original Estimate: 6h
>  Remaining Estimate: 6h
>
> Test cases in PSML/Page Manager utilize a Jexl Scriptable technique to execute cluster cache testing. Extract this into an abstract test case in CM/Component Manager for reuse and refactor the existing tests to utilize.
> Note that the CM/Component Manager component has shared unit tests in its main artifact. This means that to avoid adding unit test dependencies into the main Jetspeed runtime, the Jexl dependency will be listed as provided, (as is currently done with other unit test dependencies in this component). This is a flaw that breaks transitive Maven dependencies. As previously noted in existing pom.xml, this should be fixed. It will not be addressed as part of this issue/fix.  



--
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.