ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/test/tck/JSR166TestCase.java
(Generate patch)

Comparing jsr166/src/test/tck/JSR166TestCase.java (file contents):
Revision 1.178 by jsr166, Fri Oct 23 17:34:47 2015 UTC vs.
Revision 1.179 by jsr166, Fri Oct 23 21:59:58 2015 UTC

# Line 277 | Line 277 | public class JSR166TestCase extends Test
277          PithyResultPrinter(java.io.PrintStream writer) { super(writer); }
278          long runTime;
279          public void startTest(Test test) {}
280 <        protected void printHeader(long runTime) {
280 >        protected void printHeader(long runTime) {
281              this.runTime = runTime; // defer printing for later
282 <        }
283 <        protected void printFooter(TestResult result) {
282 >        }
283 >        protected void printFooter(TestResult result) {
284              if (result.wasSuccessful()) {
285                  getWriter().println("OK (" + result.runCount() + " tests)"
286                      + "  Time: " + elapsedTimeAsString(runTime));

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines