/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/ipc/test/ |
H A D | storage_daemon_stub_test.cpp | 154 EXPECT_CALL(mock, UpdateUserAuth(testing::_, testing::_, testing::_, testing::_, testing::_)) 156 …EXPECT_CALL(mock, ActiveUserKey(testing::_, testing::_, testing::_)).WillOnce(testing::Return(E_OK… 160 …EXPECT_CALL(mock, UnlockUserScreen(testing::_, testing::_, testing::_)).WillOnce(testing::Return(E… 161 …EXPECT_CALL(mock, MountDfsDocs(testing::_, testing::_, testing::_, testing::_)).WillOnce(testing::… 162 …EXPECT_CALL(mock, UMountDfsDocs(testing::_, testing::_, testing::_, testing::_)).WillOnce(testing:… 164 …EXPECT_CALL(mock, GenerateAppkey(testing::_, testing::_, testing::_)).WillOnce(testing::Return(E_O… 166 …EXPECT_CALL(mock, GetOccupiedSpace(testing::_, testing::_, testing::_)).WillOnce(testing::Return(E… 207 …EXPECT_CALL(mock, GetBundleStatsForIncrease(testing::_, testing::_, testing::_, testing::_, testin… 715 EXPECT_CALL(mock, UpdateUserAuth(testing::_, testing::_, testing::_, testing::_, testing::_)) 724 EXPECT_CALL(mock, UpdateUserAuth(testing::_, testing::_, testing::_, testing::_, [all …]
|
H A D | storage_daemon_proxy_test.cpp | 60 EXPECT_CALL(*mock_, SendRequest(testing::_, testing::_, testing::_, testing::_)) 83 EXPECT_CALL(*mock_, SendRequest(testing::_, testing::_, testing::_, testing::_)) 106 EXPECT_CALL(*mock_, SendRequest(testing::_, testing::_, testing::_, testing::_)) 129 EXPECT_CALL(*mock_, SendRequest(testing::_, testing::_, testing::_, testing::_)) 152 EXPECT_CALL(*mock_, SendRequest(testing::_, testing::_, testing::_, testing::_)) 175 EXPECT_CALL(*mock_, SendRequest(testing::_, testing::_, testing::_, testing::_)) 198 EXPECT_CALL(*mock_, SendRequest(testing::_, testing::_, testing::_, testing::_)) 222 EXPECT_CALL(*mock_, SendRequest(testing::_, testing::_, testing::_, testing::_)) 245 EXPECT_CALL(*mock_, SendRequest(testing::_, testing::_, testing::_, testing::_)) 268 EXPECT_CALL(*mock_, SendRequest(testing::_, testing::_, testing::_, testing::_)) [all …]
|
/ohos5.0/foundation/filemanagement/storage_service/services/storage_manager/ipc/test/ |
H A D | storage_manager_proxy_test.cpp | 451 EXPECT_CALL(*mock_, SendRequest(testing::_, testing::_, testing::_, testing::_)) 476 EXPECT_CALL(*mock_, SendRequest(testing::_, testing::_, testing::_, testing::_)) 501 EXPECT_CALL(*mock_, SendRequest(testing::_, testing::_, testing::_, testing::_)) 530 EXPECT_CALL(*mock_, SendRequest(testing::_, testing::_, testing::_, testing::_)) 614 EXPECT_CALL(*mock_, SendRequest(testing::_, testing::_, testing::_, testing::_)) 638 EXPECT_CALL(*mock_, SendRequest(testing::_, testing::_, testing::_, testing::_)) 661 EXPECT_CALL(*mock_, SendRequest(testing::_, testing::_, testing::_, testing::_)) 739 EXPECT_CALL(*mock_, SendRequest(testing::_, testing::_, testing::_, testing::_)) 763 EXPECT_CALL(*mock_, SendRequest(testing::_, testing::_, testing::_, testing::_)) 787 EXPECT_CALL(*mock_, SendRequest(testing::_, testing::_, testing::_, testing::_)) [all …]
|
/ohos5.0/base/usb/usb_manager/test/native/mock/src/ |
H A D | usb_bulkcallback_mock_test.cpp | 124 …EXPECT_CALL(*mockUsbImpl_, ClaimInterface(testing::_, testing::_, testing::_)).WillRepeatedly(Retu… in SetUpTestCase() 167 …EXPECT_CALL(*mockUsbImpl_, RegBulkCallback(testing::_, testing::_, testing::_)).WillRepeatedly(Ret… 214 EXPECT_CALL(*mockUsbImpl_, RegBulkCallback(testing::_, testing::_, testing::_)) 241 EXPECT_CALL(*mockUsbImpl_, RegBulkCallback(testing::_, testing::_, testing::_)) 274 …EXPECT_CALL(*mockUsbImpl_, BulkRead(testing::_, testing::_, testing::_)).WillRepeatedly(Return(0)); 414 …EXPECT_CALL(*mockUsbImpl_, BulkWrite(testing::_, testing::_, testing::_)).WillRepeatedly(Return(0)… 554 …EXPECT_CALL(*mockUsbImpl_, BulkRead(testing::_, testing::_, testing::_)).WillRepeatedly(Return(0)); 593 …EXPECT_CALL(*mockUsbImpl_, BulkRead(testing::_, testing::_, testing::_)).WillRepeatedly(Return(0)); 634 …EXPECT_CALL(*mockUsbImpl_, BulkRead(testing::_, testing::_, testing::_)).WillRepeatedly(Return(0)); 690 EXPECT_CALL(*mockUsbImpl_, RegBulkCallback(testing::_, testing::_, testing::_)) [all …]
|
H A D | usb_request_mock_test.cpp | 133 …EXPECT_CALL(*mockUsbImpl_, RequestQueue(testing::_, testing::_, testing::_, testing::_)).WillRepea… 151 …EXPECT_CALL(*mockUsbImpl_, RequestQueue(testing::_, testing::_, testing::_, testing::_)).WillRepea… 170 EXPECT_CALL(*mockUsbImpl_, RequestQueue(testing::_, testing::_, testing::_, testing::_)) 192 EXPECT_CALL(*mockUsbImpl_, RequestQueue(testing::_, testing::_, testing::_, testing::_)) 214 EXPECT_CALL(*mockUsbImpl_, RequestQueue(testing::_, testing::_, testing::_, testing::_)) 236 EXPECT_CALL(*mockUsbImpl_, RequestQueue(testing::_, testing::_, testing::_, testing::_)) 372 …EXPECT_CALL(*mockUsbImpl_, RequestQueue(testing::_, testing::_, testing::_, testing::_)).WillRepea… 553 EXPECT_CALL(*mockUsbImpl_, RequestWait(testing::_, testing::_, testing::_, testing::_)) 579 EXPECT_CALL(*mockUsbImpl_, RequestWait(testing::_, testing::_, testing::_, testing::_)) 627 EXPECT_CALL(*mockUsbImpl_, RequestWait(testing::_, testing::_, testing::_, testing::_)) [all …]
|
H A D | usb_device_pipe_mock_test.cpp | 197 EXPECT_CALL(*mockUsbImpl_, ControlTransferRead(testing::_, testing::_, testing::_)) 968 EXPECT_CALL(*mockUsbImpl_, BulkTransferRead(testing::_, testing::_, testing::_, testing::_)) 994 EXPECT_CALL(*mockUsbImpl_, BulkTransferRead(testing::_, testing::_, testing::_, testing::_)) 1020 EXPECT_CALL(*mockUsbImpl_, BulkTransferRead(testing::_, testing::_, testing::_, testing::_)) 1048 EXPECT_CALL(*mockUsbImpl_, BulkTransferRead(testing::_, testing::_, testing::_, testing::_)) 1076 EXPECT_CALL(*mockUsbImpl_, BulkTransferRead(testing::_, testing::_, testing::_, testing::_)) 1102 EXPECT_CALL(*mockUsbImpl_, BulkTransferRead(testing::_, testing::_, testing::_, testing::_)) 1127 EXPECT_CALL(*mockUsbImpl_, BulkTransferWrite(testing::_, testing::_, testing::_, testing::_)) 1153 EXPECT_CALL(*mockUsbImpl_, BulkTransferWrite(testing::_, testing::_, testing::_, testing::_)) 1181 EXPECT_CALL(*mockUsbImpl_, BulkTransferWrite(testing::_, testing::_, testing::_, testing::_)) [all …]
|
/ohos5.0/foundation/distributedhardware/device_manager/test/unittest/ |
H A D | UTTest_device_manager_impl_two.cpp | 89 EXPECT_CALL(*mockInstance, SendRequest(testing::_, testing::_, testing::_)) 119 EXPECT_CALL(*mockInstance, SendRequest(testing::_, testing::_, testing::_)) 150 EXPECT_CALL(*mockInstance, SendRequest(testing::_, testing::_, testing::_)) 180 EXPECT_CALL(*mockInstance, SendRequest(testing::_, testing::_, testing::_)) 261 EXPECT_CALL(*mockInstance, SendRequest(testing::_, testing::_, testing::_)) 294 EXPECT_CALL(*mockInstance, SendRequest(testing::_, testing::_, testing::_)) 327 EXPECT_CALL(*mockInstance, SendRequest(testing::_, testing::_, testing::_)) 378 EXPECT_CALL(*mockInstance, SendRequest(testing::_, testing::_, testing::_)) 408 EXPECT_CALL(*mockInstance, SendRequest(testing::_, testing::_, testing::_)) 438 EXPECT_CALL(*mockInstance, SendRequest(testing::_, testing::_, testing::_)) [all …]
|
H A D | UTTest_ipc_client_manager.cpp | 165 EXPECT_CALL(*mockInstance, SendCmd(testing::_, testing::_, testing::_)) 191 EXPECT_CALL(*mockInstance, SendCmd(testing::_, testing::_, testing::_)) 217 EXPECT_CALL(*mockInstance, SendCmd(testing::_, testing::_, testing::_)) 243 EXPECT_CALL(*mockInstance, SendCmd(testing::_, testing::_, testing::_)) 291 EXPECT_CALL(*mockInstance, SendCmd(testing::_, testing::_, testing::_)) 323 EXPECT_CALL(*mockInstance, SendCmd(testing::_, testing::_, testing::_)) 355 EXPECT_CALL(*mockInstance, SendCmd(testing::_, testing::_, testing::_)) 387 EXPECT_CALL(*mockInstance, SendCmd(testing::_, testing::_, testing::_)) 447 EXPECT_CALL(*mockInstance, SendCmd(testing::_, testing::_, testing::_)) 482 EXPECT_CALL(*mockInstance, SendCmd(testing::_, testing::_, testing::_)) [all …]
|
H A D | device_manager_impl_test.cpp | 84 EXPECT_CALL(*mockInstance, SendRequest(testing::_, testing::_, testing::_)) 86 .WillOnce(testing::Return(ERR_DM_FAILED)); 101 EXPECT_CALL(*mockInstance, SendRequest(testing::_, testing::_, testing::_)) 103 .WillOnce(testing::Return(DM_OK)); 127 EXPECT_CALL(*mockInstance, SendRequest(testing::_, testing::_, testing::_)) 129 .WillOnce(testing::Return(DM_OK)); 143 EXPECT_CALL(*mockInstance, SendRequest(testing::_, testing::_, testing::_)) 145 .WillOnce(testing::Return(ERR_DM_FAILED)); 167 EXPECT_CALL(*mockInstance, SendRequest(testing::_, testing::_, testing::_)) 169 .WillOnce(testing::Return(DM_OK)); [all …]
|
H A D | UTTest_device_manager_impl_three.cpp | 91 EXPECT_CALL(*mockInstance, SendRequest(testing::_, testing::_, testing::_)) 152 EXPECT_CALL(*mockInstance, SendRequest(testing::_, testing::_, testing::_)) 214 EXPECT_CALL(*mockInstance, SendRequest(testing::_, testing::_, testing::_)) 257 EXPECT_CALL(*mockInstance, SendRequest(testing::_, testing::_, testing::_)) 300 EXPECT_CALL(*mockInstance, SendRequest(testing::_, testing::_, testing::_)) 343 EXPECT_CALL(*mockInstance, SendRequest(testing::_, testing::_, testing::_)) 368 EXPECT_CALL(*mockInstance, SendRequest(testing::_, testing::_, testing::_)) 393 EXPECT_CALL(*mockInstance, SendRequest(testing::_, testing::_, testing::_)) 506 EXPECT_CALL(*mockInstance, SendRequest(testing::_, testing::_, testing::_)) 530 EXPECT_CALL(*mockInstance, SendRequest(testing::_, testing::_, testing::_)) [all …]
|
H A D | UTTest_ipc_client_proxy.cpp | 85 EXPECT_CALL(*mockInstance, Init(testing::_)).Times(1).WillOnce(testing::Return(ERR_DM_FAILED)); 109 EXPECT_CALL(*mockInstance, Init(testing::_)).Times(1).WillOnce(testing::Return(DM_OK)); 133 …EXPECT_CALL(*mockInstance, Init(testing::_)).Times(1).WillOnce(testing::Return(ERR_DM_INIT_FAILED)… 157 …EXPECT_CALL(*mockInstance, Init(testing::_)).Times(1).WillOnce(testing::Return(ERR_DM_IPC_RESPOND_… 203 … EXPECT_CALL(*mockInstance, UnInit(testing::_)).Times(1).WillOnce(testing::Return(ERR_DM_FAILED)); 227 EXPECT_CALL(*mockInstance, UnInit(testing::_)).Times(1).WillOnce(testing::Return(DM_OK)); 251 …EXPECT_CALL(*mockInstance, UnInit(testing::_)).Times(1).WillOnce(testing::Return(ERR_DM_INIT_FAILE… 275 …EXPECT_CALL(*mockInstance, UnInit(testing::_)).Times(1).WillOnce(testing::Return(ERR_DM_IPC_RESPON… 377 EXPECT_CALL(*mockInstance, SendRequest(testing::_, testing::_, testing::_)) 405 EXPECT_CALL(*mockInstance, SendRequest(testing::_, testing::_, testing::_)) [all …]
|
/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/components/nn_backend/ |
H A D | nn_backend_test.cpp | 113 ….WillRepeatedly(::testing::DoAll(::testing::SetArgReferee<0>(backendName), ::testing::Return(OH_NN… 133 ….WillRepeatedly(::testing::DoAll(::testing::SetArgReferee<0>(backendName), ::testing::Return(OH_NN… 136 ….WillRepeatedly(::testing::DoAll(::testing::SetArgReferee<0>(backendName), ::testing::Return(OH_NN… 156 ….WillRepeatedly(::testing::DoAll(::testing::SetArgReferee<0>(backendName), ::testing::Return(OH_NN… 159 ….WillRepeatedly(::testing::DoAll(::testing::SetArgReferee<0>(backendName), ::testing::Return(OH_NN… 162 ….WillRepeatedly(::testing::DoAll(::testing::SetArgReferee<0>(backendName), ::testing::Return(OH_NN… 182 ….WillRepeatedly(::testing::DoAll(::testing::SetArgReferee<0>(backendName), ::testing::Return(OH_NN… 185 ….WillRepeatedly(::testing::DoAll(::testing::SetArgReferee<0>(backendName), ::testing::Return(OH_NN… 188 ….WillRepeatedly(::testing::DoAll(::testing::SetArgReferee<0>(backendName), ::testing::Return(OH_NN… 223 ….WillRepeatedly(::testing::DoAll(::testing::SetArgReferee<0>(backendName), ::testing::Return(OH_NN… [all …]
|
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/volume/test/ |
H A D | volume_info_test.cpp | 27 using namespace testing::ext; 51 EXPECT_CALL(mock, DoCreate(testing::_)).Times(1).WillOnce(testing::Return(E_OK)); 58 EXPECT_CALL(mock, DoCreate(testing::_)).Times(1).WillOnce(testing::Return(E_ERR)); 79 EXPECT_CALL(mock, DoCreate(testing::_)).Times(1).WillOnce(testing::Return(E_OK)); 104 EXPECT_CALL(mock, DoCreate(testing::_)).Times(1).WillOnce(testing::Return(E_OK)); 129 EXPECT_CALL(mock, DoCreate(testing::_)).Times(1).WillOnce(testing::Return(E_OK)); 131 EXPECT_CALL(mock, DoMount(testing::_)).Times(1).WillOnce(testing::Return(E_OK)); 132 EXPECT_CALL(mock, DoUMount(testing::_)).Times(1).WillOnce(testing::Return(E_OK)); 186 EXPECT_CALL(mock, DoCreate(testing::_)).Times(1).WillOnce(testing::Return(E_OK)); 219 EXPECT_CALL(mock, DoMount(testing::_)).Times(1).WillOnce(testing::Return(E_OK)); [all …]
|
/ohos5.0/base/account/os_account/services/accountmgr/test/unittest/os_account/ |
H A D | os_account_inner_account_mgr_mock.cpp | 54 using ::testing::_; 56 using ::testing::DoAll; 57 using ::testing::Eq; 58 using ::testing::Return; 60 using ::testing::StrEq; 147 testing::UnitTest *test = testing::UnitTest::GetInstance(); in SetUp() 948 EXPECT_CALL(*ptr, UpdateBaseOAConstraints(::testing::_, ::testing::_, ::testing::_)) 953 EXPECT_CALL(*ptr, UpdateBaseOAConstraints(::testing::_, ::testing::_, ::testing::_)) 1050 EXPECT_CALL(*ptr, UpdateBaseOAConstraints(::testing::_, ::testing::_, ::testing::_)) 1095 EXPECT_CALL(*ptr, UpdateBaseOAConstraints(::testing::_, ::testing::_, ::testing::_)) [all …]
|
/ohos5.0/foundation/ability/ability_runtime/test/unittest/lifecycle_deal_test/ |
H A D | lifecycle_deal_test.cpp | 22 using namespace testing::ext; 26 class LifecycleDealTest : public testing::Test { 61 …PECT_CALL(*abilityScheduler_, ScheduleAbilityTransaction(::testing::_, ::testing::_, ::testing::_)) 63 .WillOnce(testing::DoAll(testing::SaveArg<1>(&val), testing::Return(true))); 93 …PECT_CALL(*abilityScheduler_, ScheduleAbilityTransaction(::testing::_, ::testing::_, ::testing::_)) 95 .WillOnce(testing::DoAll(testing::SaveArg<1>(&val), testing::Return(true))); 125 …PECT_CALL(*abilityScheduler_, ScheduleAbilityTransaction(::testing::_, ::testing::_, ::testing::_)) 127 .WillOnce(testing::DoAll(testing::SaveArg<1>(&val), testing::Return(true))); 191 …PECT_CALL(*abilityScheduler_, ScheduleAbilityTransaction(::testing::_, ::testing::_, ::testing::_)) 217 …EXPECT_CALL(*abilityScheduler_, ScheduleCommandAbility(::testing::_, ::testing::_, ::testing::_)).… [all …]
|
/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/components/v1_0/hdi_device/ |
H A D | hdi_device_test.cpp | 104 EXPECT_CALL(*sp, AllocateBuffer(::testing::_, ::testing::_)) in PrepareModel() 105 ….WillRepeatedly(::testing::DoAll(::testing::SetArgReferee<1>(buffer), ::testing::Return(allocBuffe… in PrepareModel() 111 EXPECT_CALL(*sp, PrepareModel(::testing::_, ::testing::_, ::testing::_)) in PrepareModel() 487 ….WillRepeatedly(::testing::DoAll(::testing::SetArgReferee<1>(ops), ::testing::Return(HDF_SUCCESS))… 555 ….WillRepeatedly(::testing::DoAll(::testing::SetArgReferee<1>(ops), ::testing::Return(HDF_FAILURE))… 861 EXPECT_CALL(*sp, PrepareModelFromModelCache(::testing::_, ::testing::_, ::testing::_)) 898 EXPECT_CALL(*sp, PrepareModelFromModelCache(::testing::_, ::testing::_, ::testing::_)) 955 EXPECT_CALL(*sp, PrepareModelFromModelCache(::testing::_, ::testing::_, ::testing::_)) 993 EXPECT_CALL(*sp, PrepareModelFromModelCache(::testing::_, ::testing::_, ::testing::_)) 1031 EXPECT_CALL(*sp, PrepareModelFromModelCache(::testing::_, ::testing::_, ::testing::_)) [all …]
|
/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/components/v2_0/hdi_device/ |
H A D | hdi_device_test.cpp | 200 EXPECT_CALL(*sp, PrepareModel(::testing::_, ::testing::_, ::testing::_)) in PrepareModel() 226 EXPECT_CALL(*sp, PrepareModel(::testing::_, ::testing::_, ::testing::_)) in PrepareModelv2() 1003 EXPECT_CALL(*sp, PrepareModelFromModelCache(::testing::_, ::testing::_, ::testing::_)) 1040 EXPECT_CALL(*sp, PrepareModelFromModelCache(::testing::_, ::testing::_, ::testing::_)) 1097 EXPECT_CALL(*sp, PrepareModelFromModelCache(::testing::_, ::testing::_, ::testing::_)) 1135 EXPECT_CALL(*sp, PrepareModelFromModelCache(::testing::_, ::testing::_, ::testing::_)) 1173 EXPECT_CALL(*sp, PrepareModelFromModelCache(::testing::_, ::testing::_, ::testing::_)) 1210 EXPECT_CALL(*sp, PrepareModelFromModelCache(::testing::_, ::testing::_, ::testing::_)) 2375 EXPECT_CALL(*sp, PrepareModelFromModelCache(::testing::_, ::testing::_, ::testing::_)) 2412 EXPECT_CALL(*sp, PrepareModelFromModelCache(::testing::_, ::testing::_, ::testing::_)) [all …]
|
/ohos5.0/foundation/arkui/ace_engine/adapter/ohos/services/uiservice/test/unittest/phone/ui_service_mgr_client_test/ |
H A D | ui_service_mgr_client_test.cpp | 26 using namespace testing::ext; 27 using namespace testing; 31 class UIServiceMgrClientTest : public testing::Test { 64 RegisterCallBackCall(testing::_, testing::_)) 69 testing::Mock::AllowLeak(UIServiceMgrClient::GetInstance()->remoteObject_); 84 UnregisterCallBackCall(testing::_)) 89 testing::Mock::AllowLeak(UIServiceMgrClient::GetInstance()->remoteObject_); 106 PushCall(testing::_, testing::_, testing::_, testing::_, testing::_)) 115 testing::Mock::AllowLeak(UIServiceMgrClient::GetInstance()->remoteObject_); 132 RequestCall(testing::_, testing::_, testing::_)) [all …]
|
/ohos5.0/foundation/multimedia/av_session/services/session/server/test/ |
H A D | avsession_callback_proxy_test.cpp | 26 class AVSessionCallbackProxyTest : public testing::Test { 68 static HWTEST_F(AVSessionCallbackProxyTest, OnAVCallAnswer001, testing::ext::TestSize.Level1) 80 static HWTEST_F(AVSessionCallbackProxyTest, OnAVCallHangUp001, testing::ext::TestSize.Level1) 104 static HWTEST_F(AVSessionCallbackProxyTest, OnPlay001, testing::ext::TestSize.Level1) 116 static HWTEST_F(AVSessionCallbackProxyTest, OnPause001, testing::ext::TestSize.Level1) 128 static HWTEST_F(AVSessionCallbackProxyTest, OnStop001, testing::ext::TestSize.Level1) 140 static HWTEST_F(AVSessionCallbackProxyTest, OnPlayNext001, testing::ext::TestSize.Level1) 164 static HWTEST_F(AVSessionCallbackProxyTest, OnFastForward001, testing::ext::TestSize.Level1) 177 static HWTEST_F(AVSessionCallbackProxyTest, OnRewind001, testing::ext::TestSize.Level1) 190 static HWTEST_F(AVSessionCallbackProxyTest, OnSeek001, testing::ext::TestSize.Level1) [all …]
|
H A D | avsession_controller_proxy_test.cpp | 66 class AVSessionControllerProxyTest : public testing::Test { 119 static HWTEST_F(AVSessionControllerProxyTest, GetAVCallState001, testing::ext::TestSize.Level1) 161 static HWTEST_F(AVSessionControllerProxyTest, GetAVMetaData001, testing::ext::TestSize.Level1) 175 static HWTEST_F(AVSessionControllerProxyTest, SendAVKeyEvent001, testing::ext::TestSize.Level1) 316 static HWTEST_F(AVSessionControllerProxyTest, SetMetaFilter001, testing::ext::TestSize.Level1) 386 static HWTEST_F(AVSessionControllerProxyTest, GetExtras001, testing::ext::TestSize.Level1) 400 static HWTEST_F(AVSessionControllerProxyTest, GetSessionId001, testing::ext::TestSize.Level1) 426 static HWTEST_F(AVSessionControllerProxyTest, IsDestroy001, testing::ext::TestSize.Level1) 439 static HWTEST_F(AVSessionControllerProxyTest, Destroy001, testing::ext::TestSize.Level1) 452 static HWTEST_F(AVSessionControllerProxyTest, IsDestroy002, testing::ext::TestSize.Level1) [all …]
|
/ohos5.0/base/request/request/test/unittest/cpp_test/fwkTest/src/ |
H A D | request_manager_impl_test.cpp | 34 using namespace testing::ext; 91 testing::UnitTest *test = testing::UnitTest::GetInstance(); in SetUp() 127 EXPECT_CALL(*exceptProxy, Subscribe(testing::_)).WillOnce(testing::Return(E_OK)); 147 …EXPECT_CALL(*exceptProxy, GetTask(tid, token, testing::_)).WillOnce(testing::Return(E_CHANNEL_NOT_… 187 EXPECT_CALL(*exceptProxy, Query(tid, testing::_)).WillOnce(testing::Return(E_CHANNEL_NOT_OPEN)); 202 …EXPECT_CALL(*exceptProxy, Touch(tid, token, testing::_)).WillOnce(testing::Return(E_CHANNEL_NOT_OP… 216 … EXPECT_CALL(*exceptProxy, Search(testing::_, tids)).WillOnce(testing::Return(E_CHANNEL_NOT_OPEN)); 230 EXPECT_CALL(*exceptProxy, Show(tid, testing::_)).WillOnce(testing::Return(E_CHANNEL_NOT_OPEN)); 297 … EXPECT_CALL(*exceptProxy, OpenChannel(testing::_)).WillOnce(testing::Return(E_CHANNEL_NOT_OPEN)); 326 … EXPECT_CALL(*exceptProxy, SubRunCount(testing::_)).WillOnce(testing::Return(E_CHANNEL_NOT_OPEN)); [all …]
|
/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/components/v1_0/neural_network_core_test/ |
H A D | neural_network_core_test.cpp | 168 ….WillRepeatedly(::testing::DoAll(::testing::SetArgReferee<0>(backendName), ::testing::Return(OH_NN… in Creator4() 171 ….WillRepeatedly(::testing::DoAll(::testing::SetArgReferee<0>(backendName), ::testing::Return(OH_NN… in Creator4() 174 ….WillRepeatedly(::testing::DoAll(::testing::SetArgReferee<0>(backendName), ::testing::Return(OH_NN… in Creator4() 176 EXPECT_CALL(*((MockIDevice *) device.get()), AllocateBuffer(::testing::_, ::testing::_)) in Creator4() 185 testing::Mock::AllowLeak(device.get()); in Creator4() 563 testing::Mock::AllowLeak(device.get()); 1534 testing::Mock::AllowLeak(device.get()); 1561 testing::Mock::AllowLeak(device.get()); 1588 testing::Mock::AllowLeak(device.get()); 1617 testing::Mock::AllowLeak(device.get()); [all …]
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/composer/hdi_backend/test/unittest/ |
H A D | hdilayer_test.cpp | 21 using namespace testing; 22 using namespace testing::ext; 29 class HdiLayerTest : public testing::Test { 66 EXPECT_CALL(*hdiDeviceMock_, SetLayerAlpha(_, _, _)).WillRepeatedly(testing::Return(0)); in SetUpTestCase() 67 EXPECT_CALL(*hdiDeviceMock_, SetLayerSize(_, _, _)).WillRepeatedly(testing::Return(0)); in SetUpTestCase() 68 EXPECT_CALL(*hdiDeviceMock_, SetTransformMode(_, _, _)).WillRepeatedly(testing::Return(0)); in SetUpTestCase() 71 EXPECT_CALL(*hdiDeviceMock_, SetLayerBuffer(_, _, _)).WillRepeatedly(testing::Return(0)); in SetUpTestCase() 74 EXPECT_CALL(*hdiDeviceMock_, SetLayerCrop(_, _, _)).WillRepeatedly(testing::Return(0)); in SetUpTestCase() 75 EXPECT_CALL(*hdiDeviceMock_, SetLayerZorder(_, _, _)).WillRepeatedly(testing::Return(0)); in SetUpTestCase() 122 EXPECT_CALL(*hdiDeviceMock_, CreateLayer(_, _, _, _)).WillRepeatedly(testing::Return(1)); [all …]
|
/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/components/v1_0/neural_network_runtime_test/ |
H A D | neural_network_runtime_test.cpp | 1291 …L(*((MockIPreparedModel *) mockIPreparedMode.get()), GetInputDimRanges(::testing::_, ::testing::_)) 1323 …L(*((MockIPreparedModel *) mockIPreparedMode.get()), GetInputDimRanges(::testing::_, ::testing::_)) 1353 …L(*((MockIPreparedModel *) mockIPreparedMode.get()), GetInputDimRanges(::testing::_, ::testing::_)) 1383 …L(*((MockIPreparedModel *) mockIPreparedMode.get()), GetInputDimRanges(::testing::_, ::testing::_)) 1491 …L(*((MockIPreparedModel *) mockIPreparedMode.get()), GetInputDimRanges(::testing::_, ::testing::_)) 1518 …L(*((MockIPreparedModel *) mockIPreparedMode.get()), GetInputDimRanges(::testing::_, ::testing::_)) 1544 …L(*((MockIPreparedModel *) mockIPreparedMode.get()), GetInputDimRanges(::testing::_, ::testing::_)) 1705 …L(*((MockIPreparedModel *) mockIPreparedMode.get()), GetInputDimRanges(::testing::_, ::testing::_)) 1810 …L(*((MockIPreparedModel *) mockIPreparedMode.get()), GetInputDimRanges(::testing::_, ::testing::_)) 1884 …L(*((MockIPreparedModel *) mockIPreparedMode.get()), GetInputDimRanges(::testing::_, ::testing::_)) [all …]
|
/ohos5.0/base/web/webview/test/unittest/ohos_adapter/media_adapter_test/ |
H A D | media_avsession_adapter_impl_test.cpp | 23 using namespace testing; 24 using namespace testing::ext; 741 ::testing::Return(temp2)); 750 ::testing::Return(temp1)); 752 ::testing::Return(temp1)); 754 ::testing::Return(temp1)); 761 ::testing::Return(temp2)); 958 ::testing::Return(temp1)); 960 ::testing::Return(temp1)); 962 ::testing::Return(temp2)); [all …]
|