Lines Matching refs:Result
25 * The expected result of an action execution. This is typically encoded in the
29 * result UNSUPPORTED
34 * result COMPILE_FAILED
45 public static final Expectation SUCCESS = new Expectation(Result.SUCCESS, MATCH_ALL_PATTERN,
51 /** The action's expected result, such as {@code EXEC_FAILED}. */
52 private final Result result;
66 public Expectation(Result result, Pattern pattern, Set<String> tags, String description, long bug) {
67 if (result == null || description == null || pattern == null) {
69 "result=" + result + " description=" + description + " pattern=" + pattern);
73 this.result = result;
87 public Result getResult() {
88 return result;
97 * any result (success or failure) is permitted.
107 return patternMatches(outcome) && (bugIsOpen || result == outcome.getResult());