You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2005/10/31 17:57:35 UTC
DO NOT REPLY [Bug 37312] New: -
addError method of resultformatter is only called if usefile=true after timeout
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=37312>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=37312
Summary: addError method of resultformatter is only called if
usefile=true after timeout
Product: Ant
Version: 1.6.5
Platform: Other
OS/Version: other
Status: NEW
Severity: normal
Priority: P2
Component: Optional Tasks
AssignedTo: dev@ant.apache.org
ReportedBy: wander@xs4all.nl
In the following piece of ant code a custom resultformatter element is used,
since the default value of the formatter's usefile attribute is "true" an
(empty) file TEST-org.example.test.TimeoutTestnull is created.
<junit fork="true" showoutput="true" timeout="${timeout}">
<classpath path="classes"/>
<formatter classname="org.example.TimeoutListener"/>
<test name="org.example.test.TimeoutTest"/>
</junit>
After setting the usefile attribute to "false" ...
<junit fork="true" showoutput="true" timeout="${timeout}">
<classpath path="classes"/>
<formatter classname="org.example.TimeoutListener"/>
<test name="org.example.test.TimeoutTest" usefile="false"/>
</junit>
... no file is created (correct) however the addError method of TimeoutListener
is never called after a timeout (not correct).
See the latest attachment for bug#37241 for a worked out example.
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org