Lines Matching refs:Expectation
61 private static final Expectation SUCCESS = new Expectation(Result.SUCCESS, MATCH_ALL_PATTERN,
66 private final Map<String, Expectation> outcomes = new LinkedHashMap<String, Expectation>();
67 private final Map<String, Expectation> failures = new LinkedHashMap<String, Expectation>();
75 public Expectation get(String name) { in get()
76 Expectation byName = getByNameOrPackage(name); in get()
89 public Expectation get(Outcome outcome) { in get()
90 Expectation exactNameMatch = outcomes.get(outcome.getName()); in get()
95 for (Map.Entry<String, Expectation> entry : failures.entrySet()) { in get()
101 Expectation byName = getByNameOrPackage(outcome.getName()); in get()
105 private Expectation getByNameOrPackage(String name) { in getByNameOrPackage()
107 Expectation expectation = outcomes.get(name); in getByNameOrPackage()
244 Expectation expectation = new Expectation(result, pattern, tags, description, buganizerBug); in readExpectation()
245 Map<String, Expectation> map = isFailure ? failures : outcomes; in readExpectation()
276 … Iterable<Expectation> allExpectations = Iterables.concat(outcomes.values(), failures.values()); in loadBugStatuses()
280 for (Expectation expectation : allExpectations) { in loadBugStatuses()
302 for (Expectation expectation : allExpectations) { in loadBugStatuses()
309 public Map<String, Expectation> getAllOutComes() { in getAllOutComes()
313 public Map<String, Expectation> getAllFailures() { in getAllFailures()