This is the mail archive of the mauve-patches@sourceware.org mailing list for the Mauve project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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;

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]