DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17012>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17012

Incompatibility between junit 3.8.1 and cactus 1.4.1

           Summary: Incompatibility between junit 3.8.1 and cactus 1.4.1
           Product: Cactus
           Version: 1.4.1
          Platform: All
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Client Side
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


I have found incompatibility between junit 3.8.1 and cactus 1.4.1. In this new 
version of junit a new exception was introduced called ComparisonFailure thrown 
when an assert equals for Strings fails. This class is a direct subclass of 
AssertionFailedError. Whenever string comparison fails junit throws 
ComparisonFailure instead of AssertionFailedError. In cactus source code for 
HttpURLConnection doTest(WebRequest theRequest) method the check is made for 
exception class name instead of using 'instance of' operator. This causes 
string comparisons to be reversed and reported as errors instead of failures as 
junit reports them.

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

Reply via email to