mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-20 02:15:43 +00:00
Use new gmock MOCK_FUNCTION macro.
Bug: None Change-Id: If436fbf5c2392051caeadfc4a7482544d565b597 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/19720 Reviewed-by: Austin Eng <enga@chromium.org> Commit-Queue: Corentin Wallez <cwallez@chromium.org>
This commit is contained in:
committed by
Commit Bot service account
parent
d3bbcc3334
commit
f941205370
@@ -20,7 +20,7 @@ using namespace testing;
|
||||
|
||||
class MockDevicePopErrorScopeCallback {
|
||||
public:
|
||||
MOCK_METHOD3(Call, void(WGPUErrorType type, const char* message, void* userdata));
|
||||
MOCK_METHOD(void, Call, (WGPUErrorType type, const char* message, void* userdata));
|
||||
};
|
||||
|
||||
static std::unique_ptr<MockDevicePopErrorScopeCallback> mockDevicePopErrorScopeCallback;
|
||||
|
||||
Reference in New Issue
Block a user