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 525fbb08f2ba01d8a0e15cbe15205044f984f11d..5e23c6de3388dbde7dc284cc200cf964af4df0fa 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 @@ -288,6 +288,16 @@ class RdbStoreTest : public RdbStore { return E_ERROR; }; + virtual int RegisterAutoSyncCallback(std::shared_ptr syncObserver) + { + return E_ERROR; + }; + + virtual int UnregisterAutoSyncCallback(std::shared_ptr syncObserver) + { + return E_ERROR; + }; + virtual int Notify(const std::string &event) { return E_ERROR;