Re: how to load test content for the jcr-tests suite

2010-03-13 Thread Justin Edelson
Thanks. I'd missed the class JackrabbitRepositoryStub, which seems to have the test content loading code. For Sling, I'm not sure it makes sense to have this code bound up in the RepositoryStub class. What do you think about refactoring this out into a separate class in o.a.j.core? Specifically, I

Re: how to load test content for the jcr-tests suite

2010-03-13 Thread Michael Dürig
Justin, Have a look at the test suite of the jackrabbit-jcr2dav module (ConformanceTest.java). There is the 'integration' Maven profile for running these tests. Also the pom.xml contains a list of the currently know issues. Michael On 3/12/10 11:02 PM, Justin Edelson wrote: As I mentione

how to load test content for the jcr-tests suite

2010-03-12 Thread Justin Edelson
As I mentioned before, I'm trying to run the various jackrabbit test suites against the DavEx servlet hosted inside Sling. I'm so close... It looks like most/all of the test failures are do to missing content, i.e. junit.framework.AssertionFailedError: Workspace does not contain test data at: /tes