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 23645] New: - Timeout on <junit> task results in 0 tests and 1 error
Date Tue, 07 Oct 2003 08:50:39 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=23645>.
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=23645

Timeout on <junit> task results in 0 tests and 1 error

           Summary: Timeout on <junit> task results in 0 tests and 1 error
           Product: Ant
           Version: 1.6Beta
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Optional Tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: wander@xs4all.nl


A timeout during a <junit> with formatter="xml" results in the following xml file:

<?xml version="1.0" encoding="UTF-8" ?>
<testsuite errors="1" failures="0" name="my.package.FooTest" tests="0" time="0.0">
  <properties></properties>
  <testcase classname="org.apache.tools.ant.taskdefs.optional.junit.JUnitTask$1"
name="unknown" time="0.0010">
    <error message="Timeout occurred"
type="junit.framework.AssertionFailedError">junit.framework.AssertionFailedError:
Timeout occurred
</error>
  </testcase>
</testsuite>


After running <junitreport> the resulting HTML states 0 tests and 1 error.
If all tests timeout the overall success rate is -Infinity%

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message