public static void document(ClassDoc c,PrintWriter pw) throws IOException {
  pw.println(c.qualifiedName());
{
    String comment=c.commentText();
    if (comment != null && !comment.equals("")) {
      pw.println("");
      indent(comment,4,pw);
      pw.println("");
    }
  }
  MethodDoc[] methods=getTestMethods(c);
  for (int i=0; i < methods.length; i++) {
    MethodDoc method=methods[i];
    pw.print("  ");
    pw.println(method.name());
    String comment=method.commentText();
    if (comment != null && !comment.equals("")) {
      pw.println("");
      indent(comment,6,pw);
      pw.println("");
    }
  }
  pw.println("");
}

public static void document ( ClassDoc c , PrintWriter pw ) throws IOException { pw . println ( c . qualifiedName ( ) ) ; { String comment = c . commentText ( ) ; if ( comment != null && ! comment . equals ( "" ) ) { pw . println ( "" ) ; indent ( comment , 4 , pw ) ; pw . println ( "" ) ; } } MethodDoc [ ] methods = getTestMethods ( c ) ; for ( int i = 0 ; i < methods . length ; i ++ ) { MethodDoc method = methods [ i ] ; pw . print ( "  " ) ; pw . println ( method . name ( ) ) ; String comment = method . commentText ( ) ; if ( comment != null && ! comment . equals ( "" ) ) { pw . println ( "" ) ; indent ( comment , 6 , pw ) ; pw . println ( "" ) ; } } pw . println ( "" ) ; }
summarizes the test methods of the given class
