@Test public void getEmptyTagStatsTest() { List<Report> reports = new ArrayList<>(); AllFeaturesPageCollection allFeaturesPageCollection = new AllFeaturesPageCollection(reports, ""); Map<Feature, ResultCount> featureStats = allFeaturesPageCollection.getFeatureResultCounts(); assertThat(featureStats.size(), is(0)); }
public Map<Feature, ResultCount> getFeatureResultCounts() { return resultCounts; }
AllFeaturesPageCollection extends SummaryPageCollection { public Map<Feature, ResultCount> getFeatureResultCounts() { return resultCounts; } }
AllFeaturesPageCollection extends SummaryPageCollection { public Map<Feature, ResultCount> getFeatureResultCounts() { return resultCounts; } AllFeaturesPageCollection(final List<Report> reports, final String pageTitle); }
AllFeaturesPageCollection extends SummaryPageCollection { public Map<Feature, ResultCount> getFeatureResultCounts() { return resultCounts; } AllFeaturesPageCollection(final List<Report> reports, final String pageTitle); Map<Feature, ResultCount> getFeatureResultCounts(); Set<Feature> getFeatures(); int getTotalNumberOfFeatures(); int getTotalNumberOfPassedFeatures(); int getTotalNumberOfFailedFeatures(); int getTotalNumberOfSkippedFeatures(); @SuppressWarnings("unused") int getTotalNumberOfScenarios(); }
AllFeaturesPageCollection extends SummaryPageCollection { public Map<Feature, ResultCount> getFeatureResultCounts() { return resultCounts; } AllFeaturesPageCollection(final List<Report> reports, final String pageTitle); Map<Feature, ResultCount> getFeatureResultCounts(); Set<Feature> getFeatures(); int getTotalNumberOfFeatures(); int getTotalNumberOfPassedFeatures(); int getTotalNumberOfFailedFeatures(); int getTotalNumberOfSkippedFeatures(); @SuppressWarnings("unused") int getTotalNumberOfScenarios();  }