Home
last modified time | relevance | path

Searched refs:expectations (Results 1 – 25 of 190) sorted by relevance

12345678

/third_party/skia/third_party/externals/angle2/src/tests/compiler_tests/
DUnrollFlatten_test.cpp119 const char *expectations[] = {"fun(", "if", "fun2(", "for", "if", in TEST_F() local
121 expect(expectations, ArraySize(expectations)); in TEST_F()
158 const char *expectations[] = {"fun(", "texture2D(", "fun2(", "LOOP", "for", "if", in TEST_F() local
160 expect(expectations, ArraySize(expectations)); in TEST_F()
196 const char *expectations[] = { in TEST_F() local
199 expect(expectations, ArraySize(expectations)); in TEST_F()
226 const char *expectations[] = {"main(", "LOOP", "Lod0("}; in TEST_F() local
227 expect(expectations, ArraySize(expectations)); in TEST_F()
/third_party/flutter/skia/third_party/externals/angle2/src/tests/compiler_tests/
DUnrollFlatten_test.cpp119 const char *expectations[] = {"fun(", "if", "fun2(", "for", "if", in TEST_F() local
121 expect(expectations, ArraySize(expectations)); in TEST_F()
158 const char *expectations[] = {"fun(", "texture2D(", "fun2(", "LOOP", "for", "if", in TEST_F() local
160 expect(expectations, ArraySize(expectations)); in TEST_F()
196 const char *expectations[] = { in TEST_F() local
199 expect(expectations, ArraySize(expectations)); in TEST_F()
226 const char *expectations[] = {"main(", "LOOP", "Lod0("}; in TEST_F() local
227 expect(expectations, ArraySize(expectations)); in TEST_F()
/third_party/skia/tests/
DYUVTest.cpp94 SkYUVAInfo expectations = setExpectations({128, 128}, SkYUVAInfo::Subsampling::k420); in DEF_TEST() local
95 codec_yuv(r, "images/color_wheel.jpg", &expectations); in DEF_TEST()
98 expectations = setExpectations({512, 512}, SkYUVAInfo::Subsampling::k420); in DEF_TEST()
99 codec_yuv(r, "images/mandrill_512_q075.jpg", &expectations); in DEF_TEST()
102 expectations = setExpectations({512, 512}, SkYUVAInfo::Subsampling::k444); in DEF_TEST()
103 codec_yuv(r, "images/mandrill_h1v1.jpg", &expectations); in DEF_TEST()
106 expectations = setExpectations({512, 512}, SkYUVAInfo::Subsampling::k422); in DEF_TEST()
107 codec_yuv(r, "images/mandrill_h2v1.jpg", &expectations); in DEF_TEST()
110 expectations = setExpectations({439, 154}, SkYUVAInfo::Subsampling::k420); in DEF_TEST()
111 codec_yuv(r, "images/cropped_mandrill.jpg", &expectations); in DEF_TEST()
[all …]
DGrStyledShapeTest.cpp548 void testExpectations(skiatest::Reporter* reporter, SelfExpectations expectations) const;
704 void TestCase::testExpectations(skiatest::Reporter* reporter, SelfExpectations expectations) const { in testExpectations()
707 if (expectations.fPEHasEffect) { in testExpectations()
709 REPORTER_ASSERT(reporter, expectations.fPEHasValidKey == SkToBool(fAppliedPEKey.count())); in testExpectations()
711 REPORTER_ASSERT(reporter, expectations.fPEHasValidKey == SkToBool(fAppliedFullKey.count())); in testExpectations()
712 if (expectations.fStrokeApplies && expectations.fPEHasValidKey) { in testExpectations()
722 if (expectations.fStrokeApplies) { in testExpectations()
780 TestCase::SelfExpectations expectations; in test_basic() local
784 expectations.fPEHasEffect = false; in test_basic()
785 expectations.fPEHasValidKey = false; in test_basic()
[all …]
DPDFDocumentTest.cpp168 static const char* expectations[] = { in DEF_TEST() local
175 for (const char* expectation : expectations) { in DEF_TEST()
212 static const char* expectations[] = { in DEF_TEST() local
218 for (const char* expectation : expectations) { in DEF_TEST()
DPDFMetadataAttributeTest.cpp30 static const char* expectations[] = { in DEF_TEST() local
41 for (const char* expectation : expectations) { in DEF_TEST()
/third_party/node/test/fixtures/wpt/FileAPI/support/
DBlob.js3 function test_blob(fn, expectations) { argument
4 var expected = expectations.expected,
5 type = expectations.type,
6 desc = expectations.desc;
27 function test_blob_binary(fn, expectations) { argument
28 var expected = expectations.expected,
29 type = expectations.type,
30 desc = expectations.desc;
/third_party/googletest/googlemock/src/
Dgmock-spec-builders.cc116 ::std::vector<ExpectationBase*> expectations(1, this); in RetireAllPreRequisites()
117 while (!expectations.empty()) { in RetireAllPreRequisites()
118 ExpectationBase* exp = expectations.back(); in RetireAllPreRequisites()
119 expectations.pop_back(); in RetireAllPreRequisites()
127 expectations.push_back(next); in RetireAllPreRequisites()
138 ::std::vector<const ExpectationBase*> expectations(1, this); in AllPrerequisitesAreSatisfied()
139 while (!expectations.empty()) { in AllPrerequisitesAreSatisfied()
140 const ExpectationBase* exp = expectations.back(); in AllPrerequisitesAreSatisfied()
141 expectations.pop_back(); in AllPrerequisitesAreSatisfied()
148 expectations.push_back(next); in AllPrerequisitesAreSatisfied()
[all …]
/third_party/skia/third_party/externals/angle2/doc/
DTestingAndProcesses.md9 cannot be addressed in a timely manner, file a bug and update test expectations files. Timeliness
39 ## dEQP test expectations
41 There are a set of [dEQP](dEQP.md) expectations files in the
51 ## angle_end2end_tests expectations
53 These expectations all live in the
55 is the same as for the dEQP expectations. However, `FAIL` and `FLAKY` are not valid, and so the ch…
60 ## Rubber stamping expectations CLs
62 CLs that only change dEQP or angle_end2end_tests expectations don't require a human reviewer and ca…
65 1. Add rubber-stamper@appspot.gserviceaccount.com as the reviewer on the expectations CL. Please al…
70 ## WebGL conformance test expectations
[all …]
/third_party/node/test/fixtures/wpt/FileAPI/blob/
DBlob-slice.any.js161 tests.forEach(function(expectations, j) { argument
168 return expectations.end === undefined
169 ? blob.slice(expectations.start)
170 : blob.slice(expectations.start, expectations.end);
172 expected: expectations.contents,
/third_party/flutter/skia/bench/
Dcheck_bench_regressions.py108 def read_expectations(expectations, filename): argument
118 if bench_entry in expectations:
122 expectations[bench_entry] = (float(elements[LB_IDX]),
126 def check_expectations(lines, expectations, key_suffix): argument
157 if bench_platform_key not in expectations:
160 this_min, this_max, this_expected = expectations[bench_platform_key]
/third_party/skia/bench/
Dcheck_bench_regressions.py112 def read_expectations(expectations, filename): argument
122 if bench_entry in expectations:
126 expectations[bench_entry] = (float(elements[LB_IDX]),
130 def check_expectations(lines, expectations, key_suffix): argument
161 if bench_platform_key not in expectations:
164 this_min, this_max, this_expected = expectations[bench_platform_key]
/third_party/skia/tools/skpbench/
D_hardware.py86 def check_all(expectations, stringvalues): argument
87 if len(stringvalues) != len(expectations):
90 (len(expectations), '\n'.join(stringvalues)))
92 for value, expected in zip(stringvalues, expectations):
D_hardware_pixel.py80 expectations = \
90 Expectation.check_all(expectations, result.splitlines())
D_hardware_nexus_6p.py80 expectations = \
92 Expectation.check_all(expectations, result.splitlines())
D_hardware_pixel_c.py75 expectations = \
88 Expectation.check_all(expectations, result.splitlines())
/third_party/flutter/skia/tools/skpbench/
D_hardware.py86 def check_all(expectations, stringvalues): argument
87 if len(stringvalues) != len(expectations):
90 (len(expectations), '\n'.join(stringvalues)))
92 for value, expected in zip(stringvalues, expectations):
D_hardware_pixel.py80 expectations = \
90 Expectation.check_all(expectations, result.splitlines())
D_hardware_nexus_6p.py80 expectations = \
92 Expectation.check_all(expectations, result.splitlines())
/third_party/googletest/docs/
Dgmock_cheat_sheet.md102 4. Set your expectations on the mock objects (How will they be called? What
107 expectations on it have been satisfied.
124 // ... other expectations ...
186 By default, expectations can be matched in *any* order. If some or all
187 expectations must be matched in a given order, you can use the
194 gMock will verify the expectations on a mock object when it is destructed, or
200 // Verifies and removes the expectations on mock_obj;
204 // Verifies and removes the expectations on mock_obj;
210 Do not set new expectations after verifying and clearing a mock after its use.
211 Setting expectations after code that exercises the mock has undefined behavior.
Dgmock_faq.md82 ### I can't figure out why gMock thinks my expectations are not satisfied. What should I do?
86 trace, you'll gain insights on why the expectations you set are not met.
101 intercepts these messages and finds that they don't match any expectations, it
104 You can learn to ignore the errors, or you can rewrite your expectations to make
128 arguments, the state of relevant expectations, and etc) to help the user debug.
130 state of relevant expectations.
170 ### The "newer expectations override older ones" rule makes writing expectations awkward. Why does …
178 // 2 the second time. However, I have to write the expectations in the
191 By default, expectations don't have to be matched in *any* particular order. If
197 expectations in sequence:
[all …]
/third_party/flutter/skia/tests/
DGrShapeTest.cpp540 void testExpectations(skiatest::Reporter* reporter, SelfExpectations expectations) const;
694 void TestCase::testExpectations(skiatest::Reporter* reporter, SelfExpectations expectations) const { in testExpectations()
697 if (expectations.fPEHasEffect) { in testExpectations()
699 REPORTER_ASSERT(reporter, expectations.fPEHasValidKey == SkToBool(fAppliedPEKey.count())); in testExpectations()
701 REPORTER_ASSERT(reporter, expectations.fPEHasValidKey == SkToBool(fAppliedFullKey.count())); in testExpectations()
702 if (expectations.fStrokeApplies && expectations.fPEHasValidKey) { in testExpectations()
712 if (expectations.fStrokeApplies) { in testExpectations()
770 TestCase::SelfExpectations expectations; in test_basic() local
774 expectations.fPEHasEffect = false; in test_basic()
775 expectations.fPEHasValidKey = false; in test_basic()
[all …]
DPDFDocumentTest.cpp167 static const char* expectations[] = { in DEF_TEST() local
174 for (const char* expectation : expectations) { in DEF_TEST()
213 static const char* expectations[] = { in DEF_TEST() local
219 for (const char* expectation : expectations) { in DEF_TEST()
DPDFMetadataAttributeTest.cpp30 static const char* expectations[] = { in DEF_TEST() local
41 for (const char* expectation : expectations) { in DEF_TEST()
/third_party/googletest/docs/reference/
Dmocking.md63 Creates an [expectation](../gmock_for_dummies.md#setting-expectations) that the
84 .After(expectations...) // Can be used any number of times
159 the expectations are declared.
183 `.After(`*`expectations...`*`)`
188 The parameter *`expectations...`* can be up to five
190 The mock function call is expected to occur after all of the given expectations.
212 // Collect all expectations of InitElement() calls
293 The `RetiresOnSaturation` clause is only meaningful for expectations with an
326 *Does not* set any expectations that the method will be called.
529 Represents a chronological sequence of expectations. See the
[all …]

12345678