Searched refs:mockInstance (Results 1 – 8 of 8) sorted by relevance
/ohos5.0/foundation/distributedhardware/device_manager/test/unittest/ |
H A D | UTTest_ipc_client_proxy.cpp | 84 std::shared_ptr<IpcClient> ipcClientManager = mockInstance; 108 std::shared_ptr<IpcClient> ipcClientManager = mockInstance; 132 std::shared_ptr<IpcClient> ipcClientManager = mockInstance; 156 std::shared_ptr<IpcClient> ipcClientManager = mockInstance; 202 std::shared_ptr<IpcClient> ipcClientManager = mockInstance; 226 std::shared_ptr<IpcClient> ipcClientManager = mockInstance; 250 std::shared_ptr<IpcClient> ipcClientManager = mockInstance; 274 std::shared_ptr<IpcClient> ipcClientManager = mockInstance; 376 std::shared_ptr<IpcClient> ipcClientManager = mockInstance; 404 std::shared_ptr<IpcClient> ipcClientManager = mockInstance; [all …]
|
H A D | UTTest_device_manager_impl_two.cpp | 88 DeviceManagerImpl::GetInstance().ipcClientProxy_ = mockInstance; 118 DeviceManagerImpl::GetInstance().ipcClientProxy_ = mockInstance; 149 DeviceManagerImpl::GetInstance().ipcClientProxy_ = mockInstance; 179 DeviceManagerImpl::GetInstance().ipcClientProxy_ = mockInstance; 260 DeviceManagerImpl::GetInstance().ipcClientProxy_ = mockInstance; 293 DeviceManagerImpl::GetInstance().ipcClientProxy_ = mockInstance; 326 DeviceManagerImpl::GetInstance().ipcClientProxy_ = mockInstance; 377 DeviceManagerImpl::GetInstance().ipcClientProxy_ = mockInstance; 407 DeviceManagerImpl::GetInstance().ipcClientProxy_ = mockInstance; 437 DeviceManagerImpl::GetInstance().ipcClientProxy_ = mockInstance; [all …]
|
H A D | UTTest_ipc_client_manager.cpp | 164 instance->dmInterface_ = mockInstance; 190 instance->dmInterface_ = mockInstance; 216 instance->dmInterface_ = mockInstance; 242 instance->dmInterface_ = mockInstance; 295 instance->dmInterface_ = mockInstance; 327 instance->dmInterface_ = mockInstance; 359 instance->dmInterface_ = mockInstance; 391 instance->dmInterface_ = mockInstance; 451 instance->dmInterface_ = mockInstance; 486 instance->dmInterface_ = mockInstance; [all …]
|
H A D | device_manager_impl_test.cpp | 83 DeviceManagerImpl::GetInstance().ipcClientProxy_ = mockInstance; 84 EXPECT_CALL(*mockInstance, SendRequest(testing::_, testing::_, testing::_)) 100 DeviceManagerImpl::GetInstance().ipcClientProxy_ = mockInstance; 101 EXPECT_CALL(*mockInstance, SendRequest(testing::_, testing::_, testing::_)) 126 DeviceManagerImpl::GetInstance().ipcClientProxy_ = mockInstance; 127 EXPECT_CALL(*mockInstance, SendRequest(testing::_, testing::_, testing::_)) 142 DeviceManagerImpl::GetInstance().ipcClientProxy_ = mockInstance; 143 EXPECT_CALL(*mockInstance, SendRequest(testing::_, testing::_, testing::_)) 166 DeviceManagerImpl::GetInstance().ipcClientProxy_ = mockInstance; 167 EXPECT_CALL(*mockInstance, SendRequest(testing::_, testing::_, testing::_)) [all …]
|
H A D | UTTest_device_manager_impl_three.cpp | 90 DeviceManagerImpl::GetInstance().ipcClientProxy_ = mockInstance; 151 DeviceManagerImpl::GetInstance().ipcClientProxy_ = mockInstance; 213 DeviceManagerImpl::GetInstance().ipcClientProxy_ = mockInstance; 256 DeviceManagerImpl::GetInstance().ipcClientProxy_ = mockInstance; 299 DeviceManagerImpl::GetInstance().ipcClientProxy_ = mockInstance; 342 DeviceManagerImpl::GetInstance().ipcClientProxy_ = mockInstance; 367 DeviceManagerImpl::GetInstance().ipcClientProxy_ = mockInstance; 392 DeviceManagerImpl::GetInstance().ipcClientProxy_ = mockInstance; 505 DeviceManagerImpl::GetInstance().ipcClientProxy_ = mockInstance; 529 DeviceManagerImpl::GetInstance().ipcClientProxy_ = mockInstance; [all …]
|
H A D | UTTest_ipc_client_stub.cpp | 126 std::shared_ptr<MockIpcClientStub> mockInstance = std::make_shared<MockIpcClientStub>(); variable 127 std::shared_ptr<IpcClientStub> ipcClientStub= mockInstance; 128 EXPECT_CALL(*mockInstance, OnRemoteRequest(testing::_, testing::_, testing::_, testing::_)) 184 std::shared_ptr<MockIpcClientStub> mockInstance = std::make_shared<MockIpcClientStub>(); variable 185 std::shared_ptr<IpcClientStub> ipcClientStub= mockInstance; 186 EXPECT_CALL(*mockInstance, SendCmd(testing::_, testing::_, testing::_))
|
H A D | UTTest_device_manager_impl.cpp | 1152 DeviceManagerImpl::GetInstance().ipcClientProxy_ = mockInstance; 1231 DeviceManagerImpl::GetInstance().ipcClientProxy_ = mockInstance; 1278 DeviceManagerImpl::GetInstance().ipcClientProxy_ = mockInstance; 1303 DeviceManagerImpl::GetInstance().ipcClientProxy_ = mockInstance; 1359 DeviceManagerImpl::GetInstance().ipcClientProxy_ = mockInstance; 1420 DeviceManagerImpl::GetInstance().ipcClientProxy_ = mockInstance; 1558 DeviceManagerImpl::GetInstance().ipcClientProxy_ = mockInstance; 1632 DeviceManagerImpl::GetInstance().ipcClientProxy_ = mockInstance; 1666 DeviceManagerImpl::GetInstance().ipcClientProxy_ = mockInstance; 1849 DeviceManagerImpl::GetInstance().ipcClientProxy_ = mockInstance; [all …]
|
/ohos5.0/foundation/communication/netstack/test/unittest/utils/profiler_utils/ |
H A D | NetstackNetworkProfilerUtilsTest.cpp | 108 MockNetworkMessage mockInstance(REQUEST_ID, GetCurlHandle()); 109 mockInstance.SetRequestBeginTime(REQUEST_BEGIN_TIME); 110 DfxMessage msg = mockInstance.Parse();
|