Thanks, Arnaud. I got by it; I'll try that next time.
While I've got your ear. I put togother a test case for an exception that was thrown during code generation. The CTF, however, wanted more of an example than I needed to give. I tried using the <Skip>true</Skip> element to no avail. I ended up just putting dummy data items in my XML. The CTF wanted desperately to marshal/unmarshal SOMETHING, so I put in the dummy data. Any suggestions? My test case is attached to this bug: http://bugzilla.exolab.org/show_bug.cgi?id=1180 Thanks, --Erik > -----Original Message----- > From: Arnaud Blandin [mailto:[EMAIL PROTECTED]] > Sent: Monday, January 20, 2003 8:27 AM > To: [EMAIL PROTECTED] > Subject: Re: [castor-dev] compiler errors during test case > > > Hi Erik, > > Have you tried to use the '-printStack' option on the CTF? > It should work with the latest CVS. > > Arnaud > > > -----Original Message----- > > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]] > > Sent: Friday, January 17, 2003 9:42 PM > > To: [EMAIL PROTECTED] > > Subject: [castor-dev] compiler errors during test case > > > > All, > > > > I'm writing a testcase for the CTF. > > When I run the CTF, it tries to compile some code, but gets an > > error. What's the best way to find the compiler > error messages? > > > > The errors "should have been provided" but weren't. > > > > Time: 2.944 > > There was 1 error: > > 1) > > > testWithReferenceDocument(org.exolab.castor.tests.framew > ork.SourceGenera > torTes > > tCase) > > Compile failed, messages should have been provided. > > at > org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:532) > > at > > > org.exolab.castor.tests.framework.SourceGeneratorTestCas > e.setUp(SourceGe > nerato > > rTestCase.java:233) > > 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 > junit.framework.TestSuite.runTest(TestSuite.java:157) > > at junit.framework.TestSuite.run(TestSuite.java:152) > > at > junit.framework.TestSuite.runTest(TestSuite.java:157) > > at junit.framework.TestSuite.run(TestSuite.java:152) > > at junit.textui.TestRunner.doRun(TestRunner.java:74) > > at junit.textui.TestRunner.start(TestRunner.java:235) > > at junit.textui.TestRunner.main(TestRunner.java:108) > > at > > > org.exolab.castor.tests.framework.CastorTestSuiteRunner. > main(CastorTestS > uiteRu > > nner.java:197) > > There was 1 failure: > > 1) > > > testWithRandomObject(org.exolab.castor.tests.framework.S > ourceGeneratorTe > stCase > > ) "Unable to process the test > > case:java.lang.ClassCastException" > > > > Thanks, > > > > --Erik > > > > ----------------------------------------------------------- > > If you wish to unsubscribe from this mailing, send mail to > > [EMAIL PROTECTED] with a subject of: > > unsubscribe castor-dev > > ----------------------------------------------------------- > If you wish to unsubscribe from this mailing, send mail to > [EMAIL PROTECTED] with a subject of: > unsubscribe castor-dev > > ----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to [EMAIL PROTECTED] with a subject of: unsubscribe castor-dev
