Hi Justin,
thanks for the prompt reply!

In my test I was trying to add some nodes to the repository and then
querying it with the new APIs in order to verify results are get in
the right way...

Maybe I should switch to a different strategy? Do you have any hint?
Many thanks in advance, all the best!
-Simo

http://people.apache.org/~simonetripodi/
http://simonetripodi.livejournal.com/
http://twitter.com/simonetripodi
http://www.99soft.org/


On Mon, Dec 17, 2012 at 9:43 PM, Justin Edelson
<[email protected]> wrote:
> Simone-
> I don't think the structure of the JR codebase would permit this.
> jcr-commons is a dependency of jackrabbit-core, so starting a repository
> from a jcr-commons test would create a circular dependency (unless it was to
> an older version of jackrabbit-core, which no doubts creates other issues).
>
> I guess we need a separate module named
> jackrabbit-jcr-commons-integration-tests.
>
> Is there a reason you can't test with mocks?
>
> Regards,
> Justin
>
>
> On Mon, Dec 17, 2012 at 3:09 PM, Simone Tripodi <[email protected]>
> wrote:
>>
>> Hi all guys!
>>
>> I am working on a patch to be contributed on JCR-3487 and I didn't
>> find a way, in tests, how to obtain a repository where adding nodes
>> and than execute queries - do you have any hint?
>>
>> Many thanks in advance, all the best!
>> -Simo
>>
>> http://people.apache.org/~simonetripodi/
>> http://simonetripodi.livejournal.com/
>> http://twitter.com/simonetripodi
>> http://www.99soft.org/
>
>

Reply via email to