I am running the test cases against the 1.2.11 code, and the minimum case fails right off the bat:

Minimum:
   [junit] Running org.apache.log4j.MinimumTestCase
   [junit] Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 0.501 sec
   [junit] Testsuite: org.apache.log4j.MinimumTestCase
   [junit] Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 0.501 sec
   [junit] ------------- Standard Output ---------------
   [junit] Files [output/filtered] and [witness/simple] differ on line 28
[junit] One reads: [ at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)]. [junit] Other reads:[ at java.lang.reflect.Method.invoke(Native Method)].
   [junit] ------------- ---------------- ---------------

   [junit] Testcase: simple took 0.491 sec
   [junit]     FAILED
   [junit] null
   [junit] junit.framework.AssertionFailedError
[junit] at org.apache.log4j.MinimumTestCase.simple(MinimumTestCase.java:72)


BUILD FAILED

The exception recorded in the generated output/filtered has differences in the reflection related items and the junit related items that are different than the witness/simple file:

java.lang.Exception: Just testing.
at org.apache.log4j.MinimumTestCase.common(MinimumTestCase.java:XXX)
at org.apache.log4j.MinimumTestCase.simple(MinimumTestCase.java:XXX)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:XXX) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:XXX)
at java.lang.reflect.Method.invoke(Method.java:XXX)
at junit.framework.TestCase.runTest(TestCase.java:XXX)
at junit.framework.TestCase.runBare(TestCase.java:XXX)
at junit.framework.TestResult$1.protect(TestResult.java:XXX)
at junit.framework.TestResult.runProtected(TestResult.java:XXX)
at junit.framework.TestResult.run(TestResult.java:XXX)
at junit.framework.TestCase.run(TestCase.java:XXX)
at junit.framework.TestSuite.runTest(TestSuite.java:XXX)
at junit.framework.TestSuite.run(TestSuite.java:XXX)
at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:XXX) at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:XXX) at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:XXX)

Does anyone else see these or is it something particular to my machine? What version of junit are we officially using for the 1.2.X branch? I am seeing this failure with or without the new "target" attribute I added to the javac tasks.

-Mark


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to