Home
last modified time | relevance | path

Searched refs:expectation (Results 1 – 25 of 64) sorted by relevance

123

/external/autotest/client/site_tests/graphics_PiglitBVT/
Dgenerate_scripts.py333 def insert_expectation(expectations, test, expectation): argument
339 expectations[test] = expectation
342 expectations[test]['result'] = expectation['result']
343 if (not 'crbug' in expectations[test] and 'crbug' in expectation):
344 expectations[test]['crbug'] = expectation['crbug']
345 if (not 'comment' in expectations[test] and 'comment' in expectation):
346 expectations[test]['comment'] = expectation['comment']
347 if (not 'command' in expectations[test] and 'command' in expectation):
348 expectations[test]['command'] = expectation['command']
349 if (not 'pass rate' in expectations[test] and 'pass rate' in expectation):
[all …]
/external/vogar/src/vogar/
DAnnotatedOutcome.java39 private final Expectation expectation; field in AnnotatedOutcome
44 AnnotatedOutcome(Outcome outcome, Expectation expectation) { in AnnotatedOutcome() argument
45 this.expectation = expectation; in AnnotatedOutcome()
62 return outcome.getResultValue(expectation); in getResultValue()
68 previousResultValues.add(previousOutcome.getResultValue(expectation)); in getPreviousResultValues()
DExpectationStore.java95 Expectation expectation = outcomes.get(name); in getByNameOrPackage() local
96 if (expectation != null) { in getByNameOrPackage()
97 return expectation; in getByNameOrPackage()
207 Expectation expectation = in readExpectation() local
211 if (map.put(name, expectation) != null) { in readExpectation()
267 for (Expectation expectation : allExpectations) { in loadBugStatuses()
268 if (expectation.getBug() != -1) { in loadBugStatuses()
269 bugs.add(expectation.getBug()); in loadBugStatuses()
281 for (Expectation expectation : allExpectations) { in loadBugStatuses()
282 if (openBugs.contains(expectation.getBug())) { in loadBugStatuses()
[all …]
DXmlReportPrinter.java104 Expectation expectation = expectationStore.get(outcome); in testsToSuites() local
105 if (!expectation.matches(outcome)) { in testsToSuites()
151 Expectation expectation = expectationStore.get(outcome); in print() local
152 if (!expectation.matches(outcome)) { in print()
DDriver.java152 Expectation expectation = run.expectationStore.get(action.getName()); in enqueueActionTasks() local
153 boolean useLargeTimeout = expectation.getTags().contains("large"); in enqueueActionTasks()
228 Expectation expectation = run.expectationStore.get(outcome); in recordOutcome() local
229 ResultValue resultValue = outcome.getResultValue(expectation); in recordOutcome()
243 run.console.printResult(outcome.getName(), result, resultValue, expectation); in recordOutcome() local
DOutcome.java136 public ResultValue getResultValue(Expectation expectation) { in getResultValue() argument
138 if (expectation.matches(this)) { in getResultValue()
140 } else if (expectation.getIsFromExpectationFile()) { in getResultValue()
DConsole.java157 String outcomeName, Result result, ResultValue resultValue, Expectation expectation) { in printResult() argument
160 if (!expectation.getDescription().isEmpty()) { in printResult()
161 … streamOutput(outcomeName, "\n" + colorString(expectation.getDescription(), Color.COMMENT)); in printResult()
163 if (expectation.getBug() != -1) { in printResult()
164 … streamOutput(outcomeName, "\n" + colorString("http://b/" + expectation.getBug(), Color.COMMENT)); in printResult()
/external/skia/tests/
DPDFMetadataAttributeTest.cpp38 for (const char* expectation : expectations) { in DEF_TEST() local
40 size_t N = 1 + data->size() - strlen(expectation); in DEF_TEST()
43 expectation, strlen(expectation))) { in DEF_TEST()
49 ERRORF(r, "expectation missing: '%s'.", expectation); in DEF_TEST()
/external/chromium-libpac/test/js-unittest/
Dbindings.js13 function expectEquals(expectation, actual) { argument
14 if (!(expectation === actual)) {
15 throw "FAIL: expected: " + expectation + ", actual: " + actual;
Dpac_library_unittest.js290 TestContext.prototype.expectEquals = function(expectation, actual) { argument
291 if (!(expectation === actual)) {
293 this.log("FAIL: expected: " + expectation + ", actual: " + actual);
/external/gmock/test/
Dgmock_output_test_golden.txt36 Google Mock tried the following 1 expectation, but it didn't match:
49 Google Mock tried the following 1 expectation, but it didn't match:
95 FILE:#: tried expectation #0: EXPECT_CALL(foo_, Bar2(_, _))...
96 Expected: the expectation is active
100 FILE:#: tried expectation #1: EXPECT_CALL(foo_, Bar2(0, 0))...
116 FILE:#: tried expectation #0: EXPECT_CALL(foo_, Bar2(0, 0))...
121 FILE:#: tried expectation #1: EXPECT_CALL(foo_, Bar2(1, _))...
137 FILE:#: tried expectation #0: EXPECT_CALL(foo_, Bar2(0, 0))...
142 FILE:#: tried expectation #1: EXPECT_CALL(foo_, Bar2(1, _))...
174 Google Mock tried the following 1 expectation, but it didn't match:
[all …]
/external/google-breakpad/src/testing/test/
Dgmock_output_test_golden.txt36 Google Mock tried the following 1 expectation, but it didn't match:
49 Google Mock tried the following 1 expectation, but it didn't match:
95 FILE:#: tried expectation #0: EXPECT_CALL(foo_, Bar2(_, _))...
96 Expected: the expectation is active
100 FILE:#: tried expectation #1: EXPECT_CALL(foo_, Bar2(0, 0))...
116 FILE:#: tried expectation #0: EXPECT_CALL(foo_, Bar2(0, 0))...
121 FILE:#: tried expectation #1: EXPECT_CALL(foo_, Bar2(1, _))...
137 FILE:#: tried expectation #0: EXPECT_CALL(foo_, Bar2(0, 0))...
142 FILE:#: tried expectation #1: EXPECT_CALL(foo_, Bar2(1, _))...
174 Google Mock tried the following 1 expectation, but it didn't match:
[all …]
/external/chromium-trace/catapult/third_party/polymer/components/web-animations-js/test/blink/interpolation/resources/
Dinterpolation-test.js128 expectations.forEach(function(expectation) { argument
130 expectation.at, testId, 'case-' + ++nextCaseId, params, expectation.is));
197 function makeInterpolationTest(fraction, testId, caseId, params, expectation) { argument
206 replica.style.setProperty(params.property, expectation);
209 replica.style.setProperty(params.prefixedProperty[i], expectation);
216 window.CSS && assert_true(CSS.supports(params.property, expectation));
/external/v8/test/preparser/
Dduplicate-parameter.pyt37 expectation = "strict_param_dupe"
40 Template(name, '"use strict";\n' + source)(non_selfstrict, expectation)
43 non_selfstrict, expectation)
46 source +'\n }\n}\n')(non_selfstrict, expectation)
56 selftest(selfstrict, expectation)
57 selftest(selfstrictnestedclean, expectation)
Dtestcfg.py66 def Test(name, source, expectation, extra_flags=[]): argument
70 if expectation:
76 def MkTest(replacement, expectation): argument
82 Test(testname, testsource, expectation)
/external/v8/test/mjsunit/regress/
Dregress-crbug-109362.js6 function test(expectation, f) { argument
13 assertTrue(stack.indexOf("at eval (evaltest:" + expectation + ")") > 0);
Dregress-phi-truncation.js30 function test(fun, expectation) { argument
33 assertEquals(expectation, fun(0));
/external/v8/test/mjsunit/
Ddebug-evaluate-const.js82 var expectation = { "const0" : 0, variable
91 assertEquals(expectation[name], value);
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue176/
DSingleQuoteTest.java39 private void checkQuotes(boolean isBlock, String expectation) { in checkQuotes() argument
54 assertEquals(expectation + "\n", output); in checkQuotes()
/external/skia/bench/
Dcheck_bench_regressions.py110 for expectation in open(filename).readlines():
111 elements = expectation.strip().split(',')
116 expectation)
/external/webrtc/webrtc/examples/objc/AppRTCDemo/tests/
DARDAppClientTest.mm75 ARDTestExpectation *expectation =
77 [_expectations addObject:expectation];
78 return expectation;
97 for (ARDTestExpectation *expectation in _expectations) {
98 if (!expectation.isFulfilled) {
/external/google-breakpad/src/testing/include/gmock/
Dgmock-spec-builders.h618 void AddExpectation(const Expectation& expectation) const;
1535 TypedExpectation<F>* const expectation = in AddNewExpectation() local
1537 const linked_ptr<ExpectationBase> untyped_expectation(expectation); in AddNewExpectation()
1546 return *expectation; in AddNewExpectation()
1682 TypedExpectation<F>* const expectation = in PrintTriedExpectationsLocked() local
1685 expectation->DescribeLocationTo(why); in PrintTriedExpectationsLocked()
1689 *why << expectation->source_text() << "...\n"; in PrintTriedExpectationsLocked()
1690 expectation->ExplainMatchResultTo(args, why); in PrintTriedExpectationsLocked()
1691 expectation->DescribeCallCountTo(why); in PrintTriedExpectationsLocked()
/external/gmock/include/gmock/
Dgmock-spec-builders.h626 void AddExpectation(const Expectation& expectation) const;
1552 TypedExpectation<F>* const expectation = in AddNewExpectation() local
1554 const linked_ptr<ExpectationBase> untyped_expectation(expectation); in AddNewExpectation()
1563 return *expectation; in AddNewExpectation()
1699 TypedExpectation<F>* const expectation = in PrintTriedExpectationsLocked() local
1702 expectation->DescribeLocationTo(why); in PrintTriedExpectationsLocked()
1706 *why << expectation->source_text() << "...\n"; in PrintTriedExpectationsLocked()
1707 expectation->ExplainMatchResultTo(args, why); in PrintTriedExpectationsLocked()
1708 expectation->DescribeCallCountTo(why); in PrintTriedExpectationsLocked()
/external/google-breakpad/src/testing/src/
Dgmock-spec-builders.cc784 void Sequence::AddExpectation(const Expectation& expectation) const { in AddExpectation()
785 if (*last_expectation_ != expectation) { in AddExpectation()
787 expectation.expectation_base()->immediate_prerequisites_ in AddExpectation()
790 *last_expectation_ = expectation; in AddExpectation()
/external/gmock/src/
Dgmock-spec-builders.cc784 void Sequence::AddExpectation(const Expectation& expectation) const { in AddExpectation()
785 if (*last_expectation_ != expectation) { in AddExpectation()
787 expectation.expectation_base()->immediate_prerequisites_ in AddExpectation()
790 *last_expectation_ = expectation; in AddExpectation()

123