You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by "Randy Watler (JIRA)" <je...@portals.apache.org> on 2014/11/24 16:04:12 UTC

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

     [ https://issues.apache.org/jira/browse/JS2-1307?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Randy Watler resolved JS2-1307.
-------------------------------
    Resolution: Fixed

Refactoring complete. SVN commit:

Sending        components/jetspeed-cm/pom.xml
Adding         components/jetspeed-cm/src/main/java/org/apache/jetspeed/components/test/AbstractJexlSpringTestCase.java
Adding         components/jetspeed-cm/src/main/java/org/apache/jetspeed/components/test/AbstractJexlSpringTestServer.java
Sending        components/jetspeed-page-manager/src/test/java/org/apache/jetspeed/page/cache/DatabasePageManagerServer.java
Sending        components/jetspeed-page-manager/src/test/java/org/apache/jetspeed/page/cache/TestDatabasePageManagerCache.java
Transmitting file data .....
Committed revision 1641403.


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

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