code: synchronized void print(TestResult result, long runTime) {
          printHeader(runTime);
          printErrors(result);
          printFailures(result);
          printFooter(result);
      }
docs: /* API for use by textui.TestRunner