Home
last modified time | relevance | path

Searched refs:DEVICE_C (Results 1 – 12 of 12) sorted by relevance

/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/syncer/
H A Ddistributeddb_communicator_proxy_test.cpp37 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 Ddistributeddb_syncer_device_manager_test.cpp35 const std::string DEVICE_C = "deviceC"; variable
94 g_deviceC = new (std::nothrow) KvVirtualDevice(DEVICE_C); in SetUp()
H A Ddistributeddb_relational_ver_p2p_sync_test.cpp40 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 Ddistributeddb_single_ver_multi_user_test.cpp39 const std::string DEVICE_C = "deviceC"; variable
134 g_deviceC = new (std::nothrow) KvVirtualDevice(DEVICE_C); in SetUp()
H A Ddistributeddb_single_ver_p2p_permission_sync_test.cpp39 const std::string DEVICE_C = "deviceC"; variable
112 g_deviceC = new (std::nothrow) KvVirtualDevice(DEVICE_C); in SetUp()
H A Ddistributeddb_relational_multi_user_test.cpp40 const std::string DEVICE_C = "deviceC"; variable
479 g_deviceC = new (std::nothrow) RelationalVirtualDevice(DEVICE_C); in SetUp()
H A Ddistributeddb_multi_ver_p2p_sync_test.cpp52 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 Ddistributeddb_single_ver_p2p_subscribe_sync_test.cpp44 const std::string DEVICE_C = "deviceC"; variable
153 g_deviceC = new (std::nothrow) KvVirtualDevice(DEVICE_C); in SetUp()
H A Ddistributeddb_single_ver_p2p_simple_sync_test.cpp43 const std::string DEVICE_C = "deviceC"; variable
138 g_deviceC = new (std::nothrow) KvVirtualDevice(DEVICE_C); in SetUp()
H A Ddistributeddb_single_ver_p2p_sync_check_test.cpp37 const std::string DEVICE_C = "deviceC"; variable
136 g_deviceC = new (std::nothrow) KvVirtualDevice(DEVICE_C); in SetUp()
H A Ddistributeddb_single_ver_p2p_complex_sync_test.cpp46 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 Ddistributeddb_interfaces_nb_delegate_test.cpp74 const std::string DEVICE_C = "deviceC"; variable
2276 InitVirtualDevice(DEVICE_C, g_deviceC, g_syncInterfaceC);
2294 devices.push_back(DEVICE_C);