diff --git a/services/dtbschedmgr/test/unittest/mock_form_mgr_service.h b/services/dtbschedmgr/test/unittest/mock_form_mgr_service.h index ba8489fe..79c53a17 100644 --- a/services/dtbschedmgr/test/unittest/mock_form_mgr_service.h +++ b/services/dtbschedmgr/test/unittest/mock_form_mgr_service.h @@ -234,11 +234,13 @@ public: { return ERR_OK; } - ErrCode RegisterClickEventObserver(const sptr &observer) override + ErrCode RegisterClickEventObserver( + const std::string &bundleName, const std::string &formEventType, const sptr &observer) override { return ERR_OK; } - ErrCode UnregisterClickEventObserver(const sptr &observer) override + ErrCode UnregisterClickEventObserver( + const std::string &bundleName, const std::string &formEventType, const sptr &observer) override { return ERR_OK; }