Lines Matching full:outcome
43 * <li>Outcome expectations name an outcome (or its prefix, such as
47 * outcome. These expectations are useful for hiding failures caused by
51 * <p>If an outcome matches both an outcome expectation and a failure
52 * expectation, the outcome expectation will be returned.
72 * Finds the expected result for the specified action or outcome name. This
81 * Finds the expected result for the specified outcome after it has
83 * outcome's output.
89 public Expectation get(Outcome outcome) {
90 Expectation exactNameMatch = outcomes.get(outcome.getName());
96 if (entry.getValue().matches(outcome)) {
101 Expectation byName = getByNameOrPackage(outcome.getName());