jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sorel <johann.so...@geomatys.fr>
Subject Re: JCR test suite, how to use it ?
Date Fri, 18 Sep 2009 13:08:08 GMT
Hi again,

I found out a piece of Javadoc explaining a part of what I'm trying to 
do in the RepositoryStub class :
     * Creates and/or returns the configured <code>RepositryStub</code>
     * implementation.
     * <p>
     * The property file is located in the following sequence:
     * <ol>
     * <li>If the system property 
<code>-Djavax.jcr.tck.properties</code> is
     * set, then the accroding file is used as configuration.</li>
     * <li>If the system property 
<code>-Djavax.jcr.tck.properties</code> is
     * not set, then the TCK tries to load the file 
     * as a resource from the ClassLoader of this 
<code>RepositryStub</code> class.</li>
     * </ol>
     * The properties are then overlayed with the the key / values from
     * <code>configuration</code> map.
     * @param configuration a <code>Map</code> of additional 
configuration entries.
     * @return a <code>RepositoryStub</code> implementation.
     * @throws RepositoryStubException

Problem is I have no idea what must be inside this file nor how to start 
For the moment I have an implementation of RepositryStub and a test case 
extending JCRtestcase but that's all.

thanks for any details, samples or link about this.

sorel a écrit :
> Hello,
> I have made a simple implementation of a JCR repository using 
> JackRabbit JCR commun module.
> Now I would like to test if my implementation is correct with the 
> JackRabbit JCR test suite, however
> I haven't found how to configure the tests to use my repository.
> A quick explication would be really helpfull. :)
> johann sorel

View raw message