Home
last modified time | relevance | path

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

12345678

/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/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 …]
DPDFMetadataAttributeTest.cpp30 static const char* expectations[] = { in DEF_TEST() local
41 for (const char* expectation : expectations) { in DEF_TEST()
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()
/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/boost/libs/uuid/test/
Dtest_md5.cpp30 Expectation expectations[3] = { in main() local
44 hash.process_bytes(expectations[i].data, expectations[i].len); in main()
49 BOOST_TEST_EQ(0, memcmp(result, expectations[i].expected, in main()
54 BOOST_TEST_MD5_DIGEST(raw_result, expectations[i].expected); in main()
Dtest_sha1.cpp42 Expectation expectations[3] = { in test_quick() local
56 hash.process_bytes(expectations[i].data, expectations[i].len); in test_quick()
61 BOOST_TEST_SHA1_DIGEST(raw_result, expectations[i].expected); in test_quick()
62 BOOST_TEST_EQ(0, memcmp(raw_result, expectations[i].expected, 20)); in test_quick()
/third_party/boost/libs/geometry/test/algorithms/buffer/
Dbuffer_linestring_aimes.cpp223 static double expectations[][4] = in test_aimes() local
428 int const ne = sizeof(expectations) / sizeof(expectations[0]); in test_aimes()
460 expectations[i][expectation_index], in test_aimes()
466 expectations[i][expectation_index + 1], in test_aimes()
/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/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/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/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/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/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/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/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.
/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 …]
DPDFMetadataAttributeTest.cpp30 static const char* expectations[] = { in DEF_TEST() local
41 for (const char* expectation : expectations) { in DEF_TEST()
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()

12345678