summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoracolyer <acolyer>2003-08-08 13:16:05 +0000
committeracolyer <acolyer>2003-08-08 13:16:05 +0000
commitbf887f651e34b7e25a4a82d18267efaf57e0ffb6 (patch)
tree9d6d1d056a4e30d6670a8f4e0af305798a343932
parent18f9c1e2dbd6533e1e939871a6129ed1a95800e8 (diff)
downloadaspectj-bf887f651e34b7e25a4a82d18267efaf57e0ffb6.tar.gz
aspectj-bf887f651e34b7e25a4a82d18267efaf57e0ffb6.zip
report fails as junit errors, not failures
-rw-r--r--testing-drivers/src/org/aspectj/testing/drivers/Harness.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/testing-drivers/src/org/aspectj/testing/drivers/Harness.java b/testing-drivers/src/org/aspectj/testing/drivers/Harness.java
index 937d3d014..d1651043b 100644
--- a/testing-drivers/src/org/aspectj/testing/drivers/Harness.java
+++ b/testing-drivers/src/org/aspectj/testing/drivers/Harness.java
@@ -1287,7 +1287,7 @@ class JUnitXMLLogger extends TestCompleteListener {
PrintStream out = streamsHandler.getLogStream();
out.println("<?xml version=\"1.0\" encoding=\"UTF-8\"?>");
String timeStr = new DecimalFormat("#.##").format(duration/1000.0);
- out.print("<testsuite errors=\"0\" failures=\"" + numFails + "\" ");
+ out.print("<testsuite errors=\"" + numFails + "\" failures=\"0\" ");
out.print("name=\"" + suite.getName() + "\" " );
out.println("tests=\"" + numTests + "\" time=\"" + timeStr + "\">");
out.print(junitOutput.toString());