You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cactus-dev@jakarta.apache.org by ji...@apache.org on 2004/04/17 17:51:32 UTC
[jira] Closed: (CACTUS-34) Incompatibility between junit 3.8.1 and cactus 1.4.1
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: cactus-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: cactus-dev-help@jakarta.apache.org