Home | History | Annotate | Download | only in vogar

Lines Matching defs:outcome

26  * Contains an outcome for a test, along with some metadata pertaining to the history of this test,
27 * including a list of previous outcomes, an outcome corresponding to the tag Vogar is being run
39 private final Outcome outcome;
41 private final SortedMap<Long, Outcome> previousOutcomes;
44 private final Outcome tagOutcome;
47 AnnotatedOutcome(Outcome outcome, Expectation expectation,
48 SortedMap<Long, Outcome> previousOutcomes, String tagName, Outcome tagOutcome,
54 this.outcome = outcome;
61 public Outcome getOutcome() {
62 return outcome;
66 return outcome.getName();
70 return outcome.getResultValue(expectation);
75 for (Outcome previousOutcome : previousOutcomes.values()) {
104 * Returns true if the outcome is noteworthy given the result value and previous history.
111 List<Outcome> previousOutcomesList = getOutcomeList();
113 || !outcome.equals(previousOutcomesList.get(previousOutcomesList.size() - 1));
116 private ArrayList<Outcome> getOutcomeList() {
117 return new ArrayList<Outcome>(previousOutcomes.values());
121 * Returns true if the outcome recently changed in result value.
137 * Returns a Long representing the time the outcome was last run. Returns {@code defaultValue}
138 * if the outcome is not known to have run before.