Home
last modified time | relevance | path

Searched refs:Expectation (Results 1 - 23 of 23) sorted by relevance

/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/
H A DDrawIndirectValidationTests.cpp47 void ValidateExpectation(wgpu::CommandEncoder encoder, utils::Expectation expectation) { in ValidateExpectation()
48 if (expectation == utils::Expectation::Success) { in ValidateExpectation()
55 void TestIndirectOffsetDrawIndexed(utils::Expectation expectation, in TestIndirectOffsetDrawIndexed()
61 void TestIndirectOffsetDraw(utils::Expectation expectation, in TestIndirectOffsetDraw()
67 void TestIndirectOffset(utils::Expectation expectation, in TestIndirectOffset()
99 TestIndirectOffsetDraw(utils::Expectation::Success, {1, 2, 3, 4}, 0); in TEST_F()
101 TestIndirectOffsetDraw(utils::Expectation::Success, {1, 2, 3, 4, 5, 6, 7}, 0); in TEST_F()
103 TestIndirectOffsetDraw(utils::Expectation::Success, {1, 2, 3, 4, 5, 6, 7, 8}, in TEST_F()
107 TestIndirectOffsetDraw(utils::Expectation::Failure, {1, 2, 3, 4, 5}, 1); in TEST_F()
108 TestIndirectOffsetDraw(utils::Expectation in TEST_F()
[all...]
H A DCopyCommandsValidationTests.cpp81 void ValidateExpectation(wgpu::CommandEncoder encoder, utils::Expectation expectation) { in ValidateExpectation()
82 if (expectation == utils::Expectation::Success) { in ValidateExpectation()
89 void TestB2TCopy(utils::Expectation expectation, in TestB2TCopy()
110 void TestT2BCopy(utils::Expectation expectation, in TestT2BCopy()
131 void TestT2TCopy(utils::Expectation expectation, in TestT2TCopy()
151 void TestBothTBCopies(utils::Expectation expectation, in TestBothTBCopies()
166 void TestBothT2TCopies(utils::Expectation expectation, in TestBothT2TCopies()
189 TestBothTBCopies(utils::Expectation::Success, source, 0, bufferBytesPerRow, rowsPerImage, in TestBothTBCopiesExactBufferSize()
196 TestBothTBCopies(utils::Expectation::Failure, invalidSource, 0, bufferBytesPerRow, in TestBothTBCopiesExactBufferSize()
438 TestB2TCopy(utils::Expectation in TEST_F()
[all...]
H A DCopyTextureForBrowserTests.cpp45 void TestCopyTextureForBrowser(utils::Expectation expectation, in TestCopyTextureForBrowser()
60 if (expectation == utils::Expectation::Success) { in TestCopyTextureForBrowser()
82 TestCopyTextureForBrowser(utils::Expectation::Success, source, 0, {0, 0, 0}, destination, 0, in TEST_F()
86 TestCopyTextureForBrowser(utils::Expectation::Success, source, 0, {0, 0, 0}, destination, 0, in TEST_F()
90 TestCopyTextureForBrowser(utils::Expectation::Success, source, 0, {8, 8, 0}, destination, 0, in TEST_F()
94 TestCopyTextureForBrowser(utils::Expectation::Success, source, 0, {0, 0, 0}, destination, 2, in TEST_F()
98 TestCopyTextureForBrowser(utils::Expectation::Success, source, 2, {0, 0, 0}, destination, 0, in TEST_F()
102 TestCopyTextureForBrowser(utils::Expectation::Success, source, 0, {0, 0, 0}, destination, 0, in TEST_F()
109 TestCopyTextureForBrowser(utils::Expectation::Success, source, 0, {0, 0, 0}, destination, 0, in TEST_F()
113 TestCopyTextureForBrowser(utils::Expectation in TEST_F()
[all...]
H A DComputeIndirectValidationTests.cpp39 void ValidateExpectation(wgpu::CommandEncoder encoder, utils::Expectation expectation) { in ValidateExpectation()
40 if (expectation == utils::Expectation::Success) { in ValidateExpectation()
47 void TestIndirectOffset(utils::Expectation expectation, in TestIndirectOffset()
69 TestIndirectOffset(utils::Expectation::Success, {1, 2, 3}, 0); in TEST_F()
71 TestIndirectOffset(utils::Expectation::Success, {1, 2, 3, 4, 5, 6}, 0); in TEST_F()
73 TestIndirectOffset(utils::Expectation::Success, {1, 2, 3, 4, 5, 6}, 3 * sizeof(uint32_t)); in TEST_F()
76 TestIndirectOffset(utils::Expectation::Failure, {1, 2, 3, 4}, 1); in TEST_F()
77 TestIndirectOffset(utils::Expectation::Failure, {1, 2, 3, 4}, 2); in TEST_F()
80 TestIndirectOffset(utils::Expectation::Failure, {1, 2}, 0); in TEST_F()
82 TestIndirectOffset(utils::Expectation in TEST_F()
[all...]
/third_party/skia/tools/skpbench/
H A D_hardware_pixel_c.py6 from _hardware import HardwareException, Expectation namespace
76 [Expectation(int, min_value=30, name='battery', sleeptime=30*60),
77 Expectation(str, exact_value='0-2', name='online cpus'),
78 Expectation(int, max_value=40000, name='skin temperature'),
79 Expectation(int, max_value=86000, name='cpu temperature'),
80 Expectation(int, max_value=87000, name='gpu temperature'),
81 Expectation(int, exact_value=0, name='cpu throttle'),
82 Expectation(int, exact_value=0, name='gpu throttle')] + \
83 [Expectation(int, exact_value=CPU_CLOCK_RATE,
86 [Expectation(st
[all...]
H A D_hardware_nexus_6p.py6 from _hardware import HardwareException, Expectation namespace
81 [Expectation(int, min_value=30, name='battery', sleeptime=30*60),
82 Expectation(str, exact_value='4-6', name='online cpus'),
83 Expectation(int, max_value=88, name='tsens_tz_sensor13'),
84 Expectation(int, max_value=88, name='tsens_tz_sensor14'),
85 Expectation(long, min_value=(GPU_CLOCK_RATE - 5000),
87 Expectation(long, min_value=647995000, max_value=648007500,
89 [Expectation(int, exact_value=CPU_CLOCK_RATE, name='cpu_%i clock rate' %i)
92 Expectation.check_all(expectations, result.splitlines())
H A D_hardware_pixel2.py6 from _hardware import Expectation namespace
108 [Expectation(int, min_value=30, name='battery', sleeptime=30*60),
109 Expectation(str, exact_value='4-6', name='online cpus')] + \
110 [Expectation(int, exact_value=CPU_CLOCK_RATE, name='cpu_%i clock rate' %i)
112 [Expectation(long, min_value=902390000, max_value=902409999,
114 Expectation(int, max_value=750, name='gpu temperature'),
115 Expectation(int, exact_value=1, name='gpu throttling'),
116 Expectation(int, max_value=75, name='msm_therm temperature'),
117 Expectation(int, max_value=75000, name='pm8998_tz temperature')]
119 Expectation
[all...]
H A D_hardware_pixel.py6 from _hardware import Expectation namespace
81 [Expectation(int, min_value=30, name='battery', sleeptime=30*60),
82 Expectation(str, exact_value='2-3', name='online cpus')] + \
83 [Expectation(int, exact_value=CPU_CLOCK_RATE, name='cpu_%i clock rate' %i)
85 [Expectation(long, min_value=902390000, max_value=902409999,
87 Expectation(int, max_value=41000, name='pm8994_tz temperature'),
88 Expectation(int, max_value=40, name='msm_therm temperature')]
90 Expectation.check_all(expectations, result.splitlines())
H A D_hardware.py59 class Expectation: class
/third_party/googletest/googlemock/include/gmock/
H A Dgmock-spec-builders.h93 class Expectation;
113 // Helper class for testing the Expectation class template.
207 // Returns an Expectation object that references and co-owns exp,
209 Expectation GetHandleOf(ExpectationBase* exp);
466 // Expectation e1 = EXPECT_CALL(...)...;
474 // - Constness is shallow: a const Expectation object itself cannot
478 class GTEST_API_ Expectation {
481 Expectation();
482 Expectation(Expectation
[all...]
/third_party/googletest/googlemock/test/
H A Dgmock-spec-builders_test.cc374 Expectation e = EXPECT_CALL(a, DoA(1)).Times(AnyNumber()); in TEST()
400 Expectation e = EXPECT_CALL(a, DoA(1)); in TEST()
1395 // Tests Expectation.
1399 Expectation e1; // Default ctor. in TEST()
1402 Expectation e2 = EXPECT_CALL(a, DoA(2)); in TEST()
1403 Expectation e3 = EXPECT_CALL(a, DoA(3)).With(_); in TEST()
1406 Expectation e4 = EXPECT_CALL(a, DoA(4)).Times(1); in TEST()
1407 Expectation e5 = EXPECT_CALL(a, DoA(5)).InSequence(s); in TEST()
1409 Expectation e6 = EXPECT_CALL(a, DoA(6)).After(e2); in TEST()
1410 Expectation e in TEST()
[all...]
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/str_format/
H A Dbind_test.cc36 struct Expectation { in TEST_F() struct
51 const Expectation kExpect[] = { in TEST_F()
82 for (const Expectation &e : kExpect) { in TEST_F()
120 struct Expectation { in TEST_F() struct
129 const Expectation kExpect[] = { in TEST_F()
143 for (const Expectation &e : kExpect) { in TEST_F()
H A Dparser_test.cc32 struct Expectation { in TEST() struct
37 const Expectation kExpect[] = { in TEST()
57 struct Expectation { in TEST() struct
62 const Expectation kExpect[] = { in TEST()
101 struct Expectation { in TEST_F() struct
107 const Expectation kExpect[] = { in TEST_F()
H A Dconvert_test.cc205 struct Expectation { in TestStringConvert() struct
209 const Expectation kExpect[] = { in TestStringConvert()
221 for (const Expectation &e : kExpect) { in TestStringConvert()
1160 struct Expectation { in TEST_F() struct
1166 std::vector<Expectation> expect = { in TEST_F()
1173 Expectation ex = {__LINE__, StrPrint("%12a", dx), "%12a"}; in TEST_F()
1176 for (const Expectation &e : expect) { in TEST_F()
/third_party/googletest/googlemock/src/
H A Dgmock-spec-builders.cc376 // Returns an Expectation object that references and co-owns exp,
378 Expectation UntypedFunctionMockerBase::GetHandleOf(ExpectationBase* exp) {
384 return Expectation(*it);
389 return Expectation();
751 Expectation::Expectation() {} in Expectation() function in testing::Expectation
753 Expectation::Expectation( in Expectation() function in testing::Expectation
757 Expectation::~Expectation() {} in ~Expectation()
[all...]
/third_party/skia/third_party/externals/dawn/src/tests/
H A DDawnTest.h191 class Expectation;
352 detail::Expectation* expectation);
426 detail::Expectation* expectation);
435 detail::Expectation* expectation);
442 detail::Expectation* expectation);
516 detail::Expectation* expectation,
531 detail::Expectation* expectation);
562 std::unique_ptr<detail::Expectation> expectation;
710 class Expectation { class
712 virtual ~Expectation()
[all...]
H A DDawnTest.cpp1061 detail::Expectation* expectation) {
1089 detail::Expectation* expectation,
1144 detail::Expectation* expectation) {
1228 detail::Expectation* expectation) {
1247 detail::Expectation* expectation) {
1264 detail::Expectation* expectation) {
1516 result << " Expectation created at " << expectation.file << ":" << expectation.line
/third_party/skia/tests/
H A DRectTest.cpp173 struct Expectation { in DEF_TEST() struct
181 Expectation tests[] = { in DEF_TEST()
224 for (const Expectation& e : tests) { in DEF_TEST()
/third_party/skia/third_party/externals/dawn/src/tests/end2end/
H A DTextureFormatTests.cpp28 class ExpectFloatWithTolerance : public detail::Expectation {
77 class ExpectFloat16 : public detail::Expectation {
190 detail::Expectation* customExpectation) { in DoSampleTest()
297 detail::Expectation* customExpectation = nullptr) { in DoFormatSamplingTest()
332 detail::Expectation* customExpectation = nullptr) { in DoFormatRenderingTest()
H A DQueryTests.cpp37 class OcclusionExpectation : public detail::Expectation {
501 class TimestampExpectation : public detail::Expectation {
H A DDepthStencilSamplingTests.cpp405 class ExtraStencilComponentsExpectation : public detail::Expectation {
/third_party/skia/third_party/externals/dawn/src/tests/white_box/
H A DQueryInternalShaderTests.cpp35 class InternalShaderExpectation : public detail::Expectation {
/third_party/skia/third_party/externals/dawn/src/utils/
H A DWGPUHelpers.h29 enum Expectation { Success, Failure }; enum

Completed in 26 milliseconds