--- jsr166/src/test/tck/JSR166TestCase.java 2015/10/23 17:34:47 1.178
+++ jsr166/src/test/tck/JSR166TestCase.java 2015/11/09 05:43:39 1.180
@@ -112,8 +112,7 @@ import junit.framework.TestSuite;
* methods as there are exceptions the method can throw. Sometimes
* there are multiple tests per JSR166 method when the different
* "normal" behaviors differ significantly. And sometimes testcases
- * cover multiple methods when they cannot be tested in
- * isolation.
+ * cover multiple methods when they cannot be tested in isolation.
*
*
The documentation style for testcases is to provide as javadoc
* a simple sentence or two describing the property that the testcase
@@ -277,10 +276,10 @@ public class JSR166TestCase extends Test
PithyResultPrinter(java.io.PrintStream writer) { super(writer); }
long runTime;
public void startTest(Test test) {}
- protected void printHeader(long runTime) {
+ protected void printHeader(long runTime) {
this.runTime = runTime; // defer printing for later
- }
- protected void printFooter(TestResult result) {
+ }
+ protected void printFooter(TestResult result) {
if (result.wasSuccessful()) {
getWriter().println("OK (" + result.runCount() + " tests)"
+ " Time: " + elapsedTimeAsString(runTime));