Home
last modified time | relevance | path

Searched refs:mockDevicePopErrorScopeCallback (Results 1 – 2 of 2) sorted by relevance

/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/
DErrorScopeValidationTests.cpp27 static std::unique_ptr<MockDevicePopErrorScopeCallback> mockDevicePopErrorScopeCallback; variable
31 mockDevicePopErrorScopeCallback->Call(type, message, userdata); in ToMockDevicePopErrorScopeCallback()
48 mockDevicePopErrorScopeCallback = std::make_unique<MockDevicePopErrorScopeCallback>(); in SetUp()
56 mockDevicePopErrorScopeCallback = nullptr; in TearDown()
65 EXPECT_CALL(*mockDevicePopErrorScopeCallback, Call(WGPUErrorType_NoError, _, this)).Times(1); in TEST_F()
78 EXPECT_CALL(*mockDevicePopErrorScopeCallback, Call(WGPUErrorType_Validation, _, this)).Times(1); in TEST_F()
93 EXPECT_CALL(*mockDevicePopErrorScopeCallback, Call(WGPUErrorType_NoError, _, this)).Times(1); in TEST_F()
98 EXPECT_CALL(*mockDevicePopErrorScopeCallback, Call(WGPUErrorType_Validation, _, this + 1)) in TEST_F()
114 EXPECT_CALL(*mockDevicePopErrorScopeCallback, Call(WGPUErrorType_Validation, _, this)).Times(1); in TEST_F()
119 EXPECT_CALL(*mockDevicePopErrorScopeCallback, Call(WGPUErrorType_NoError, _, this + 1)) in TEST_F()
[all …]
/third_party/skia/third_party/externals/dawn/src/tests/unittests/wire/
DWireErrorCallbackTests.cpp40 std::unique_ptr<StrictMock<MockDevicePopErrorScopeCallback>> mockDevicePopErrorScopeCallback; variable
44 mockDevicePopErrorScopeCallback->Call(type, message, userdata); in ToMockDevicePopErrorScopeCallback()
82 mockDevicePopErrorScopeCallback = in SetUp()
92 mockDevicePopErrorScopeCallback = nullptr; in TearDown()
100 Mock::VerifyAndClearExpectations(&mockDevicePopErrorScopeCallback); in FlushServer()
157 EXPECT_CALL(*mockDevicePopErrorScopeCallback, in TEST_F()
188 EXPECT_CALL(*mockDevicePopErrorScopeCallback, in TEST_F()
194 EXPECT_CALL(*mockDevicePopErrorScopeCallback, in TEST_F()
222 EXPECT_CALL(*mockDevicePopErrorScopeCallback, in TEST_F()
228 EXPECT_CALL(*mockDevicePopErrorScopeCallback, in TEST_F()
[all …]