@Test public void createCoverageMonitor() { File sessionDir = new File(System.getProperty("java.io.tmpdir")); CoverageMonitor monitor = new CoverageMonitor("http: monitor.setTestSessionDir(sessionDir); assertNotNull(monitor); }
public void setTestSessionDir(File sessionDir) { if (!sessionDir.isDirectory()) { throw new IllegalArgumentException("Not a directory: " + testSessionDir); } this.testSessionDir = sessionDir; }
CoverageMonitor { public void setTestSessionDir(File sessionDir) { if (!sessionDir.isDirectory()) { throw new IllegalArgumentException("Not a directory: " + testSessionDir); } this.testSessionDir = sessionDir; } }
CoverageMonitor { public void setTestSessionDir(File sessionDir) { if (!sessionDir.isDirectory()) { throw new IllegalArgumentException("Not a directory: " + testSessionDir); } this.testSessionDir = sessionDir; } CoverageMonitor(String uri); }
CoverageMonitor { public void setTestSessionDir(File sessionDir) { if (!sessionDir.isDirectory()) { throw new IllegalArgumentException("Not a directory: " + testSessionDir); } this.testSessionDir = sessionDir; } CoverageMonitor(String uri); File getTestSessionDir(); void setTestSessionDir(File sessionDir); void writeCoverageResults(); }
CoverageMonitor { public void setTestSessionDir(File sessionDir) { if (!sessionDir.isDirectory()) { throw new IllegalArgumentException("Not a directory: " + testSessionDir); } this.testSessionDir = sessionDir; } CoverageMonitor(String uri); File getTestSessionDir(); void setTestSessionDir(File sessionDir); void writeCoverageResults();  }