private TestOutcomes withRootOutcomes(TestOutcomes rootOutcomes) { return new TestOutcomes(this.outcomes, this.estimatedAverageStepCount, this.label, rootOutcomes, environmentVariables); }
private TestOutcomes withRootOutcomes(TestOutcomes rootOutcomes) { return new TestOutcomes(this.outcomes, this.estimatedAverageStepCount, this.label, this.testTag, this.resultFilter, rootOutcomes, environmentVariables); }
public TestOutcomes withLabel(String label) { return new TestOutcomes(this.outcomes, this.estimatedAverageStepCount, label); }
private TestOutcomes withRootOutcomes(TestOutcomes rootOutcomes) { return new TestOutcomes(this.outcomes, this.estimatedAverageStepCount, this.label, rootOutcomes, environmentVariables); }
public TestOutcomes withLabel(String label) { return new TestOutcomes(this.outcomes, this.estimatedAverageStepCount, label); }
public TestOutcomes withLabel(String label) { return new TestOutcomes(this.outcomes, this.estimatedAverageStepCount, label); }
public TestOutcomes withResultFilter(TestResult testResult) { return new TestOutcomes(this.outcomes, this.estimatedAverageStepCount, label, testResult); }
private TestOutcomes withTestTag(TestTag tag) { return new TestOutcomes(this.outcomes, this.estimatedAverageStepCount, label, tag); }
public static TestOutcomes of(List<? extends TestOutcome> outcomes) { return new TestOutcomes(outcomes, Injectors.getInjector().getInstance(Configuration.class).getEstimatedAverageStepCount()); }
public static TestOutcomes withNoResults() { return new TestOutcomes(NO_OUTCOMES, Injectors.getInjector().getInstance(Configuration.class).getEstimatedAverageStepCount()); }
public static TestOutcomes of(List<? extends TestOutcome> outcomes) { return new TestOutcomes(outcomes, Injectors.getInjector().getInstance(Configuration.class).getEstimatedAverageStepCount()); }
public static TestOutcomes withNoResults() { return new TestOutcomes(NO_OUTCOMES, Injectors.getInjector().getInstance(Configuration.class).getEstimatedAverageStepCount()); }
public TestOutcomes withRequirementsTags() { List<TestOutcome> testOutcomesWithRequirements = Lists.newArrayList(); for (TestOutcome outcome : outcomes) { Set<TestTag> outcomeTags = Sets.newHashSet(outcome.getTags()); List<Requirement> parentRequirements = requirementsService.getAncestorRequirementsFor(outcome); for(Requirement requirement : parentRequirements) { outcomeTags.add(requirement.asTag()); } testOutcomesWithRequirements.add(outcome.withTags(outcomeTags)); } return new TestOutcomes(testOutcomesWithRequirements, estimatedAverageStepCount, label, rootOutcomes.orNull(), environmentVariables); }
public TestOutcomes withRequirementsTags() { List<TestOutcome> testOutcomesWithRequirements = Lists.newArrayList(); for (TestOutcome outcome : outcomes) { Set<TestTag> outcomeTags = Sets.newHashSet(outcome.getTags()); List<Requirement> parentRequirements = requirementsService.getAncestorRequirementsFor(outcome); for(Requirement requirement : parentRequirements) { outcomeTags.add(requirement.asTag()); } testOutcomesWithRequirements.add(outcome.withTags(outcomeTags)); } return new TestOutcomes(testOutcomesWithRequirements, estimatedAverageStepCount, label, rootOutcomes.orNull(), environmentVariables); }
public static TestOutcomes of(Collection<? extends TestOutcome> outcomes) { return new TestOutcomes(outcomes,ConfiguredEnvironment.getConfiguration().getEstimatedAverageStepCount()); }
public static TestOutcomes withNoResults() { return new TestOutcomes(NO_OUTCOMES,ConfiguredEnvironment.getConfiguration().getEstimatedAverageStepCount()); }