protected internal virtual void printFooter(Result result)
 {
   if (result.wasSuccessful())
   {
     this.getWriter().println();
     this.getWriter().print("OK");
     this.getWriter().println(new StringBuilder().append(" (").append(result.getRunCount()).append(" test").append(result.getRunCount() != 1 ? "s" : "").append(")").toString());
   }
   else
   {
     this.getWriter().println();
     this.getWriter().println("FAILURES!!!");
     this.getWriter().println(new StringBuilder().append("Tests run: ").append(result.getRunCount()).append(",  Failures: ").append(result.getFailureCount()).toString());
   }
   this.getWriter().println();
 }
 protected internal virtual void printFailures(Result result)
 {
   List failures = result.getFailures();
   if (failures.size() == 0)
     return;
   if (failures.size() == 1)
     this.getWriter().println(new StringBuilder().append("There was ").append(failures.size()).append(" failure:").toString());
   else
     this.getWriter().println(new StringBuilder().append("There were ").append(failures.size()).append(" failures:").toString());
   int num1 = 1;
   Iterator iterator = failures.iterator();
   while (iterator.hasNext())
   {
     Failure each = (Failure) iterator.next();
     StringBuilder stringBuilder = new StringBuilder().append("");
     int num2 = num1;
     ++num1;
     string prefix = stringBuilder.append(num2).toString();
     this.printFailure(each, prefix);
   }
 }
 private PrintableResult([In] Result obj0)
 {
   base.\u002Ector();
   PrintableResult printableResult = this;
   this.result = obj0;
 }
 public override void testRunFinished(Result result)
 {
   this.printHeader(result.getRunTime());
   this.printFailures(result);
   this.printFooter(result);
 }
 public virtual void testRunFinished(Result result)
 {
 }