@Test public void getTagResultsTest() { allTagsPageCollection = new AllTagsPageCollection(getTestReports(), ""); assertThat(allTagsPageCollection.getTotalNumberOfTags(), is(3)); assertThat(allTagsPageCollection.getTotalNumberOfFailed(), is(1)); assertThat(allTagsPageCollection.getTotalNumberOfPassed(), is(1)); assertThat(allTagsPageCollection.getTotalNumberOfSkipped(), is(1)); }
public int getTotalNumberOfTags() { return tagResultCounts.size(); }
AllTagsPageCollection extends ScenarioSummaryPageCollection { public int getTotalNumberOfTags() { return tagResultCounts.size(); } }
AllTagsPageCollection extends ScenarioSummaryPageCollection { public int getTotalNumberOfTags() { return tagResultCounts.size(); } AllTagsPageCollection(List<Report> reports, final String pageTitle); }
AllTagsPageCollection extends ScenarioSummaryPageCollection { public int getTotalNumberOfTags() { return tagResultCounts.size(); } AllTagsPageCollection(List<Report> reports, final String pageTitle); Map<Tag, ResultCount> getTagResultCounts(); Set<Tag> getTags(); int getTotalNumberOfTags(); }
AllTagsPageCollection extends ScenarioSummaryPageCollection { public int getTotalNumberOfTags() { return tagResultCounts.size(); } AllTagsPageCollection(List<Report> reports, final String pageTitle); Map<Tag, ResultCount> getTagResultCounts(); Set<Tag> getTags(); int getTotalNumberOfTags();  }