Message: The following issue has been closed.
--------------------------------------------------------------------- View the issue: http://issues.apache.org/jira/browse/CACTUS-34 Here is an overview of the issue: --------------------------------------------------------------------- Key: CACTUS-34 Summary: Incompatibility between junit 3.8.1 and cactus 1.4.1 Type: Bug Status: Closed Priority: Major Resolution: FIXED Project: Cactus Components: Framework Fix Fors: 1.5-beta1 Versions: 1.4.1 Assignee: Vincent Massol Reporter: Misak Boulatian Created: Wed, 12 Feb 2003 5:19 PM Updated: Sat, 17 Apr 2004 8:49 AM Environment: Operating System: Windows NT/2K Platform: All Description: 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. --------------------------------------------------------------------- JIRA INFORMATION: This message is automatically generated by JIRA. If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
