[jira] [Resolved] (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: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)