This is the mail archive of the
mauve-discuss@sourceware.org
mailing list for the Mauve project.
misleading output "PASS: Error: ..."
- From: Edwin Steiner <edwin dot steiner at gmx dot net>
- To: mauve-discuss at sourceware dot org
- Date: Fri, 20 Jan 2006 20:59:47 +0100
- Subject: misleading output "PASS: Error: ..."
Hallo!
During my work with tgolem I found many lines in the mauve output like
this:
PASS: gnu.testlet.java.lang.Byte.ByteTest: Error: test_Basics failed - 1 (number 1)
They are produced by such code:
harness.check(!( Byte.MIN_VALUE != -128 ),
"Error: test_Basics failed - 1" );
Would you accept patches turning this into
harness.check(!( Byte.MIN_VALUE != -128 ),
"test_Basics - 1" );
? (Only changing the string. Changing the double negation seems too
error prone for the many cases I found.)
BTW I already promised patches for a similar problem. Unfortunately I
had very little spare time recently. I hope this will get better now.
Cheers,
-Edwin