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.SourceGeneratorTestCase)
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(SourceGeneratorTestCase.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(CastorTestSuiteRunner.java:197)
There was 1 failure:
1) testWithRandomObject(org.exolab.castor.tests.framework.SourceGeneratorTestCase) 
"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

Reply via email to