diff --git a/services/ans/test/unittest/notification_rdb_data_mgr_test/notification_rdb_data_mgr_test.cpp b/services/ans/test/unittest/notification_rdb_data_mgr_test/notification_rdb_data_mgr_test.cpp index 373367d852bafebdaa45b5f32dca980f42ede208..c0dd30f6c2c359cddfdbb8b7c9517511e7486ea1 100755 --- a/services/ans/test/unittest/notification_rdb_data_mgr_test/notification_rdb_data_mgr_test.cpp +++ b/services/ans/test/unittest/notification_rdb_data_mgr_test/notification_rdb_data_mgr_test.cpp @@ -258,6 +258,11 @@ class RdbStoreTest : public RdbStore { return E_ERROR; }; + virtual int Notify(const std::string &event) + { + return E_ERROR; + } + virtual bool DropDeviceData(const std::vector& devices, const DropOption& option) { return false;