@Test public void testFinalizeLogs() { int threadCount = 3; underTest.finalizeLogs(props, htmlLog, csvLog, quickLog, threadCount); verify(props).setProperty("GEPARDVERSION", "unknown (no manifest file) with " + threadCount + " thread(s)."); verify(htmlLog).insertBlock("Footer", props); verify(htmlLog).close(); verify(csvLog).insertBlock("Footer", props); verify(csvLog).close(); verify(quickLog).insertBlock("Footer", props); verify(quickLog).close(); }
public void finalizeLogs(final Properties props, final LogFileWriter htmlLog, final LogFileWriter csvLog, final LogFileWriter quickLog, final int threadCount) { Util util = new Util(); props.setProperty("GEPARDVERSION", util.getGepardVersion() + " with " + threadCount + " thread(s)."); htmlLog.insertBlock("Footer", props); htmlLog.close(); csvLog.insertBlock("Footer", props); csvLog.close(); quickLog.insertBlock("Footer", props); quickLog.close(); }
LogFinalizer { public void finalizeLogs(final Properties props, final LogFileWriter htmlLog, final LogFileWriter csvLog, final LogFileWriter quickLog, final int threadCount) { Util util = new Util(); props.setProperty("GEPARDVERSION", util.getGepardVersion() + " with " + threadCount + " thread(s)."); htmlLog.insertBlock("Footer", props); htmlLog.close(); csvLog.insertBlock("Footer", props); csvLog.close(); quickLog.insertBlock("Footer", props); quickLog.close(); } }
LogFinalizer { public void finalizeLogs(final Properties props, final LogFileWriter htmlLog, final LogFileWriter csvLog, final LogFileWriter quickLog, final int threadCount) { Util util = new Util(); props.setProperty("GEPARDVERSION", util.getGepardVersion() + " with " + threadCount + " thread(s)."); htmlLog.insertBlock("Footer", props); htmlLog.close(); csvLog.insertBlock("Footer", props); csvLog.close(); quickLog.insertBlock("Footer", props); quickLog.close(); }  }
LogFinalizer { public void finalizeLogs(final Properties props, final LogFileWriter htmlLog, final LogFileWriter csvLog, final LogFileWriter quickLog, final int threadCount) { Util util = new Util(); props.setProperty("GEPARDVERSION", util.getGepardVersion() + " with " + threadCount + " thread(s)."); htmlLog.insertBlock("Footer", props); htmlLog.close(); csvLog.insertBlock("Footer", props); csvLog.close(); quickLog.insertBlock("Footer", props); quickLog.close(); }  void finalizeLogs(final Properties props, final LogFileWriter htmlLog, final LogFileWriter csvLog, final LogFileWriter quickLog,
            final int threadCount); }
LogFinalizer { public void finalizeLogs(final Properties props, final LogFileWriter htmlLog, final LogFileWriter csvLog, final LogFileWriter quickLog, final int threadCount) { Util util = new Util(); props.setProperty("GEPARDVERSION", util.getGepardVersion() + " with " + threadCount + " thread(s)."); htmlLog.insertBlock("Footer", props); htmlLog.close(); csvLog.insertBlock("Footer", props); csvLog.close(); quickLog.insertBlock("Footer", props); quickLog.close(); }  void finalizeLogs(final Properties props, final LogFileWriter htmlLog, final LogFileWriter csvLog, final LogFileWriter quickLog,
            final int threadCount);  }