@Test public void elementEmbeddingTest() { List<Integer> expected = Arrays.asList(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 0, 0); List<Integer> actualEmbeddingsCount = new ArrayList<>(); for (Feature f : reports.getFeatures()) { for (Element e : f.getElements()) { actualEmbeddingsCount.add(e.getEmbeddings().size()); } } assertEquals(expected, actualEmbeddingsCount); }
public List<Feature> getFeatures() { return features; }
AllFeatureReports { public List<Feature> getFeatures() { return features; } }
AllFeatureReports { public List<Feature> getFeatures() { return features; } AllFeatureReports(String pageTitle, List<Feature> features); }
AllFeatureReports { public List<Feature> getFeatures() { return features; } AllFeatureReports(String pageTitle, List<Feature> features); List<Feature> getFeatures(); Integer getScenariosTotal(); Integer getScenariosTotalPassed(); Integer getScenariosTotalFailed(); Integer getStepsTotal(); Integer getStepsTotalPassed(); Integer getStepsTotalFailed(); Integer getStepsTotalSkipped(); Integer getStepsTotalUndefined(); long getTotalDuration(); Integer getFeaturesCount(); String getPageTitle(); List<String> getAllTags(); }
AllFeatureReports { public List<Feature> getFeatures() { return features; } AllFeatureReports(String pageTitle, List<Feature> features); List<Feature> getFeatures(); Integer getScenariosTotal(); Integer getScenariosTotalPassed(); Integer getScenariosTotalFailed(); Integer getStepsTotal(); Integer getStepsTotalPassed(); Integer getStepsTotalFailed(); Integer getStepsTotalSkipped(); Integer getStepsTotalUndefined(); long getTotalDuration(); Integer getFeaturesCount(); String getPageTitle(); List<String> getAllTags();  }