/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/syncer/ |
H A D | distributeddb_communicator_proxy_test.cpp | 37 const std::string DEVICE_C = "deviceC"; variable 113 commProxy_->SetEqualCommunicator(&extComm_, identifier, { DEVICE_C }); in SetUp() 240 …EXPECT_CALL(extComm_, GetCommunicatorMtuSize(DEVICE_C)).WillOnce(Return(DBConstant::MAX_MTU_SIZE)); 241 EXPECT_EQ(commProxy_->GetCommunicatorMtuSize(DEVICE_C), DBConstant::MAX_MTU_SIZE); 289 EXPECT_CALL(extComm_, GetRemoteCommunicatorVersion(DEVICE_C, _)) 296 EXPECT_EQ(commProxy_->GetRemoteCommunicatorVersion(DEVICE_C, version), E_OK); 321 EXPECT_CALL(extComm_, SendMessage(DEVICE_C, _, _, _)).WillOnce(Return(E_OK)); 322 EXPECT_EQ(commProxy_->SendMessage(DEVICE_C, nullptr, conf, nullptr), E_OK); 345 EXPECT_CALL(extComm_, GetTimeout(DEVICE_C)).WillOnce(Return(DBConstant::MAX_TIMEOUT)); 346 EXPECT_EQ(commProxy_->GetTimeout(DEVICE_C), DBConstant::MAX_TIMEOUT);
|
H A D | distributeddb_syncer_device_manager_test.cpp | 35 const std::string DEVICE_C = "deviceC"; variable 94 g_deviceC = new (std::nothrow) KvVirtualDevice(DEVICE_C); in SetUp()
|
H A D | distributeddb_relational_ver_p2p_sync_test.cpp | 40 const std::string DEVICE_C = "deviceC"; variable 857 g_deviceC = new (std::nothrow) RelationalVirtualDevice(DEVICE_C); in SetUp() 1610 BlockSync(SyncMode::SYNC_MODE_PULL_ONLY, OK, {DEVICE_B, DEVICE_C}); 1715 …DBStatus callStatus = rdbDelegatePtr->Sync({DEVICE_B, DEVICE_C}, SyncMode::SYNC_MODE_PULL_ONLY, qu… 1754 BlockSync(SyncMode::SYNC_MODE_PULL_ONLY, OK, {DEVICE_B, DEVICE_C}); 1788 BlockSync(SyncMode::SYNC_MODE_PULL_ONLY, OK, {DEVICE_B, DEVICE_C}); 2126 std::vector<std::string> deviceMap = {DEVICE_B, DEVICE_C}; 2578 BlockSync(SyncMode::SYNC_MODE_PUSH_ONLY, PERMISSION_CHECK_FORBID_SYNC, { DEVICE_C });
|
H A D | distributeddb_single_ver_multi_user_test.cpp | 39 const std::string DEVICE_C = "deviceC"; variable 134 g_deviceC = new (std::nothrow) KvVirtualDevice(DEVICE_C); in SetUp()
|
H A D | distributeddb_single_ver_p2p_permission_sync_test.cpp | 39 const std::string DEVICE_C = "deviceC"; variable 112 g_deviceC = new (std::nothrow) KvVirtualDevice(DEVICE_C); in SetUp()
|
H A D | distributeddb_relational_multi_user_test.cpp | 40 const std::string DEVICE_C = "deviceC"; variable 479 g_deviceC = new (std::nothrow) RelationalVirtualDevice(DEVICE_C); in SetUp()
|
H A D | distributeddb_multi_ver_p2p_sync_test.cpp | 52 const std::string DEVICE_C = "deviceC"; variable 164 g_deviceC = new (std::nothrow) KvVirtualDevice(DEVICE_C); in SetUp() 168 ASSERT_EQ(syncInterfaceC->Initialize(DEVICE_C), E_OK); in SetUp()
|
H A D | distributeddb_single_ver_p2p_subscribe_sync_test.cpp | 44 const std::string DEVICE_C = "deviceC"; variable 153 g_deviceC = new (std::nothrow) KvVirtualDevice(DEVICE_C); in SetUp()
|
H A D | distributeddb_single_ver_p2p_simple_sync_test.cpp | 43 const std::string DEVICE_C = "deviceC"; variable 138 g_deviceC = new (std::nothrow) KvVirtualDevice(DEVICE_C); in SetUp()
|
H A D | distributeddb_single_ver_p2p_sync_check_test.cpp | 37 const std::string DEVICE_C = "deviceC"; variable 136 g_deviceC = new (std::nothrow) KvVirtualDevice(DEVICE_C); in SetUp()
|
H A D | distributeddb_single_ver_p2p_complex_sync_test.cpp | 46 const std::string DEVICE_C = "deviceC"; variable 243 g_deviceC = new (std::nothrow) KvVirtualDevice(DEVICE_C); in SetUp()
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/interfaces/ |
H A D | distributeddb_interfaces_nb_delegate_test.cpp | 74 const std::string DEVICE_C = "deviceC"; variable 2276 InitVirtualDevice(DEVICE_C, g_deviceC, g_syncInterfaceC); 2294 devices.push_back(DEVICE_C);
|