@Test public void addSkippedTest() { tagStat.addSkipped(5); assertThat(tagStat.getPassed(), is(0)); assertThat(tagStat.getFailed(), is(0)); assertThat(tagStat.getSkipped(), is(5)); }
public void addSkipped(int skippedCount) { this.skipped += skippedCount; }
ResultCount { public void addSkipped(int skippedCount) { this.skipped += skippedCount; } }
ResultCount { public void addSkipped(int skippedCount) { this.skipped += skippedCount; } ResultCount(); }
ResultCount { public void addSkipped(int skippedCount) { this.skipped += skippedCount; } ResultCount(); void addPassed(int passedCount); void addFailed(int failedCount); void addSkipped(int skippedCount); int getPassed(); int getFailed(); int getSkipped(); int getTotal(); @Override String toString(); }
ResultCount { public void addSkipped(int skippedCount) { this.skipped += skippedCount; } ResultCount(); void addPassed(int passedCount); void addFailed(int failedCount); void addSkipped(int skippedCount); int getPassed(); int getFailed(); int getSkipped(); int getTotal(); @Override String toString();  }