Home
last modified time | relevance | path

Searched refs:RelationalStoreObserverUnitTest (Results 1 – 18 of 18) sorted by relevance

/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/interfaces/
H A Ddistributeddb_interfaces_relational_observer_test.cpp106RelationalStoreObserverUnitTest *observer1 = new (std::nothrow) RelationalStoreObserverUnitTest();
142RelationalStoreObserverUnitTest *observerArr[DBConstant::MAX_OBSERVER_COUNT + 1] = { nullptr };
144 observerArr[i] = new (std::nothrow) RelationalStoreObserverUnitTest();
199RelationalStoreObserverUnitTest *observer = new (std::nothrow) RelationalStoreObserverUnitTest();
211 RelationalStoreObserverUnitTest *observerArr[DBConstant::MAX_OBSERVER_COUNT] = { nullptr };
213 observerArr[i] = new (std::nothrow) RelationalStoreObserverUnitTest();
250RelationalStoreObserverUnitTest *observerArr[DBConstant::MAX_OBSERVER_COUNT + 1] = {nullptr};
252 observerArr[i] = new(std::nothrow) RelationalStoreObserverUnitTest();
269RelationalStoreObserverUnitTest *observerArr1[DBConstant::MAX_OBSERVER_COUNT + 1] = {nullptr};
271 observerArr1[i] = new(std::nothrow) RelationalStoreObserverUnitTest();
H A Ddistributeddb_cloud_interfaces_relational_remove_device_data_test.cpp61 RelationalStoreObserverUnitTest *g_observer = nullptr;
589 g_observer = new (std::nothrow) RelationalStoreObserverUnitTest(); in SetUp()
1033 g_observer = new (std::nothrow) RelationalStoreObserverUnitTest();
H A Ddistributeddb_cloud_interfaces_set_cloud_schema_test.cpp86 RelationalStoreObserverUnitTest *g_observer = nullptr;
161 g_observer = new (std::nothrow) RelationalStoreObserverUnitTest(); in SetUp()
H A Ddistributeddb_interfaces_relational_sync_test.cpp1110 auto observer = new (std::nothrow) RelationalStoreObserverUnitTest();
H A Ddistributeddb_interfaces_relational_test.cpp1432 auto observer = new (std::nothrow) RelationalStoreObserverUnitTest();
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/common/
H A Ddistributeddb_tools_unit_test.h274 class RelationalStoreObserverUnitTest : public DistributedDB::StoreObserver {
276 RelationalStoreObserverUnitTest();
277 ~RelationalStoreObserverUnitTest() {} in ~RelationalStoreObserverUnitTest()
279 RelationalStoreObserverUnitTest(const RelationalStoreObserverUnitTest&) = delete;
280 RelationalStoreObserverUnitTest& operator=(const RelationalStoreObserverUnitTest&) = delete;
281 RelationalStoreObserverUnitTest(RelationalStoreObserverUnitTest&&) = delete;
282 RelationalStoreObserverUnitTest& operator=(RelationalStoreObserverUnitTest&&) = delete;
H A Ddistributeddb_tools_unit_test.cpp772 RelationalStoreObserverUnitTest::RelationalStoreObserverUnitTest() : callCount_(0) in RelationalStoreObserverUnitTest() function in DistributedDBUnitTest::RelationalStoreObserverUnitTest
776 unsigned long RelationalStoreObserverUnitTest::GetCallCount() const in GetCallCount()
781 unsigned long RelationalStoreObserverUnitTest::GetCloudCallCount() const in GetCloudCallCount()
786 void RelationalStoreObserverUnitTest::OnChange(const StoreChangedData &data) in OnChange()
795 void RelationalStoreObserverUnitTest::OnChange( in OnChange()
803 uint32_t RelationalStoreObserverUnitTest::GetCallbackDetailsType() const in GetCallbackDetailsType()
808 void RelationalStoreObserverUnitTest::SetCallbackDetailsType(uint32_t type) in SetCallbackDetailsType()
902 bool RelationalStoreObserverUnitTest::IsAllChangedDataEq() in IsAllChangedDataEq()
916 void RelationalStoreObserverUnitTest::ClearChangedData() in ClearChangedData()
922 void RelationalStoreObserverUnitTest::ResetToZero() in ResetToZero()
[all …]
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/syncer/cloud/
H A Dcloud_db_sync_utils_test.h45 …static void InitSyncUtils(const std::vector<Field> &cloudField, RelationalStoreObserverUnitTest *&…
73 static void CloseDb(RelationalStoreObserverUnitTest *&observer,
H A Dcloud_db_sync_utils_test.cpp49 RelationalStoreObserverUnitTest *&observer, std::shared_ptr<VirtualCloudDb> &virtualCloudDb, in InitSyncUtils()
52 observer = new (std::nothrow) RelationalStoreObserverUnitTest(); in InitSyncUtils()
261 void CloudDBSyncUtilsTest::CloseDb(RelationalStoreObserverUnitTest *&observer, in CloseDb()
H A Ddistributeddb_cloud_table_compound_primary_key_sync_test.cpp51 RelationalStoreObserverUnitTest *g_observer = nullptr;
H A Ddistributeddb_cloud_syncer_lock_test.cpp73 RelationalStoreObserverUnitTest *g_observer = nullptr;
177 g_observer = new (std::nothrow) RelationalStoreObserverUnitTest(); in Init()
H A Ddistributeddb_cloud_table_without_primary_key_sync_test.cpp51 RelationalStoreObserverUnitTest *g_observer = nullptr;
H A Ddistributeddb_cloud_syncer_download_assets_test.cpp105 RelationalStoreObserverUnitTest *g_observer = nullptr;
454 g_observer = new (std::nothrow) RelationalStoreObserverUnitTest(); in SetUp()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/syncer/
H A Ddistributeddb_relational_ver_p2p_sync_test.cpp77 RelationalStoreObserverUnitTest *g_observer = nullptr;
87 g_observer = new (std::nothrow) RelationalStoreObserverUnitTest(); in OpenStore()
588 void CheckIdentify(RelationalStoreObserverUnitTest *observer) in CheckIdentify()
787 RelationalStoreObserverUnitTest *observer) in ReleaseForObserver007()
914 void WaitCallCount(RelationalStoreObserverUnitTest *observer1) in WaitCallCount()
1639RelationalStoreObserverUnitTest *observer = new (std::nothrow) RelationalStoreObserverUnitTest();
1746 auto observer = new (std::nothrow) RelationalStoreObserverUnitTest();
1869RelationalStoreObserverUnitTest *observer = new (std::nothrow) RelationalStoreObserverUnitTest();
1913 auto observer1 = new (std::nothrow) RelationalStoreObserverUnitTest();
1935 RelationalStoreObserverUnitTest *autoLaunchObserver) in RegisterNewObserver()
[all …]
H A Ddistributeddb_relational_multi_user_test.cpp57 RelationalStoreObserverUnitTest *g_observer = nullptr;
152 g_observer = new (std::nothrow) RelationalStoreObserverUnitTest(); in OpenStore1()
163 g_observer = new (std::nothrow) RelationalStoreObserverUnitTest(); in OpenStore2()
H A Ddistributeddb_single_ver_multi_sub_user_test.cpp147RelationalStoreObserverUnitTest *observer = new (std::nothrow) RelationalStoreObserverUnitTest(); in OpenDelegate()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/storage/cloud/
H A Ddistributeddb_cloud_check_sync_test.cpp987 auto observer1 = new (std::nothrow) RelationalStoreObserverUnitTest();
994 auto observer2 = new (std::nothrow) RelationalStoreObserverUnitTest();
1847 auto observer = new (std::nothrow) RelationalStoreObserverUnitTest();
H A Ddistributeddb_cloud_interfaces_relational_sync_test.cpp59 RelationalStoreObserverUnitTest *g_observer = nullptr;
1116 g_observer = new (std::nothrow) RelationalStoreObserverUnitTest(); in SetUp()