diff --git a/services/test/unittest/ability_manager_helper_test.cpp b/services/test/unittest/ability_manager_helper_test.cpp index 0f6e533c8178342240e6a10f56b7163ca3a8f7cb..cf784f30bc3cc61c017448645cfc70dd4769bd9c 100644 --- a/services/test/unittest/ability_manager_helper_test.cpp +++ b/services/test/unittest/ability_manager_helper_test.cpp @@ -531,6 +531,16 @@ public: { return 1; } + + int32_t SetApplicationAutoStartupByEDM(const std::vector &infoList, bool flag) override + { + return 0; + } + + int32_t CancelApplicationAutoStartupByEDM(const std::vector &infoList, bool flag) override + { + return 0; + } }; /** diff --git a/services/test/unittest/common_event_subscribe_unit_test.cpp b/services/test/unittest/common_event_subscribe_unit_test.cpp index 143778325e2083194a8d3821ccfefed311558025..0fa0891482375389c77db0d6baaa5ed78c35f375 100644 --- a/services/test/unittest/common_event_subscribe_unit_test.cpp +++ b/services/test/unittest/common_event_subscribe_unit_test.cpp @@ -587,6 +587,16 @@ public: { return 1; } + + int32_t SetApplicationAutoStartupByEDM(const std::vector &infoList, bool flag) override + { + return 0; + } + + int32_t CancelApplicationAutoStartupByEDM(const std::vector &infoList, bool flag) override + { + return 0; + } }; class EventReceiveStubTest : public EventReceiveStub {