On Wednesday, March 19, 2003, at 12:11 AM, Hiran Chaudhuri wrote:
I tried running the test suite, which I had to adapt for TaminoSQL as an
additional engine.


Unfortunately I get execptions as listed beneath. As I cannot find the
according classes to compile them, please direct me what to do.

These classes are in the src/tests directory in the castor CVS tree. You can build them with the ant target "tests".


HTH,
Rhett

--------------------------------------------
org.exolab.castor.mapping.MappingException: Could not find the class
jdo.TestObject2
at
org.exolab.castor.mapping.loader.MappingLoader.createDescriptor(Mapping Loade
r.java:340)
at
org.exolab.castor.jdo.engine.JDOMappingLoader.createDescriptor(JDOMappi ngLoa
der.java:147)
at
org.exolab.castor.mapping.loader.MappingLoader.loadMapping(MappingLoade r.jav
a:232)
at
org.exolab.castor.jdo.engine.JDOMappingLoader.loadMapping(JDOMappingLoa der.j
ava:295)
at org.exolab.castor.mapping.Mapping.getResolver(Mapping.java:291)
at
org.exolab.castor.jdo.engine.DatabaseRegistry.loadDatabase(DatabaseRegi stry.
java:289)
at org.exolab.castor.jdo.JDO.getDatabase(JDO.java:583)
at jdo.JDOCategory.getDatabase(JDOCategory.java:88)
at jdo.KeyGenGeneric.setUp(KeyGenGeneric.java:87)
at junit.framework.TestCase.runBare(TestCase.java:128)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:121)
at harness.CastorTestCase.run(CastorTestCase.java:134)
at junit.framework.TestSuite.runTest(TestSuite.java:157)
at junit.framework.TestSuite.run(TestSuite.java:152)
at harness.TestHarness.run(TestHarness.java:142)
at junit.framework.TestSuite.runTest(TestSuite.java:157)
at junit.framework.TestSuite.run(TestSuite.java:152)
at harness.TestHarness.run(TestHarness.java:142)
at Main.run(Main.java:164)
at junit.textui.TestRunner.doRun(TestRunner.java:74)
at junit.textui.TestRunner.run(TestRunner.java:201)
at Main.main(Main.java:238)

----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev




Reply via email to