jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jukka Zitting (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (JCR-2493) Unit tests for persistence managers
Date Tue, 16 Feb 2010 14:15:27 GMT

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

Jukka Zitting resolved JCR-2493.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 2.1.0

Patch committed in revision 910526. Good idea about in-memory databases. I updated the H2
JDBC URLs.

> Unit tests for persistence managers
> -----------------------------------
>
>                 Key: JCR-2493
>                 URL: https://issues.apache.org/jira/browse/JCR-2493
>             Project: Jackrabbit Content Repository
>          Issue Type: Improvement
>          Components: jackrabbit-core
>            Reporter: Jukka Zitting
>            Assignee: Jukka Zitting
>            Priority: Minor
>             Fix For: 2.1.0
>
>         Attachments: JCR-2493.patch
>
>
> Currently we only test our persistence managers indirectly via JCR-level test cases.
The downside of this approach is that we can only test one persistence manager implementation
at a time, and need separate build profiles to switch from one implementation to another.
To ensure better coverage and consistent behaviour across all our persistence managers I implemented
a simple unit test that works directly against the PersistenceManager interface.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message