public inbox for mauve-patches@sourceware.org
 help / color / mirror / Atom feed
* Patch: XML-reports incomplete (in case of check(Object,Object))
@ 2006-09-29  9:38 Julian Oppermann
  0 siblings, 0 replies; only message in thread
From: Julian Oppermann @ 2006-09-29  9:38 UTC (permalink / raw)
  To: mauve-patches

[-- Attachment #1: Type: text/plain, Size: 276 bytes --]

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


[-- Attachment #2: RunnerProcess.patch --]
[-- Type: text/plain, Size: 652 bytes --]

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;

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-09-29  9:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-09-29  9:38 Patch: XML-reports incomplete (in case of check(Object,Object)) Julian Oppermann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).