jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Justin Edelson <justinedel...@gmail.com>
Subject Re: javax.jcr.nodetype tests failed due to "workspace doesnt contain any test data"
Date Wed, 16 Jun 2010 13:38:58 GMT
On 6/16/10 2:17 AM, Subash Chaturanga wrote:
> Hi,when run the javax.jcr.nodetype test classes  ,all classes except
> NodeTypeCreationTest ,failed due to "workspace doesnt contain any test
> data at /testdata".
> 
> It will be really helpful if anyone can tell , how to overcome from this?

Are you talking about the tests in the jackrabbit-jcr-tests ? Because
those need to have some test data loaded into the repository. There is a
class org.apache.jackrabbit.core.TestContentLoader which can do this for
you.

HTH,
Justin



Mime
View raw message