public ExecutionResult assertTasksNotSkipped(String... taskPaths) { Set<String> expected = new HashSet<String>(Arrays.asList(taskPaths)); Set<String> notSkipped = getNotSkippedTasks(); assertThat(notSkipped, equalTo(expected)); outputResult.assertTasksNotSkipped(taskPaths); return this; }
public ExecutionResult assertTaskNotSkipped(String taskPath) { assertThat(getNotSkippedTasks(), hasItem(taskPath)); outputResult.assertTaskNotSkipped(taskPath); return this; }
public ExecutionResult assertTasksExecuted(String... taskPaths) { List<String> expected = Arrays.asList(taskPaths); assertThat(plannedTasks, equalTo(expected)); outputResult.assertTasksExecuted(taskPaths); return this; }
public String getError() { return outputResult.getError(); }
public ExecutionResult assertOutputEquals( String expectedOutput, boolean ignoreExtraLines, boolean ignoreLineOrder) { outputResult.assertOutputEquals(expectedOutput, ignoreExtraLines, ignoreLineOrder); return this; }
public String getOutput() { return outputResult.getOutput(); }