jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Justin Edelson <justinedel...@gmail.com>
Subject how to load test content for the jcr-tests suite
Date Fri, 12 Mar 2010 22:02:12 GMT
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: /testdata
	at junit.framework.Assert.fail(Assert.java:47)
	at
org.apache.jackrabbit.test.AbstractJCRTest.setUp(AbstractJCRTest.java:403)
	at
org.apache.jackrabbit.test.api.NodeReadMethodsTest.setUp(NodeReadMethodsTest.java:67)
	at junit.framework.TestCase.runBare(TestCase.java:132)
	at junit.framework.TestResult$1.protect(TestResult.java:110)
	at junit.framework.TestResult.runProtected(TestResult.java:128)
	at junit.framework.TestResult.run(TestResult.java:113)
	at junit.framework.TestCase.run(TestCase.java:124)
	at org.apache.jackrabbit.test.AbstractJCRTest.run(AbstractJCRTest.java:456)
	at junit.framework.TestSuite.runTest(TestSuite.java:232)
	at junit.framework.TestSuite.run(TestSuite.java:227)
	at junit.framework.TestSuite.runTest(TestSuite.java:232)
	at junit.framework.TestSuite.run(TestSuite.java:227)
	at junit.framework.TestSuite.runTest(TestSuite.java:232)
	at
org.apache.jackrabbit.test.ConcurrentTestSuite.access$001(ConcurrentTestSuite.java:29)
	at
org.apache.jackrabbit.test.ConcurrentTestSuite$2.run(ConcurrentTestSuite.java:67)
	at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(Unknown
Source)
	at java.lang.Thread.run(Thread.java:637)

Is there an automated way of initializing a repository so that the test
suite can be run on it?

Thanks,
Justin

Mime
View raw message