http://nagoya.apache.org/bugzilla/show_bug.cgi?id=575
*** shadow/575 Sun Feb 11 08:34:06 2001
--- shadow/575.tmp.7879 Sun Feb 11 08:34:06 2001
***************
*** 0 ****
--- 1,38 ----
+ +============================================================================+
+ | Ant1.2's optional tasks does not compile against JUnit 3.5 |
+ +----------------------------------------------------------------------------+
+ | Bug #: 575 Product: Ant |
+ | Status: NEW Version: 1.2 |
+ | Resolution: Platform: All |
+ | Severity: Blocker OS/Version: All |
+ | Priority: High Component: Optional Tasks |
+ +----------------------------------------------------------------------------+
+ | Assigned To: ant-dev@jakarta.apache.org |
+ | Reported By: ck@newcity.com |
+ | CC list: Cc: |
+ +----------------------------------------------------------------------------+
+ | URL: |
+ +============================================================================+
+ | DESCRIPTION |
+ The documentation for the junit task states:
+
+ 'This task requires JUnit 3.0 or above.'
+
+ Sadly, that is not true! If you try to use the precompiled optional tasks
+ with JUnit 3.5 you will get a AbstractMethodException thrown.
+
+ The course is a change of interface by the JUnit team,
+ junit.framework.TestResult.addFailure has had its second argument has been
+ narrowed from Throwable to AssertionFailedError.
+
+ The Ant classes that are affected by this are as followed:
+
+ JUnitTestRunner
+ SummaryJUnitResultFormatter
+ PlainJUnitResultFormatter
+ XMLJUnitResultFormatter
+
+
+ - Chris.
+
+ Brainbench MVP Java2.
|