ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 17040] - JUnit task report does not use the one defined by setName method
Date Fri, 25 Apr 2003 19:01:23 GMT
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=17040>.
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=17040

JUnit task report does not use the one defined by setName method

lfi123@yahoo.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |



------- Additional Comments From lfi123@yahoo.com  2003-04-25 19:01 -------
Stefan,

The failed test cases are being reported twice.  To avoid this, we need to 
add "failedTests.put(test, test);" in the addFailure section as below.

    public void addFailure(Test test, AssertionFailedError t) {
        addFailure(test, (Throwable) t);
	failedTests.put(test, test); 
    }

Sorry that this took long, as I haven't found a 1.6 build that worked for me.  
I simply took the source, and re-compiled it with the 1.5.1 environment to 
verify the bug.

Mime
View raw message