增加mock

Signed-off-by: shark_00783 <zhangzhichao31@huawei.com>
This commit is contained in:
shark_00783 2023-12-16 12:53:47 +08:00
parent c95ca6499f
commit 5bfd73131e

View File

@ -92,7 +92,8 @@ public:
MOCK_METHOD1(SetContainerModalTitleHeight, void(int height));
MOCK_METHOD0(GetContainerModalTitleHeight, int());
MOCK_METHOD2(GetContainerModalButtonsRect, bool(OHOS::Rosen::Rect& containerModal, OHOS::Rosen::Rect& buttons));
MOCK_METHOD1(WatchContainerModalButtonsRect, void(std::function<void(OHOS::Rosen::Rect& containerModal, OHOS::Rosen::Rect& buttons)>&& callback));
MOCK_METHOD1(WatchContainerModalButtonsRect,
void(std::function<void(OHOS::Rosen::Rect& containerModal, OHOS::Rosen::Rect& buttons)>&& callback));
};
} // namespace Ace
} // namespace OHOS