You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Jukka Zitting (JIRA)" <ji...@apache.org> on 2009/04/07 15:23:12 UTC

[jira] Resolved: (JCR-2055) RepositoryStub implementation in jackrabbit-core

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

Jukka Zitting resolved JCR-2055.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 1.6.0
         Assignee: Jukka Zitting

There is now an org.apache.jackrabbit.core.JackrabbitRepositoryStub class in src/main/java in jackrabbit-core.

Using it in a downstream project is very simple, just add the following repositoryStubImpl.properties file to your test classpath and extend your tests from AbstractJCRTest.

repositoryStubImpl.properties:
javax.jcr.tck.repository_stub_impl=org.apache.jackrabbit.core.JackrabbitRepositoryStub

> RepositoryStub implementation in jackrabbit-core
> ------------------------------------------------
>
>                 Key: JCR-2055
>                 URL: https://issues.apache.org/jira/browse/JCR-2055
>             Project: Jackrabbit Content Repository
>          Issue Type: New Feature
>          Components: jackrabbit-core, jackrabbit-spi2jcr
>            Reporter: Jukka Zitting
>            Assignee: Jukka Zitting
>            Priority: Minor
>             Fix For: 1.6.0
>
>
> Currently setting up a Jackrabbit repository for use with the TCK is a relatively complex operation with a large repositoryStubImpl.properties file and lots of specially crafted test content and settings to worry about. This makes it hard to set up new TCK test instances with the various JCR and SPI layers we now have.
> To simplify things I'd like to introduce a RepositoryStubImpl class and related configuration files inside src/main/java in jackrabbit-core.

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