diff --git a/test/unittest/ohos_adapter/screen_capture_adapter_impl_test/screen_capture_adapter_impl_test.cpp b/test/unittest/ohos_adapter/screen_capture_adapter_impl_test/screen_capture_adapter_impl_test.cpp index 720a74400017d26c3f18a43d3a5905194f944d83..7e23e948b8e935a1f41931738817e4869b6127ab 100644 --- a/test/unittest/ohos_adapter/screen_capture_adapter_impl_test/screen_capture_adapter_impl_test.cpp +++ b/test/unittest/ohos_adapter/screen_capture_adapter_impl_test/screen_capture_adapter_impl_test.cpp @@ -56,6 +56,8 @@ public: MOCK_METHOD0(ReleaseVideoBuffer, int32_t()); MOCK_METHOD0(Release, int32_t()); MOCK_METHOD1(SetScreenCaptureCallback, int32_t(const std::shared_ptr &)); + MOCK_METHOD1(ExcludeContent, int32_t(ScreenCaptureContentFilter &)); + MOCK_METHOD0(SetPrivacyAuthorityEnabled, int32_t()); }; } // namespace Media namespace NWeb {