* Patch: FYI: harness fix + exception print
@ 2007-02-12 22:28 Tom Tromey
0 siblings, 0 replies; only message in thread
From: Tom Tromey @ 2007-02-12 22:28 UTC (permalink / raw)
To: Mauve Patch List
I'm checking this in.
This fixes a harness typo and changes the server socket test to print
stack traces.
Tom
Index: ChangeLog
from Tom Tromey <tromey@redhat.com>
* gnu/testlet/java/net/ServerSocket/BasicSocketServer.java (init):
Print exception.
(run): Likewise.
* Harness.java (printHelpMessage): Typo fix.
Index: Harness.java
===================================================================
RCS file: /cvs/mauve/mauve/Harness.java,v
retrieving revision 1.27
diff -u -r1.27 Harness.java
--- Harness.java 20 Oct 2006 01:38:38 -0000 1.27
+++ Harness.java 12 Feb 2007 22:26:49 -0000
@@ -1,4 +1,4 @@
-// Copyright (c) 2006 Red Hat, Inc.
+// Copyright (c) 2006, 2007 Red Hat, Inc.
// Written by Anthony Balkissoon <abalkiss@redhat.com>
// This file is part of Mauve.
@@ -595,7 +595,7 @@
"run the tests in its subfolders\n" +
" -file [filename]: specifies a file that contains the names " +
"of tests to be run (one per line)\n" +
- " -interactive: only run interavtice tests, if not set, " +
+ " -interactive: only run interactive tests, if not set, " +
"only run non-interactive tests\n" +
// Output Options.
"\n\nOutput Options:\n" +
Index: gnu/testlet/java/net/ServerSocket/BasicSocketServer.java
===================================================================
RCS file: /cvs/mauve/mauve/gnu/testlet/java/net/ServerSocket/BasicSocketServer.java,v
retrieving revision 1.6
diff -u -r1.6 BasicSocketServer.java
--- gnu/testlet/java/net/ServerSocket/BasicSocketServer.java 3 Jun 2004 14:31:11 -0000 1.6
+++ gnu/testlet/java/net/ServerSocket/BasicSocketServer.java 12 Feb 2007 22:27:05 -0000
@@ -1,7 +1,7 @@
// Tags: not-a-test
/*
- Copyright (C) 1999 Hewlett-Packard Company
+ Copyright (C) 1999, 2007 Hewlett-Packard Company
This file is part of Mauve.
@@ -42,6 +42,7 @@
catch (Exception e) {
System.out.println("Error : BasicSocketServer::init failed " +
"exception in new ServerSocket(...) " + e);
+ harness.debug(e);
}
}
@@ -68,6 +69,7 @@
catch (Exception e) {
System.out.println("Error : BasicSocketServer::run failed - 2" +
"exception was thrown");
+ harness.debug(e);
}
}
try {
@@ -77,6 +79,7 @@
catch (Exception e) {
System.out.println("Error : BasicSocketServer::run failed - 3" +
"exception was thrown");
+ harness.debug(e);
}
}
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-02-12 22:28 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-12 22:28 Patch: FYI: harness fix + exception print Tom Tromey
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).