This is the mail archive of the
mauve-patches@sourceware.org
mailing list for the Mauve project.
Patch: XML-reports incomplete (in case of check(Object,Object))
- From: Julian Oppermann <julian dot oppermann at aicas dot de>
- To: mauve-patches at sources dot redhat dot com
- Date: Fri, 29 Sep 2006 11:38:43 +0200
- Subject: Patch: XML-reports incomplete (in case of check(Object,Object))
Hi,
in class RunnerProcess I found the following issue:
If check(Object,Object) is called and the object are not equal, this is
written to stdout but the not appended to currentResult and in
consequence, this failure appears not in the '-xmlout'-report.
Regards,
Julian
Index: RunnerProcess.java
===================================================================
RCS file: /cvs/mauve/mauve/RunnerProcess.java,v
retrieving revision 1.14
diff -u -r1.14 RunnerProcess.java
--- RunnerProcess.java 4 Aug 2006 20:30:09 -0000 1.14
+++ RunnerProcess.java 29 Sep 2006 09:36:14 -0000
@@ -528,6 +528,7 @@
else
{
lastFailureMessage = "Objects were not equal";
+ currentResult.addFail(desc + " -- " +lastFailureMessage);
System.out.println("objects were not equal. " +
"Use -debug for more information.");
return;