From 94891ab5f883efa55146dc42e1cd9705506794f3 Mon Sep 17 00:00:00 2001 From: Dimitri Bouche Date: Thu, 3 Mar 2022 03:46:03 -0800 Subject: [PATCH] Migrate from googletest 1.8 to googletest 1.10 (#67) Summary: X-link: https://github.com/facebookincubator/hsthrift/pull/67 Updating `googletest` from `1.8.0` to `1.10.0` Reviewed By: mzlee, igorsugak, luciang, meyering, r-barnes Differential Revision: D34351084 fbshipit-source-id: 939b3985ab63a06b6d511ec8711c2d5863bdfea8 --- ReactCommon/react/test_utils/MockSurfaceHandler.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ReactCommon/react/test_utils/MockSurfaceHandler.h b/ReactCommon/react/test_utils/MockSurfaceHandler.h index ce3d1500125..3563c699109 100644 --- a/ReactCommon/react/test_utils/MockSurfaceHandler.h +++ b/ReactCommon/react/test_utils/MockSurfaceHandler.h @@ -18,8 +18,8 @@ class MockSurfaceHandler : public SurfaceHandler { public: MockSurfaceHandler() : SurfaceHandler("moduleName", 0){}; - MOCK_QUALIFIED_METHOD1(setDisplayMode, const noexcept, void(DisplayMode)); - MOCK_QUALIFIED_METHOD0(getSurfaceId, const noexcept, SurfaceId()); + MOCK_METHOD(void, setDisplayMode, (DisplayMode), (const, noexcept)); + MOCK_METHOD(SurfaceId, getSurfaceId, (), (const, noexcept)); }; } // namespace react