portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Randy Watler (JIRA)" <jetspeed-...@portals.apache.org>
Subject [jira] [Commented] (JS2-1307) Refactor Jexl Scriptable Test Case for Reuse
Date Mon, 24 Nov 2014 19:42:16 GMT

    [ 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

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org

View raw message