protected void printJavacResultsSummary() { if (RUN_JAVAC) { Integer count = (Integer) TESTS_COUNTERS.get(CURRENT_CLASS_NAME); if (count != null) { int newCount = count.intValue() - 1; TESTS_COUNTERS.put(CURRENT_CLASS_NAME, Integer.valueOf(newCount)); if (newCount == 0) { if (DIFF_COUNTERS[0] != 0 || DIFF_COUNTERS[1] != 0 || DIFF_COUNTERS[2] != 0) { dualPrintln( "==========================================================================="); dualPrintln("Results summary:"); } if (DIFF_COUNTERS[0] != 0) dualPrintln( " - " + DIFF_COUNTERS[0] + " test(s) where Javadoc found errors/warnings but Eclipse did not"); if (DIFF_COUNTERS[1] != 0) dualPrintln( " - " + DIFF_COUNTERS[1] + " test(s) where Eclipse found errors/warnings but Javadoc did not"); System.out.println("\n"); } } javacFullLog.flush(); } }
public static Test buildComparableTestSuite(Class evaluationTestClass) { Test suite = buildMinimalComplianceTestSuite(evaluationTestClass, F_1_5); TESTS_COUNTERS.put(evaluationTestClass.getName(), new Integer(suite.countTestCases())); return suite; }