Searched refs:g_snapshotDelegatePtr (Results 1 – 6 of 6) sorted by relevance
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/interfaces/ |
H A D | distributeddb_interfaces_transaction_syncdb_test.cpp | 44 KvStoreSnapshotDelegate *g_snapshotDelegatePtr = nullptr; variable 87 if (g_kvDelegatePtr != nullptr && g_snapshotDelegatePtr != nullptr) { in TearDown() 88 EXPECT_TRUE(g_kvDelegatePtr->ReleaseKvStoreSnapshot(g_snapshotDelegatePtr) == OK); in TearDown() 89 g_snapshotDelegatePtr = nullptr; in TearDown() 189 g_mgr, g_snapshotDelegatePtr); 257 DistributedDBInterfacesTransactionTestCase::Commit003(g_kvDelegatePtr, g_snapshotDelegatePtr); 285 DistributedDBInterfacesTransactionTestCase::Commit004(g_kvDelegatePtr, g_snapshotDelegatePtr); 313 DistributedDBInterfacesTransactionTestCase::Commit005(g_kvDelegatePtr, g_snapshotDelegatePtr); 341 DistributedDBInterfacesTransactionTestCase::Commit006(g_kvDelegatePtr, g_snapshotDelegatePtr); 373 DistributedDBInterfacesTransactionTestCase::Commit007(g_kvDelegatePtr, g_snapshotDelegatePtr); [all …]
|
H A D | distributeddb_interfaces_transaction_test.cpp | 44 KvStoreSnapshotDelegate *g_snapshotDelegatePtr = nullptr; variable 87 if (g_kvDelegatePtr != nullptr && g_snapshotDelegatePtr != nullptr) { in TearDown() 88 EXPECT_TRUE(g_kvDelegatePtr->ReleaseKvStoreSnapshot(g_snapshotDelegatePtr) == OK); in TearDown() 89 g_snapshotDelegatePtr = nullptr; in TearDown() 189 g_mgr, g_snapshotDelegatePtr); 285 DistributedDBInterfacesTransactionTestCase::Commit003(g_kvDelegatePtr, g_snapshotDelegatePtr); 317 DistributedDBInterfacesTransactionTestCase::Commit004(g_kvDelegatePtr, g_snapshotDelegatePtr); 345 DistributedDBInterfacesTransactionTestCase::Commit005(g_kvDelegatePtr, g_snapshotDelegatePtr); 373 DistributedDBInterfacesTransactionTestCase::Commit006(g_kvDelegatePtr, g_snapshotDelegatePtr); 405 DistributedDBInterfacesTransactionTestCase::Commit007(g_kvDelegatePtr, g_snapshotDelegatePtr); [all …]
|
H A D | distributeddb_interfaces_register_syncdb_test.cpp | 796 g_snapshotDelegatePtr = nullptr; 814 g_snapshotDelegatePtr = nullptr; 850 g_snapshotDelegatePtr = nullptr; 895 g_snapshotDelegatePtr = nullptr; 937 g_snapshotDelegatePtr = nullptr; 979 g_snapshotDelegatePtr = nullptr; 1017 g_snapshotDelegatePtr = nullptr; 1051 g_snapshotDelegatePtr = nullptr; 1094 g_snapshotDelegatePtr = nullptr; 1147 g_snapshotDelegatePtr = nullptr; [all …]
|
H A D | distributeddb_interfaces_encrypt_delegate_test.cpp | 57 KvStoreSnapshotDelegate *g_snapshotDelegatePtr = nullptr; variable 69 ASSERT_TRUE(g_snapshotDelegatePtr != nullptr); in GetSnapshotAndValueCheck() 71 g_snapshotDelegatePtr->Get(testKey, g_valueCallback); in GetSnapshotAndValueCheck() 261 EXPECT_EQ(g_kvDelegatePtr->ReleaseKvStoreSnapshot(g_snapshotDelegatePtr), OK); 279 EXPECT_EQ(g_kvDelegatePtr->ReleaseKvStoreSnapshot(g_snapshotDelegatePtr), OK); 289 EXPECT_EQ(g_kvDelegatePtr->ReleaseKvStoreSnapshot(g_snapshotDelegatePtr), OK); 341 EXPECT_EQ(g_kvDelegatePtr->ReleaseKvStoreSnapshot(g_snapshotDelegatePtr), OK); 359 EXPECT_EQ(g_kvDelegatePtr->ReleaseKvStoreSnapshot(g_snapshotDelegatePtr), OK); 370 EXPECT_EQ(g_kvDelegatePtr->ReleaseKvStoreSnapshot(g_snapshotDelegatePtr), OK); 679 EXPECT_EQ(g_kvDelegatePtr->ReleaseKvStoreSnapshot(g_snapshotDelegatePtr), OK); [all …]
|
H A D | distributeddb_interfaces_data_operation_syncdb_test.cpp | 50 KvStoreSnapshotDelegate *g_snapshotDelegatePtr = nullptr; variable 83 ASSERT_TRUE(g_snapshotDelegatePtr != nullptr); in GetSnapshotUnitTest() 133 g_snapshotDelegatePtr = nullptr; in TearDown() 167 g_snapshotDelegatePtr->Get(keyTmp, g_valueCallback); 243 g_snapshotDelegatePtr->Get(keyTmp, g_valueCallback); 258 g_snapshotDelegatePtr = nullptr; 265 g_snapshotDelegatePtr->Get(keyTmp, g_valueCallback); 301 g_snapshotDelegatePtr->Get(keyTmp, g_valueCallback); 417 g_snapshotDelegatePtr->Get(keyTmp, g_valueCallback); 1376 ASSERT_TRUE(g_snapshotDelegatePtr != nullptr); [all …]
|
H A D | distributeddb_interfaces_data_operation_test.cpp | 51 KvStoreSnapshotDelegate *g_snapshotDelegatePtr = nullptr; variable 96 ASSERT_TRUE(g_snapshotDelegatePtr != nullptr); in GetSnapshotUnitTest() 395 g_snapshotDelegatePtr = nullptr; in TearDown() 430 g_snapshotDelegatePtr->Get(keyTmp, g_valueCallback); 506 g_snapshotDelegatePtr->Get(keyTmp, g_valueCallback); 521 g_snapshotDelegatePtr = nullptr; 528 g_snapshotDelegatePtr->Get(keyTmp, g_valueCallback); 565 g_snapshotDelegatePtr->Get(keyTmp, g_valueCallback); 603 g_snapshotDelegatePtr->Get(keyTmp, g_valueCallback); 681 g_snapshotDelegatePtr->Get(keyTmp, g_valueCallback); [all …]
|