Home
last modified time | relevance | path

Searched refs:expectations (Results 1 - 25 of 30) sorted by relevance

12

/third_party/skia/third_party/externals/angle2/src/tests/compiler_tests/
H A DUnrollFlatten_test.cpp52 FAIL() << "Couldn't find '" << pattern << "' after expectations '" in expect()
64 << "' after expectations '" << mExpectationList in expect()
119 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, ArraySiz in TEST_F()
226 const char *expectations[] = {"main(", "LOOP", "Lod0("}; TEST_F() local
[all...]
/third_party/skia/tests/
H A 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...]
H A 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 in test_basic()
1283 TestCase::SelfExpectations expectations; test_unknown_path_effect() local
1552 TestCase::SelfExpectations expectations; DEF_TEST() local
[all...]
H A DPDFMetadataAttributeTest.cpp30 static const char* expectations[] = { in DEF_TEST() local
41 for (const char* expectation : expectations) { in DEF_TEST()
H A 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()
H A DPDFPrimitivesTest.cpp409 SkClusterator::Cluster expectations[] = { in DEF_TEST() local
420 for (const auto& expectation : expectations) { in DEF_TEST()
432 SkClusterator::Cluster expectations[] = { in DEF_TEST() local
440 for (const auto& expectation : expectations) { in DEF_TEST()
H A DFrontBufferedStreamTest.cpp21 const void* expectations, size_t bytesToRead) { in test_read()
27 REPORTER_ASSERT(reporter, memcmp(storage.get(), expectations, bytesRead) == 0); in test_read()
20 test_read(skiatest::Reporter* reporter, SkStream* bufferedStream, const void* expectations, size_t bytesToRead) test_read() argument
/third_party/node/test/fixtures/wpt/FileAPI/support/
H A DBlob.js3 function test_blob(fn, expectations) {
4 var expected = expectations.expected,
5 type = expectations.type,
6 desc = expectations.desc;
27 function test_blob_binary(fn, expectations) {
28 var expected = expectations.expected,
29 type = expectations.type,
30 desc = expectations.desc;
/third_party/googletest/googlemock/src/
H A Dgmock-spec-builders.cc71 // mockers, and all expectations.
119 ::std::vector<ExpectationBase*> expectations(1, this); in GTEST_EXCLUSIVE_LOCK_REQUIRED_()
120 while (!expectations.empty()) { in GTEST_EXCLUSIVE_LOCK_REQUIRED_()
121 ExpectationBase* exp = expectations.back(); in GTEST_EXCLUSIVE_LOCK_REQUIRED_()
122 expectations.pop_back(); in GTEST_EXCLUSIVE_LOCK_REQUIRED_()
130 expectations.push_back(next); in GTEST_EXCLUSIVE_LOCK_REQUIRED_()
141 ::std::vector<const ExpectationBase*> expectations(1, this); in GTEST_EXCLUSIVE_LOCK_REQUIRED_()
142 while (!expectations.empty()) { in GTEST_EXCLUSIVE_LOCK_REQUIRED_()
143 const ExpectationBase* exp = expectations.back(); in GTEST_EXCLUSIVE_LOCK_REQUIRED_()
144 expectations in GTEST_EXCLUSIVE_LOCK_REQUIRED_()
[all...]
/third_party/node/test/fixtures/wpt/FileAPI/blob/
H A DBlob-slice.any.js161 tests.forEach(function(expectations, j) {
168 return expectations.end === undefined
169 ? blob.slice(expectations.start)
170 : blob.slice(expectations.start, expectations.end);
172 expected: expectations.contents,
/third_party/skia/tools/skpbench/
H A D_hardware.py86 def check_all(expectations, stringvalues):
87 if len(stringvalues) != len(expectations):
90 (len(expectations), '\n'.join(stringvalues)))
92 for value, expected in zip(stringvalues, expectations):
H A D_hardware_nexus_6p.py80 expectations = \
92 Expectation.check_all(expectations, result.splitlines())
H A D_hardware_pixel.py80 expectations = \
90 Expectation.check_all(expectations, result.splitlines())
H A D_hardware_pixel_c.py75 expectations = \
88 Expectation.check_all(expectations, result.splitlines())
H A D_hardware_pixel2.py107 expectations = \
119 Expectation.check_all(expectations, result.splitlines())
/third_party/skia/bench/
H A Dcheck_bench_regressions.py112 def read_expectations(expectations, filename):
113 """Reads expectations data from file and put in expectations dict."""
122 if bench_entry in expectations:
126 expectations[bench_entry] = (float(elements[LB_IDX]),
130 def check_expectations(lines, expectations, key_suffix):
133 For each input line in lines, checks the expectations dictionary to see if
138 expectations: dictionary returned by read_expectations().
161 if bench_platform_key not in expectations:
164 this_min, this_max, this_expected = expectations[bench_platform_ke
[all...]
/third_party/vk-gl-cts/external/vulkan-docs/src/
H A DtestBuild47 # Verify the results against expectations. Note: do this after generating all
48 # builds. This is to support the build_tests/update-expectations script that
49 # copies the results over the expectations.
53 if ! diff build_tests/expectations/$build.html build_tests/gen-$build/out/html/vkspec.html; then
60 if ! diff build_tests/expectations/validusage.json build_tests/gen-validusage/out/validation/validusage.json; then
68 echo "expectations."
73 echo "And ensure they are acceptable. In that case, update the expectations with:"
74 echo " $ cd build_tests && ./update-expectations"
/third_party/rust/crates/bindgen/ci/
H A Dtest.bat38 ::Now test the expectations' size and alignment tests.
40 pushd tests\expectations
/third_party/node/test/cctest/
H A Dtest_inspector_socket_server.cc158 std::ostringstream expectations; in TestHttpRequest() local
159 expectations << "HTTP/1.0 200 OK\r\n" in TestHttpRequest()
163 expectations << expected_reply.length() + 2; in TestHttpRequest()
164 expectations << "\r\n\r\n" << expected_reply << "\n\n"; in TestHttpRequest()
167 Expect(expectations.str()); in TestHttpRequest()
/third_party/python/Lib/test/
H A Dtest_strftime.py89 expectations = (
116 for e in expectations:
/third_party/node/deps/v8/tools/release/
H A Dtest_scripts.py167 "expectations must consist of at least as many arguments." %
451 expectations = [
484 self.Expect(expectations)
598 expectations = [
631 self.Expect(expectations)
/third_party/rust/crates/bindgen/bindgen-tests/tests/
H A Dtest-one.sh79 EXPECTED=${TEST/headers/expectations\/tests}
/third_party/skia/third_party/externals/spirv-tools/test/tools/
H A Dspirv_test_framework.py283 expectations = [
287 # Instantiate placeholders in expectations
288 for expectation_name in expectations:
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/tools/
H A Dspirv_test_framework.py283 expectations = [
287 # Instantiate placeholders in expectations
288 for expectation_name in expectations:
/third_party/spirv-tools/test/tools/
H A Dspirv_test_framework.py283 expectations = [
287 # Instantiate placeholders in expectations
288 for expectation_name in expectations:

Completed in 15 milliseconds

12