Home
last modified time | relevance | path

Searched refs:expectation (Results 1 – 25 of 70) 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/v8/test/mjsunit/es6/
Dunicode-regexp-backrefs.js15 function test(expectation, regexp_source, subject) { argument
16 if (expectation !== null) expectation = expectation.map(replace);
19 assertEquals(expectation, new RegExp(regexp_source, "u").exec(subject));
Dunicode-character-ranges.js7 function execl(expectation, regexp, subject) { argument
9 assertEquals(expectation, regexp.exec(subject));
12 function execs(expectation, regexp_source, subject) { argument
13 execl(expectation, new RegExp(regexp_source, "u"), subject);
/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/android-mock/src/com/google/android/testing/mocking/
DAndroidMock.java1509 public static boolean not(boolean expectation) { in not() argument
1510 return EasyMock.not(expectation); in not()
1534 public static byte not(byte expectation) { in not() argument
1535 return EasyMock.not(expectation); in not()
1558 public static char not(char expectation) { in not() argument
1559 return EasyMock.not(expectation); in not()
1583 public static double not(double expectation) { in not() argument
1584 return EasyMock.not(expectation); in not()
1608 public static float not(float expectation) { in not() argument
1609 return EasyMock.not(expectation); in not()
[all …]
/external/v8/test/preparser/
Dtestcfg.py44 def Test(name, source, expectation, extra_flags=[]): argument
48 if expectation:
54 def MkTest(replacement, expectation): argument
60 Test(testname, testsource, expectation)
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)
/external/chromium-libpac/test/js-unittest/
Dbindings.js13 function expectEquals(expectation, actual) { argument
14 if (!(expectation === actual)) {
15 throw "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/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));
Dregress-crbug-582051.js26 var expectation = [ ScopeType.Block,
30 assertEquals(expectation, scopes.map(x => x.scopeType()));
/external/v8/test/mjsunit/
Deval-origin.js36 var expectation = item[1]; variable
37 var re = new RegExp(`:${expectation}\\)$`);
Ddebug-evaluate-nested.js22 function checkScopes(scopes, expectation) { argument
23 assertEquals(scopes.map(s => s.scopeType()), expectation);
/external/v8/test/mjsunit/es6/debug-promises/
Devaluate-across-microtasks.js57 var expectation = variable
66 assertEquals(expectation, log);
/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) {

123