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.framework.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.SourceGeneratorTestCase.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.SourceGeneratorTe 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
