Skip to content

Commit 5f1059d

Browse files
author
Bruce Eckel
committed
Output fixes
1 parent cdc6ddb commit 5f1059d

31 files changed

+256
-163
lines changed

Ant-Clean.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
<include name="**/*.err" />
1818
<include name="**/*.dat" />
1919
<include name="**/*.log" />
20+
<include name="**/*.serialized" />
2021
<include name="**/failures" />
2122
<include name="**/test.gz" />
2223
<include name="**/test.zip" />

Ant-Common.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,9 @@
176176
<fileset dir="${basedir}" casesensitive="yes">
177177
<include name="**/update_output.bat" />
178178
<include name="**/validate_failures.txt" />
179+
<include name="**/validate_successes.txt" />
179180
<include name="**/strategies.txt" />
181+
<include name="**/edit_errors.bat" />
180182
</fileset>
181183
</delete>
182184
<echo message="verifyclean successful"/>

annotations/AtUnitComposition.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ public class AtUnitComposition {
1717
return testObject.methodTwo() == 2;
1818
}
1919
public static void main(String[] args) throws Exception {
20-
OSExecute.command(
21-
"java -cp .. onjava.atunit.AtUnit AtUnitComposition.class");
20+
OSExecute.command("java -cp .. " +
21+
"onjava.atunit.AtUnit AtUnitComposition.class");
2222
}
2323
}
2424
/* Output:

annotations/AtUnitExample1.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ public int methodTwo() {
2323
@Test boolean failureTest() { return false; }
2424
@Test boolean anotherDisappointment() { return false; }
2525
public static void main(String[] args) throws Exception {
26-
OSExecute.command(
27-
"java -cp .. onjava.atunit.AtUnit AtUnitExample1.class");
26+
OSExecute.command("java -cp .. " +
27+
"onjava.atunit.AtUnit AtUnitExample1.class");
2828
}
2929
}
3030
/* Output:

annotations/AtUnitExample2.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ public int methodTwo() {
3131
return methodOne().equals("This is methodOne");
3232
}
3333
public static void main(String[] args) throws Exception {
34-
OSExecute.command(
35-
"java -cp .. onjava.atunit.AtUnit AtUnitExample2.class");
34+
OSExecute.command("java -cp .. " +
35+
"onjava.atunit.AtUnit AtUnitExample2.class");
3636
}
3737
}
3838
/* Output:

annotations/AtUnitExample3.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ public int methodTwo() {
2626
}
2727
@Test boolean m2() { return methodTwo() == 2; }
2828
public static void main(String[] args) throws Exception {
29-
OSExecute.command(
30-
"java -cp .. onjava.atunit.AtUnit AtUnitExample3.class");
29+
OSExecute.command("java -cp .. " +
30+
"onjava.atunit.AtUnit AtUnitExample3.class");
3131
}
3232
}
3333
/* Output:

annotations/AtUnitExample4.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ public String scrambleWord() {
5757
}
5858
public static void main(String[] args) throws Exception {
5959
System.out.println("starting");
60-
OSExecute.command(
61-
"java -cp .. onjava.atunit.AtUnit AtUnitExample4.class");
60+
OSExecute.command("java -cp .. " +
61+
"onjava.atunit.AtUnit AtUnitExample4.class");
6262
}
6363
}
6464
/* Output:

annotations/AtUnitExample5.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ public class AtUnitExample5 {
4141
return true;
4242
}
4343
public static void main(String[] args) throws Exception {
44-
OSExecute.command(
45-
"java -cp .. onjava.atunit.AtUnit AtUnitExample5.class");
44+
OSExecute.command("java -cp .. " +
45+
"onjava.atunit.AtUnit AtUnitExample5.class");
4646
}
4747
}
4848
/* Output:

annotations/AtUnitExternalTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ public class AtUnitExternalTest extends AtUnitExample1 {
1313
}
1414
@Test boolean _methodTwo() { return methodTwo() == 2; }
1515
public static void main(String[] args) throws Exception{
16-
OSExecute.command(
17-
"java -cp .. onjava.atunit.AtUnit AtUnitExternalTest.class");
16+
OSExecute.command("java -cp .. " +
17+
"onjava.atunit.AtUnit AtUnitExternalTest.class");
1818
}
1919
}
2020
/* Output:

annotations/HashSetTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ public class HashSetTest {
2222
assert testObject.isEmpty();
2323
}
2424
public static void main(String[] args) throws Exception {
25-
OSExecute.command(
26-
"java -cp .. onjava.atunit.AtUnit HashSetTest.class");
25+
OSExecute.command("java -cp .. " +
26+
"onjava.atunit.AtUnit HashSetTest.class");
2727
}
2828
}
2929
/* Output:

0 commit comments

Comments
 (0)