/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/interfaces/ |
H A D | distributeddb_interfaces_relational_observer_test.cpp | 106 … RelationalStoreObserverUnitTest *observer1 = new (std::nothrow) RelationalStoreObserverUnitTest(); 142 … RelationalStoreObserverUnitTest *observerArr[DBConstant::MAX_OBSERVER_COUNT + 1] = { nullptr }; 144 observerArr[i] = new (std::nothrow) RelationalStoreObserverUnitTest(); 199 … RelationalStoreObserverUnitTest *observer = new (std::nothrow) RelationalStoreObserverUnitTest(); 211 RelationalStoreObserverUnitTest *observerArr[DBConstant::MAX_OBSERVER_COUNT] = { nullptr }; 213 observerArr[i] = new (std::nothrow) RelationalStoreObserverUnitTest(); 250 … RelationalStoreObserverUnitTest *observerArr[DBConstant::MAX_OBSERVER_COUNT + 1] = {nullptr}; 252 observerArr[i] = new(std::nothrow) RelationalStoreObserverUnitTest(); 269 … RelationalStoreObserverUnitTest *observerArr1[DBConstant::MAX_OBSERVER_COUNT + 1] = {nullptr}; 271 observerArr1[i] = new(std::nothrow) RelationalStoreObserverUnitTest();
|
H A D | distributeddb_cloud_interfaces_relational_remove_device_data_test.cpp | 61 RelationalStoreObserverUnitTest *g_observer = nullptr; 589 g_observer = new (std::nothrow) RelationalStoreObserverUnitTest(); in SetUp() 1033 g_observer = new (std::nothrow) RelationalStoreObserverUnitTest();
|
H A D | distributeddb_cloud_interfaces_set_cloud_schema_test.cpp | 86 RelationalStoreObserverUnitTest *g_observer = nullptr; 161 g_observer = new (std::nothrow) RelationalStoreObserverUnitTest(); in SetUp()
|
H A D | distributeddb_interfaces_relational_sync_test.cpp | 1110 auto observer = new (std::nothrow) RelationalStoreObserverUnitTest();
|
H A D | distributeddb_interfaces_relational_test.cpp | 1432 auto observer = new (std::nothrow) RelationalStoreObserverUnitTest();
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/common/ |
H A D | distributeddb_tools_unit_test.h | 274 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 D | distributeddb_tools_unit_test.cpp | 772 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 D | cloud_db_sync_utils_test.h | 45 …static void InitSyncUtils(const std::vector<Field> &cloudField, RelationalStoreObserverUnitTest *&… 73 static void CloseDb(RelationalStoreObserverUnitTest *&observer,
|
H A D | cloud_db_sync_utils_test.cpp | 49 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 D | distributeddb_cloud_table_compound_primary_key_sync_test.cpp | 51 RelationalStoreObserverUnitTest *g_observer = nullptr;
|
H A D | distributeddb_cloud_syncer_lock_test.cpp | 73 RelationalStoreObserverUnitTest *g_observer = nullptr; 177 g_observer = new (std::nothrow) RelationalStoreObserverUnitTest(); in Init()
|
H A D | distributeddb_cloud_table_without_primary_key_sync_test.cpp | 51 RelationalStoreObserverUnitTest *g_observer = nullptr;
|
H A D | distributeddb_cloud_syncer_download_assets_test.cpp | 105 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 D | distributeddb_relational_ver_p2p_sync_test.cpp | 77 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() 1639 … RelationalStoreObserverUnitTest *observer = new (std::nothrow) RelationalStoreObserverUnitTest(); 1746 auto observer = new (std::nothrow) RelationalStoreObserverUnitTest(); 1869 … RelationalStoreObserverUnitTest *observer = new (std::nothrow) RelationalStoreObserverUnitTest(); 1913 auto observer1 = new (std::nothrow) RelationalStoreObserverUnitTest(); 1935 RelationalStoreObserverUnitTest *autoLaunchObserver) in RegisterNewObserver() [all …]
|
H A D | distributeddb_relational_multi_user_test.cpp | 57 RelationalStoreObserverUnitTest *g_observer = nullptr; 152 g_observer = new (std::nothrow) RelationalStoreObserverUnitTest(); in OpenStore1() 163 g_observer = new (std::nothrow) RelationalStoreObserverUnitTest(); in OpenStore2()
|
H A D | distributeddb_single_ver_multi_sub_user_test.cpp | 147 … RelationalStoreObserverUnitTest *observer = new (std::nothrow) RelationalStoreObserverUnitTest(); in OpenDelegate()
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/storage/cloud/ |
H A D | distributeddb_cloud_check_sync_test.cpp | 987 auto observer1 = new (std::nothrow) RelationalStoreObserverUnitTest(); 994 auto observer2 = new (std::nothrow) RelationalStoreObserverUnitTest(); 1847 auto observer = new (std::nothrow) RelationalStoreObserverUnitTest();
|
H A D | distributeddb_cloud_interfaces_relational_sync_test.cpp | 59 RelationalStoreObserverUnitTest *g_observer = nullptr; 1116 g_observer = new (std::nothrow) RelationalStoreObserverUnitTest(); in SetUp()
|