HomeSort by relevance Sort by last modified time
    Searched refs:Expectation (Results 1 - 9 of 9) sorted by null

  /cts/libs/vogar-expect/src/vogar/
ExpectationStore.java 49 * <p>If an outcome matches both an outcome expectation and a failure
50 * expectation, the outcome expectation will be returned.
54 private final Map<String, Expectation> outcomes = new LinkedHashMap<String, Expectation>();
55 private final Map<String, Expectation> failures = new LinkedHashMap<String, Expectation>();
61 * returns a value for all names, even if no explicit expectation was set.
63 public Expectation get(String name) {
64 Expectation byName = getByNameOrPackage(name)
95 Expectation expectation = outcomes.get(name); local
191 Expectation expectation = new Expectation(result, pattern, tags, description, buganizerBug); local
    [all...]
Expectation.java 38 public final class Expectation {
44 /** The expectation of a general successful run. */
45 public static final Expectation SUCCESS = new Expectation(Result.SUCCESS, MATCH_ALL_PATTERN,
48 /** Justification for this expectation */
66 public Expectation(Result result, Pattern pattern, Set<String> tags, String description, long bug) {
96 * Set the current status of this expectation's bug. When a bug is open,
104 * Returns true if {@code outcome} matches this expectation.
115 return "Expectation[description=" + description + " pattern=" + pattern.pattern() + "]";
AnnotatedOutcome.java 28 * with, if applicable, and the expectation for this test, so that result value information is
38 private final Expectation expectation; field in class:AnnotatedOutcome
47 AnnotatedOutcome(Outcome outcome, Expectation expectation,
53 this.expectation = expectation;
70 return outcome.getResultValue(expectation);
76 previousResultValues.add(previousOutcome.getResultValue(expectation));
100 return tagOutcome == null ? null : tagOutcome.getResultValue(expectation);
    [all...]
Outcome.java 136 public ResultValue getResultValue(Expectation expectation) {
138 return expectation.matches(this) ? ResultValue.OK : ResultValue.FAIL;
  /cts/tools/utils/
VogarUtils.java 17 import vogar.Expectation;
46 && expectationStore.get(fullTestName) != Expectation.SUCCESS;
CollectAllTests.java 22 import vogar.Expectation;
74 + "<java-package> [expectation-dir [makefile-file]]");
167 System.err.println("Can't initialize vogar expectation store from "
428 System.out.println("ignoring expectation known failure: " + test
  /external/chromium/testing/gmock/include/gmock/
gmock-spec-builders.h 45 // A user can use the EXPECT_CALL() macro to specify an expectation on
78 // An abstract handle of an expectation.
79 class Expectation;
81 // A set of expectation handles.
94 // Implements an expectation.
97 // Helper class for testing the Expectation class template.
112 // expectation gets picked. Therefore, we sequence all mock function
164 // Returns the expectation that matches the given function arguments
219 // Returns an Expectation object that references and co-owns exp,
220 // which must be an expectation on this mock function
    [all...]
  /external/chromium/testing/gmock/src/
gmock-spec-builders.cc 87 // Explicitly specifies the cardinality of this expectation. Used by
94 // Retires all pre-requisites of this expectation.
97 // We can take this short-cut as we never retire an expectation
112 // Returns true iff all pre-requisites of this expectation have been
126 // Adds unsatisfied pre-requisites of this expectation to 'result'.
149 // expectation has occurred.
160 // Describes the state of the expectation (e.g. is it satisfied?
332 // No expectation is set on this mock method - we have an
406 // In case the action deletes a piece of the expectation, we
421 // No expectation matches this call - reports a failure
    [all...]
  /external/chromium/testing/gmock/test/
gmock-spec-builders_test.cc 51 // Helper class for testing the Expectation class template.
54 // Sets the call count of the given expectation to the given number.
77 using testing::Expectation;
404 Expectation e = EXPECT_CALL(a, DoA(1))
431 Expectation e = EXPECT_CALL(a, DoA(1));
590 // expectation compared to its cardinality.
656 // expectation compared to its cardinality.
720 // There is no expectation on DoB(int).
858 // expectation has no action clause at all.
960 "Google Mock tried the following 1 expectation, but it didn't match:")
    [all...]

Completed in 95 milliseconds