Home
last modified time | relevance | path

Searched refs:Times (Results 1 - 25 of 347) sorted by relevance

12345678910>>...14

/foundation/multimedia/av_codec/test/unittest/sa_avcodec_test/
H A Dsa_avcodec_unit_test.cpp95 EXPECT_CALL(*saMock_, SystemAbilityCtor(AV_CODEC_SERVICE_ID, true)).Times(1); in CreateCodecServiceStub()
96 EXPECT_CALL(*saMock_, SystemAbilityDtor()).Times(1); in CreateCodecServiceStub()
97 EXPECT_CALL(*avcodecStubMock_, AVCodecServiceStubCtor()).Times(1); in CreateCodecServiceStub()
98 EXPECT_CALL(*avcodecStubMock_, AVCodecServiceStubDtor()).Times(1); in CreateCodecServiceStub()
99 EXPECT_CALL(*avcodecStubMock_, SetDeathListener(listener)).Times(1).WillOnce(Return(AVCS_ERR_OK)); in CreateCodecServiceStub()
100 EXPECT_CALL(*codecStubMock_, Create()).Times(AtLeast(1)).WillOnce(Return(new CodecServiceStub())); in CreateCodecServiceStub()
101 EXPECT_CALL(*codecStubMock_, CodecServiceStubDtor()).Times(AtLeast(1)); in CreateCodecServiceStub()
118 EXPECT_CALL(*saMock_, SystemAbilityCtor(AV_CODEC_SERVICE_ID, true)).Times(1); in HWTEST_F()
119 EXPECT_CALL(*saMock_, SystemAbilityDtor()).Times(1); in HWTEST_F()
120 EXPECT_CALL(*avcodecStubMock_, AVCodecServiceStubCtor()).Times( in HWTEST_F()
[all...]
/foundation/bundlemanager/app_domain_verify/test/unittest/frameworks_common/httpsession_test/
H A Dapp_domain_verify_task_mgr_test.cpp83 EXPECT_CALL(*task, CreateHttpClientTask()).Times(1).WillOnce(Return(nullptr)); in HWTEST_F()
84 EXPECT_CALL(*task, OnSuccess(_, _)).Times(0); in HWTEST_F()
85 EXPECT_CALL(*task, OnCancel(_, _)).Times(0); in HWTEST_F()
86 EXPECT_CALL(*task, OnFail(_, _, _)).Times(1); in HWTEST_F()
87 EXPECT_CALL(*task, OnDataReceive(_, _, _, _)).Times(0); in HWTEST_F()
110 EXPECT_CALL(*task, CreateHttpClientTask()).Times(1).WillOnce(Return(clientTask)); in HWTEST_F()
111 EXPECT_CALL(*task, OnSuccess(_, _)).Times(1); in HWTEST_F()
112 EXPECT_CALL(*task, OnCancel(_, _)).Times(0); in HWTEST_F()
113 EXPECT_CALL(*task, OnFail(_, _, _)).Times(0); in HWTEST_F()
114 EXPECT_CALL(*task, OnDataReceive(_, _, _, _)).Times( in HWTEST_F()
[all...]
/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_manage/wifi_sta/
H A Dsta_saved_device_appraisal_test.cpp53 EXPECT_CALL(WifiSettings::GetInstance(), GetScoretacticsScoreSlope(_)).Times(AtLeast(0)); in SetUp()
54 EXPECT_CALL(WifiSettings::GetInstance(), GetScoretacticsInitScore(_)).Times(AtLeast(0)); in SetUp()
55 EXPECT_CALL(WifiSettings::GetInstance(), GetScoretacticsSameBssidScore(_)).Times(AtLeast(0)); in SetUp()
56 EXPECT_CALL(WifiSettings::GetInstance(), GetScoretacticsSameNetworkScore(_)).Times(AtLeast(0)); in SetUp()
57 EXPECT_CALL(WifiSettings::GetInstance(), GetScoretacticsFrequency5GHzScore(_)).Times(AtLeast(0)); in SetUp()
58 EXPECT_CALL(WifiSettings::GetInstance(), GetScoretacticsLastSelectionScore(_)).Times(AtLeast(0)); in SetUp()
59 EXPECT_CALL(WifiSettings::GetInstance(), GetScoretacticsSecurityScore(_)).Times(AtLeast(0)); in SetUp()
60 EXPECT_CALL(WifiSettings::GetInstance(), GetScoretacticsNormalScore(_)).Times(AtLeast(0)); in SetUp()
142 EXPECT_CALL(WifiSettings::GetInstance(), GetSignalLevel(_, _, _)).Times(AtLeast(0)); in SaveNetworkEvaluatorSuccess1()
143 EXPECT_CALL(WifiConfigCenter::GetInstance(), GetUserLastSelectedNetworkId(_)).Times(AtLeas in SaveNetworkEvaluatorSuccess1()
[all...]
H A Dsta_state_machine_test.cpp74 EXPECT_CALL(WifiConfigCenter::GetInstance(), GetLinkedInfo(_, _)).Times(testing::AtLeast(0)); in SetUp()
75 EXPECT_CALL(WifiConfigCenter::GetInstance(), SaveIpInfo(_, _)).Times(AtLeast(0)); in SetUp()
76 EXPECT_CALL(WifiConfigCenter::GetInstance(), SaveLinkedInfo(_, _)).Times(testing::AtLeast(0)); in SetUp()
77 EXPECT_CALL(WifiConfigCenter::GetInstance(), SaveDisconnectedReason(_, _)).Times(testing::AtLeast(0)); in SetUp()
102 EXPECT_CALL(WifiManager::GetInstance(), DealStaConnChanged(_, _, _)).Times(testing::AtLeast(1)); in DealConnectTimeOutCmd()
143 EXPECT_CALL(WifiManager::GetInstance(), DealStaOpenRes(_, _)).Times(testing::AtLeast(0)); in InitStateExeMsgSuccess()
144 EXPECT_CALL(WifiConfigCenter::GetInstance(), SaveLinkedInfo(_, _)).Times(testing::AtLeast(0)); in InitStateExeMsgSuccess()
145 EXPECT_CALL(WifiSettings::GetInstance(), ReloadDeviceConfig()).Times(testing::AtLeast(0)); in InitStateExeMsgSuccess()
146 EXPECT_CALL(WifiSettings::GetInstance(), GetDeviceConfig(_, _)).Times(testing::AtLeast(0)); in InitStateExeMsgSuccess()
147 EXPECT_CALL(WifiConfigCenter::GetInstance(), SetMacAddress(_, _)).Times(testin in InitStateExeMsgSuccess()
[all...]
H A Dsta_service_test.cpp146 EXPECT_CALL(WifiSettings::GetInstance(), GetScoretacticsScoreSlope(_)).Times(AtLeast(0)); in StaServiceInitStaServiceSuccess()
147 EXPECT_CALL(WifiSettings::GetInstance(), GetScoretacticsInitScore(_)).Times(AtLeast(0)); in StaServiceInitStaServiceSuccess()
148 EXPECT_CALL(WifiSettings::GetInstance(), GetScoretacticsSameBssidScore(_)).Times(AtLeast(0)); in StaServiceInitStaServiceSuccess()
149 EXPECT_CALL(WifiSettings::GetInstance(), GetScoretacticsSameNetworkScore(_)).Times(AtLeast(0)); in StaServiceInitStaServiceSuccess()
150 EXPECT_CALL(WifiSettings::GetInstance(), GetScoretacticsFrequency5GHzScore(_)).Times(AtLeast(0)); in StaServiceInitStaServiceSuccess()
151 EXPECT_CALL(WifiSettings::GetInstance(), GetScoretacticsLastSelectionScore(_)).Times(AtLeast(0)); in StaServiceInitStaServiceSuccess()
152 EXPECT_CALL(WifiSettings::GetInstance(), GetScoretacticsSecurityScore(_)).Times(AtLeast(0)); in StaServiceInitStaServiceSuccess()
153 EXPECT_CALL(WifiSettings::GetInstance(), GetSavedDeviceAppraisalPriority(_)).Times(AtLeast(0)); in StaServiceInitStaServiceSuccess()
154 EXPECT_CALL(WifiSettings::GetInstance(), GetExternDeviceAppraisalPriority()).Times(AtLeast(0)); in StaServiceInitStaServiceSuccess()
155 EXPECT_CALL(WifiSettings::GetInstance(), ReloadDeviceConfig()).Times(AtLeas in StaServiceInitStaServiceSuccess()
[all...]
/foundation/filemanagement/storage_service/services/storage_daemon/volume/test/
H A Dvolume_info_test.cpp51 EXPECT_CALL(mock, DoCreate(testing::_)).Times(1).WillOnce(testing::Return(E_OK)); in HWTEST_F()
58 EXPECT_CALL(mock, DoCreate(testing::_)).Times(1).WillOnce(testing::Return(E_ERR)); in HWTEST_F()
79 EXPECT_CALL(mock, DoCreate(testing::_)).Times(1).WillOnce(testing::Return(E_OK)); in HWTEST_F()
83 EXPECT_CALL(mock, DoDestroy()).Times(1).WillOnce(testing::Return(E_OK)); in HWTEST_F()
104 EXPECT_CALL(mock, DoCreate(testing::_)).Times(1).WillOnce(testing::Return(E_OK)); in HWTEST_F()
108 EXPECT_CALL(mock, DoDestroy()).Times(1).WillOnce(testing::Return(E_ERR)); in HWTEST_F()
129 EXPECT_CALL(mock, DoCreate(testing::_)).Times(1).WillOnce(testing::Return(E_OK)); in HWTEST_F()
130 EXPECT_CALL(mock, DoCheck()).Times(1).WillOnce(testing::Return(E_OK)); in HWTEST_F()
131 EXPECT_CALL(mock, DoMount(testing::_)).Times(1).WillOnce(testing::Return(E_OK)); in HWTEST_F()
132 EXPECT_CALL(mock, DoUMount(testing::_)).Times( in HWTEST_F()
[all...]
/foundation/bundlemanager/app_domain_verify/test/unittest/extension/app_domain_verify_extension_mgr_test/
H A Dapp_domain_verify_extension_mgr_test.cpp74 EXPECT_CALL(appDomainVerifyExtensionMgr, Init()).Times(1).WillOnce(Return(false)); in HWTEST_F()
89 EXPECT_CALL(appDomainVerifyExtensionMgr, Init()).Times(1).WillOnce(Return(true)); in HWTEST_F()
91 .Times(1) in HWTEST_F()
109 EXPECT_CALL(appDomainVerifyExtensionMgr, Init()).Times(1).WillOnce(Return(true)); in HWTEST_F()
111 .Times(1) in HWTEST_F()
130 EXPECT_CALL(appDomainVerifyExtensionMgr, Init()).Times(1).WillOnce(Return(false)); in HWTEST_F()
146 EXPECT_CALL(appDomainVerifyExtensionMgr, Init()).Times(1).WillOnce(Return(true)); in HWTEST_F()
148 .Times(1) in HWTEST_F()
167 EXPECT_CALL(appDomainVerifyExtensionMgr, Init()).Times(1).WillOnce(Return(true)); in HWTEST_F()
169 .Times( in HWTEST_F()
[all...]
/foundation/window/window_manager/dm/test/unittest/
H A Ddisplay_power_unit_test.cpp80 .Times(1).WillOnce(Return(DMError::DM_OK)); in HWTEST_F()
85 .Times(1).WillOnce(Return(DMError::DM_OK)); in HWTEST_F()
99 .Times(0); in HWTEST_F()
104 .Times(0); in HWTEST_F()
118 .Times(1).WillOnce(Return(DMError::DM_ERROR_NULLPTR)); in HWTEST_F()
123 .Times(0); in HWTEST_F()
137 .Times(0); in HWTEST_F()
151 .Times(0); in HWTEST_F()
164 EXPECT_CALL(m.Mock(), WakeUpBegin(PowerStateChangeReason::POWER_BUTTON)).Times(1).WillOnce(Return(true));; in HWTEST_F()
168 EXPECT_CALL(m.Mock(), WakeUpBegin(PowerStateChangeReason::POWER_BUTTON)).Times( in HWTEST_F()
[all...]
H A Dscreen_test.cpp95 EXPECT_CALL(m->Mock(), SetScreenActiveMode(_, _)).Times(1).WillOnce(Return(DMError::DM_OK)); in HWTEST_F()
110 EXPECT_CALL(m->Mock(), SetScreenActiveMode(_, _)).Times(1).WillOnce(Return(DMError::DM_ERROR_NULLPTR)); in HWTEST_F()
123 EXPECT_CALL(m->Mock(), GetScreenSupportedColorGamuts(_, _)).Times(1).WillOnce(Return(DMError::DM_OK)); in HWTEST_F()
137 EXPECT_CALL(m->Mock(), GetScreenColorGamut(_, _)).Times(1).WillOnce(Return(DMError::DM_OK)); in HWTEST_F()
151 EXPECT_CALL(m->Mock(), SetScreenColorGamut(_, _)).Times(1).WillOnce(Return(DMError::DM_OK)); in HWTEST_F()
165 EXPECT_CALL(m->Mock(), GetScreenGamutMap(_, _)).Times(1).WillOnce(Return(DMError::DM_OK)); in HWTEST_F()
179 EXPECT_CALL(m->Mock(), SetScreenGamutMap(_, _)).Times(1).WillOnce(Return(DMError::DM_OK)); in HWTEST_F()
193 EXPECT_CALL(m->Mock(), SetScreenColorTransform(_)).Times(1).WillOnce(Return(DMError::DM_OK)); in HWTEST_F()
208 EXPECT_CALL(m->Mock(), GetScreenInfo(_)).Times(1).WillOnce(Return(screenInfo)); in HWTEST_F()
211 EXPECT_CALL(m->Mock(), GetScreenInfo(_)).Times( in HWTEST_F()
[all...]
/foundation/communication/dsoftbus/tests/core/adapter/unittest/
H A Dlnn_ohos_account_adapter_test.cpp76 EXPECT_CALL(mock, IsSameAccountGroupDevice()).Times(1).WillOnce(testing::Return(false)); in HWTEST_F()
94 EXPECT_CALL(mock, IsSameAccountGroupDevice()).Times(1).WillOnce(testing::Return(true)); in HWTEST_F()
95 EXPECT_CALL(mock, QueryOhosAccountInfo()).Times(1).WillOnce(testing::Return(oh_acc_info_pair)); in HWTEST_F()
114 EXPECT_CALL(mock, IsSameAccountGroupDevice()).Times(1).WillOnce(testing::Return(true)); in HWTEST_F()
115 EXPECT_CALL(mock, QueryOhosAccountInfo()).Times(1).WillOnce(testing::Return(oh_acc_info_pair)); in HWTEST_F()
132 EXPECT_CALL(mock, IsSameAccountGroupDevice()).Times(1).WillOnce(testing::Return(false)); in HWTEST_F()
148 EXPECT_CALL(mock, IsSameAccountGroupDevice()).Times(1).WillOnce(testing::Return(true)); in HWTEST_F()
149 EXPECT_CALL(mock, QueryOhosAccountInfo()).Times(1).WillOnce(testing::Return(oh_acc_info_pair)); in HWTEST_F()
166 EXPECT_CALL(mock, IsSameAccountGroupDevice()).Times(1).WillOnce(testing::Return(true)); in HWTEST_F()
167 EXPECT_CALL(mock, QueryOhosAccountInfo()).Times( in HWTEST_F()
[all...]
/foundation/window/window_manager/wm/test/unittest/
H A Dwindow_impl_test.cpp74 EXPECT_CALL(m->Mock(), CreateWindow(_, _, _, _, _)).Times(1).WillOnce(Return(WMError::WM_OK)); in CreateStretchableWindow()
77 EXPECT_CALL(m->Mock(), AddWindow(_)).Times(1).WillOnce(Return(WMError::WM_OK)); in CreateStretchableWindow()
97 EXPECT_CALL(m->Mock(), CreateWindow(_, _, _, _, _)).Times(1).WillOnce(Return(WMError::WM_OK)); in HWTEST_F()
100 EXPECT_CALL(m->Mock(), DestroyWindow(_)).Times(1).WillOnce(Return(WMError::WM_OK)); in HWTEST_F()
117 EXPECT_CALL(m->Mock(), CreateWindow(_, _, _, _, _)).Times(1).WillOnce(Return(WMError::WM_ERROR_SAMGR)); in HWTEST_F()
148 EXPECT_CALL(m->Mock(), CreateWindow(_, _, _, _, _)).Times(1).WillOnce(Return(WMError::WM_OK)); in HWTEST_F()
156 EXPECT_CALL(m->Mock(), DestroyWindow(_)).Times(1).WillOnce(Return(WMError::WM_OK)); in HWTEST_F()
174 EXPECT_CALL(m->Mock(), CreateWindow(_, _, _, _, _)).Times(1).WillOnce(Return(WMError::WM_OK)); in HWTEST_F()
182 EXPECT_CALL(m->Mock(), CreateWindow(_, _, _, _, _)).Times(1).WillOnce(Return(WMError::WM_OK)); in HWTEST_F()
185 EXPECT_CALL(m->Mock(), DestroyWindow(_)).Times( in HWTEST_F()
[all...]
H A Dwindow_impl_test2.cpp79 EXPECT_CALL(m->Mock(), CreateWindow(_, _, _, _, _)).Times(1).WillOnce(Return(WMError::WM_OK)); in CreateStretchableWindow()
82 EXPECT_CALL(m->Mock(), AddWindow(_)).Times(1).WillOnce(Return(WMError::WM_OK)); in CreateStretchableWindow()
105 EXPECT_CALL(m->Mock(), CreateWindow(_, _, _, _, _)).Times(1).WillOnce(Return(WMError::WM_OK)); in HWTEST_F()
119 EXPECT_CALL(m->Mock(), DestroyWindow(_)).Times(1).WillOnce(Return(WMError::WM_OK)); in HWTEST_F()
138 EXPECT_CALL(m->Mock(), CreateWindow(_, _, _, _, _)).Times(1).WillOnce(Return(WMError::WM_OK)); in HWTEST_F()
140 EXPECT_CALL(m->Mock(), AddWindow(_)).Times(1).WillOnce(Return(WMError::WM_OK)); in HWTEST_F()
143 EXPECT_CALL(m->Mock(), UpdateProperty(_, _)).Times(2).WillOnce(Return(WMError::WM_OK)) in HWTEST_F()
150 EXPECT_CALL(m->Mock(), DestroyWindow(_)).Times(1).WillOnce(Return(WMError::WM_OK)); in HWTEST_F()
169 EXPECT_CALL(m->Mock(), CreateWindow(_, _, _, _, _)).Times(1).WillOnce(Return(WMError::WM_OK)); in HWTEST_F()
182 EXPECT_CALL(m->Mock(), DestroyWindow(_)).Times( in HWTEST_F()
[all...]
/foundation/filemanagement/storage_service/services/storage_manager/ipc/test/
H A Dstorage_manager_proxy_test.cpp61 .Times(1) in HWTEST_F()
71 .Times(1) in HWTEST_F()
92 .Times(1) in HWTEST_F()
102 .Times(1) in HWTEST_F()
123 .Times(1) in HWTEST_F()
132 .Times(1) in HWTEST_F()
153 .Times(1) in HWTEST_F()
162 .Times(1) in HWTEST_F()
183 .Times(1) in HWTEST_F()
192 .Times( in HWTEST_F()
[all...]
/foundation/multimedia/av_codec/test/unittest/video_test/vcodec_server_test/
H A Dcodec_server_coverage_unit_test.cpp29 EXPECT_CALL(*codecBaseMock_, GetHCapabilityList).Times(AtLeast(1)).WillRepeatedly
31 EXPECT_CALL(*codecBaseMock_, GetFCapabilityList).Times(AtLeast(1)).WillRepeatedly
44 EXPECT_CALL(*codecBaseMock_, Init).Times(1).WillOnce(Return(AVCS_ERR_OK)); in CreateFCodecByName()
47 EXPECT_CALL(*codecBaseMock_, CodecBaseCtor()).Times(1); in CreateFCodecByName()
49 .Times(1) in CreateFCodecByName()
52 .Times(1) in CreateFCodecByName()
55 .Times(1) in CreateFCodecByName()
67 EXPECT_CALL(*codecBaseMock_, Init).Times(1).WillOnce(Return(AVCS_ERR_OK)); in CreateFCodecByMime()
70 EXPECT_CALL(*codecBaseMock_, CodecBaseCtor()).Times(1); in CreateFCodecByMime()
72 .Times( in CreateFCodecByMime()
[all...]
/foundation/ability/form_fwk/test/unittest/fms_form_rdb_data_mgr_test/
H A Dfms_form_rdb_data_mgr_test.cpp468 EXPECT_CALL(*rdbStoreMock_, ExecuteSql(_, _)).Times(1).WillOnce(Return(E_OK)); in HWTEST_F()
469 EXPECT_CALL(*rdbStoreMock_, IsSlaveDiffFromMaster()).Times(1).WillOnce(Return(false)); in HWTEST_F()
470 EXPECT_CALL(*rdbStoreMock_, Backup(_, _)).Times(0); in HWTEST_F()
474 EXPECT_CALL(*rdbStoreMock_, ExecuteSql(_, _)).Times(1).WillOnce(Return(E_OK)); in HWTEST_F()
475 EXPECT_CALL(*rdbStoreMock_, IsSlaveDiffFromMaster()).Times(1).WillOnce(Return(true)); in HWTEST_F()
476 EXPECT_CALL(*rdbStoreMock_, Backup(_, _)).Times(1).WillOnce(Return(E_OK)); in HWTEST_F()
481 EXPECT_CALL(*rdbStoreMock_, ExecuteSql(_, _)).Times(1).WillOnce(Return(E_SQLITE_CORRUPT)); in HWTEST_F()
482 EXPECT_CALL(*rdbStoreMock_, Restore(_, _)).Times(1).WillOnce(Return(E_OK)); in HWTEST_F()
509 EXPECT_CALL(*rdbStoreMock_, InsertWithConflictResolution(_, _, _, _)).Times(1).WillOnce(Return(E_OK)); in HWTEST_F()
510 EXPECT_CALL(*rdbStoreMock_, IsSlaveDiffFromMaster()).Times( in HWTEST_F()
[all...]
/foundation/arkui/ace_engine/test/unittest/core/pattern/loading_progress/
H A Dloading_progress_test_ng.cpp236 EXPECT_CALL(rsCanvas, Save()).Times(0); in HWTEST_F()
237 EXPECT_CALL(rsCanvas, Translate(_, _)).Times(0); in HWTEST_F()
238 EXPECT_CALL(rsCanvas, AttachBrush(_)).Times(0); in HWTEST_F()
239 EXPECT_CALL(rsCanvas, DetachBrush()).Times(0); in HWTEST_F()
240 EXPECT_CALL(rsCanvas, AttachPen(_)).Times(0); in HWTEST_F()
241 EXPECT_CALL(rsCanvas, DrawCircle(_, _)).Times(0); in HWTEST_F()
242 EXPECT_CALL(rsCanvas, DetachPen()).Times(0); in HWTEST_F()
243 EXPECT_CALL(rsCanvas, Restore()).Times(0); in HWTEST_F()
415 EXPECT_CALL(rsCanvas, Save()).Times(1); in HWTEST_F()
417 EXPECT_CALL(rsCanvas, DrawCircle(_, _)).Times( in HWTEST_F()
[all...]
/foundation/window/window_manager/dm_lite/test/unittest/
H A Ddisplay_lite_power_unit_test.cpp71 EXPECT_CALL(m.Mock(), WakeUpBegin(PowerStateChangeReason::POWER_BUTTON)).Times(1).WillOnce(Return(true));; in HWTEST_F()
75 EXPECT_CALL(m.Mock(), WakeUpBegin(PowerStateChangeReason::POWER_BUTTON)).Times(1).WillOnce(Return(false));; in HWTEST_F()
88 EXPECT_CALL(m.Mock(), WakeUpEnd()).Times(1).WillOnce(Return(true)); in HWTEST_F()
92 EXPECT_CALL(m.Mock(), WakeUpEnd()).Times(1).WillOnce(Return(false)); in HWTEST_F()
105 EXPECT_CALL(m.Mock(), SuspendBegin(PowerStateChangeReason::POWER_BUTTON)).Times(1).WillOnce(Return(true));; in HWTEST_F()
109 EXPECT_CALL(m.Mock(), SuspendBegin(PowerStateChangeReason::POWER_BUTTON)).Times(1).WillOnce(Return(false));; in HWTEST_F()
122 EXPECT_CALL(m.Mock(), SuspendEnd()).Times(1).WillOnce(Return(true)); in HWTEST_F()
126 EXPECT_CALL(m.Mock(), SuspendEnd()).Times(1).WillOnce(Return(false)); in HWTEST_F()
163 EXPECT_CALL(m.Mock(), GetScreenPower(_)).Times(1).WillOnce(Return(ScreenPowerState::POWER_OFF)); in HWTEST_F()
165 .Times( in HWTEST_F()
[all...]
/foundation/ability/ability_runtime/test/unittest/ams_mgr_proxy_test/
H A Dams_mgr_proxy_test.cpp75 .Times(1) in HWTEST_F()
80 EXPECT_CALL(*mockAmsMgrScheduler_, SendRequest(_, _, _, _)).Times(0); in HWTEST_F()
96 .Times(1) in HWTEST_F()
101 EXPECT_CALL(*mockAmsMgrScheduler_, SendRequest(_, _, _, _)).Times(0); in HWTEST_F()
116 .Times(1) in HWTEST_F()
121 EXPECT_CALL(*mockAmsMgrScheduler_, SendRequest(_, _, _, _)).Times(0); in HWTEST_F()
135 .Times(1) in HWTEST_F()
140 EXPECT_CALL(*mockAmsMgrScheduler_, SendRequest(_, _, _, _)).Times(0); in HWTEST_F()
155 .Times(1) in HWTEST_F()
160 EXPECT_CALL(*mockAmsMgrScheduler_, SendRequest(_, _, _, _)).Times( in HWTEST_F()
[all...]
/foundation/multimedia/audio_framework/frameworks/native/hdiadapter/sink/test/unittest/audio_running_lock_manager_unit_test/src/
H A Daudio_running_lock_manager_unit_test.cpp67 .Times(1).WillOnce(Return(SUCCESS)); in HWTEST()
68 EXPECT_CALL((*sharedPtrMockRunningLock), UpdateWorkSource(IsEmpty())).Times(1); in HWTEST()
69 EXPECT_CALL((*sharedPtrMockRunningLock), UnLock()).Times(1).WillOnce(Return(SUCCESS)); in HWTEST()
90 EXPECT_CALL((*sharedPtrMockRunningLock), UpdateWorkSource(IsEmpty())).Times(0); in HWTEST()
95 .Times(1).WillOnce(Return(SUCCESS)); in HWTEST()
101 std::unordered_set<int32_t>(appsUid2.begin(), appsUid2.end())))).Times(1); in HWTEST()
107 std::unordered_set<int32_t>(appsUid3.begin(), appsUid3.end())))).Times(0); in HWTEST()
113 std::unordered_set<int32_t>(appsUid4.begin(), appsUid4.end())))).Times(1); in HWTEST()
117 EXPECT_CALL((*sharedPtrMockRunningLock), UpdateWorkSource(IsEmpty())).Times(1); in HWTEST()
118 EXPECT_CALL((*sharedPtrMockRunningLock), UnLock()).Times( in HWTEST()
[all...]
/foundation/filemanagement/dfs_service/test/unittests/cloudsync_api/cloudsync_impl/
H A Dcloud_sync_service_proxy_test.cpp81 EXPECT_CALL(*mock_, SendRequest(_, _, _, _)).Times(1).WillOnce(Return(-1)); in HWTEST_F()
97 EXPECT_CALL(*mock_, SendRequest(_, _, _, _)).Times(1).WillOnce(Return(E_OK)); in HWTEST_F()
130 EXPECT_CALL(*mock_, SendRequest(_, _, _, _)).Times(1).WillOnce(Return(-1)); in HWTEST_F()
147 EXPECT_CALL(*mock_, SendRequest(_, _, _, _)).Times(1).WillOnce(Return(E_OK)); in HWTEST_F()
163 EXPECT_CALL(*mock_, SendRequest(_, _, _, _)).Times(1).WillOnce(Return(-1)); in HWTEST_F()
181 .Times(2) in HWTEST_F()
205 EXPECT_CALL(*mock_, SendRequest(_, _, _, _)).Times(1).WillOnce(Return(-1)); in HWTEST_F()
223 EXPECT_CALL(*mock_, SendRequest(_, _, _, _)).Times(1).WillOnce(Return(E_OK)); in HWTEST_F()
241 EXPECT_CALL(*mock_, SendRequest(_, _, _, _)).Times(1).WillOnce(Return(-1)); in HWTEST_F()
259 EXPECT_CALL(*mock_, SendRequest(_, _, _, _)).Times( in HWTEST_F()
[all...]
/foundation/arkui/ace_engine/test/unittest/interfaces/
H A Dform_render_delegate_proxy_test.cpp65 EXPECT_CALL(*iremoteObject, SendRequest(_, _, _, _)).Times(1).WillRepeatedly(Return(ERR_OK)); in HWTEST_F()
67 EXPECT_CALL(*iremoteObject, SendRequest(_, _, _, _)).Times(1).WillRepeatedly(Return(ERR_INVALID_VALUE)); in HWTEST_F()
95 EXPECT_CALL(*iremoteObject, SendRequest(_, _, _, _)).Times(1).WillRepeatedly(Return(ERR_OK)); in HWTEST_F()
97 EXPECT_CALL(*iremoteObject, SendRequest(_, _, _, _)).Times(1).WillRepeatedly(Return(ERR_INVALID_VALUE)); in HWTEST_F()
118 EXPECT_CALL(*iremoteObject, SendRequest(_, _, _, _)).Times(1).WillRepeatedly(Return(ERR_OK)); in HWTEST_F()
120 EXPECT_CALL(*iremoteObject, SendRequest(_, _, _, _)).Times(1).WillRepeatedly(Return(ERR_INVALID_VALUE)); in HWTEST_F()
141 EXPECT_CALL(*iremoteObject, SendRequest(_, _, _, _)).Times(1).WillRepeatedly(Return(ERR_OK)); in HWTEST_F()
143 EXPECT_CALL(*iremoteObject, SendRequest(_, _, _, _)).Times(1).WillRepeatedly(Return(ERR_INVALID_VALUE)); in HWTEST_F()
159 EXPECT_CALL(*iremoteObject, SendRequest(_, _, _, _)).Times(1).WillRepeatedly(Return(ERR_OK)); in HWTEST_F()
161 EXPECT_CALL(*iremoteObject, SendRequest(_, _, _, _)).Times( in HWTEST_F()
[all...]
/foundation/arkui/ace_engine/test/unittest/core/pattern/progress/
H A Dprogress_modifier_test_ng.cpp79 EXPECT_CALL(canvas, DrawRoundRect(_)).Times(AtLeast(1)); in HWTEST_F()
80 EXPECT_CALL(canvas, DrawCircle(_, _)).Times(AtLeast(1)); in HWTEST_F()
81 EXPECT_CALL(canvas, DrawPath(_)).Times(AtLeast(1)); in HWTEST_F()
82 EXPECT_CALL(canvas, Save()).Times(AtLeast(1)); in HWTEST_F()
83 EXPECT_CALL(canvas, Rotate(_, _, _)).Times(AtLeast(1)); in HWTEST_F()
84 EXPECT_CALL(canvas, Restore()).Times(AtLeast(1)); in HWTEST_F()
163 EXPECT_CALL(canvas, DrawCircle(_, _)).Times(AtLeast(1)); in HWTEST_F()
164 EXPECT_CALL(canvas, DrawArc(_, _, _)).Times(AtLeast(1)); in HWTEST_F()
165 EXPECT_CALL(canvas, DrawPath(_)).Times(AtLeast(1)); in HWTEST_F()
166 EXPECT_CALL(canvas, Save()).Times(AtLeas in HWTEST_F()
[all...]
/foundation/bundlemanager/app_domain_verify/test/unittest/services/app_domain_verify_rdb_test/
H A Dapp_domain_verify_rdb_data_manager_test.cpp84 EXPECT_CALL(*mocRdbStore, ExecuteSql(_, _)).Times(1).WillOnce(Return(E_ERROR)); in HWTEST_F()
104 EXPECT_CALL(*mocRdbStore, ExecuteSql(_, _)).Times(1).WillOnce(Return(E_OK)); in HWTEST_F()
143 EXPECT_CALL(*mocRdbStore, InsertWithConflictResolution(_, _, _, _)).Times(1).WillOnce(Return(-1)); in HWTEST_F()
163 EXPECT_CALL(*mocRdbStore, InsertWithConflictResolution(_, _, _, _)).Times(1).WillOnce(Return(0)); in HWTEST_F()
201 EXPECT_CALL(*mocRdbStore, Delete(_, _)).Times(1).WillOnce(Return(-1)); in HWTEST_F()
221 EXPECT_CALL(*mocRdbStore, Delete(_, _)).Times(1).WillOnce(Return(0)); in HWTEST_F()
260 EXPECT_CALL(*mocRdbStore, Query(_, _)).Times(1).WillOnce(Return(nullptr)); in HWTEST_F()
281 EXPECT_CALL(*mockResultSet, GoToFirstRow()).Times(1).WillOnce(Return(E_ERROR)); in HWTEST_F()
282 EXPECT_CALL(*mockResultSet, Close()).Times(1).WillOnce(Return(E_OK)); in HWTEST_F()
284 EXPECT_CALL(*mocRdbStore, Query(_, _)).Times( in HWTEST_F()
[all...]
/foundation/ability/ability_runtime/test/unittest/ability_manager_collaborator_proxy_test/
H A Dability_manager_collaborator_proxy_test.cpp63 .Times(1) in HWTEST_F()
82 .Times(1) in HWTEST_F()
98 .Times(1) in HWTEST_F()
114 .Times(1) in HWTEST_F()
131 .Times(1) in HWTEST_F()
147 .Times(1) in HWTEST_F()
163 .Times(1) in HWTEST_F()
179 .Times(1) in HWTEST_F()
195 .Times(1) in HWTEST_F()
213 .Times( in HWTEST_F()
[all...]
/foundation/arkui/ace_engine/test/unittest/core/common/asset/
H A Dasset_test.cpp99 EXPECT_CALL(*assetProvider, IsValid()).Times(1).WillOnce(Return(true)); in HWTEST_F()
100 EXPECT_CALL(*assetProvider, GetAssetPath(ASSET_TEST, true)).Times(1).WillOnce(Return(ASSET_TEST)); in HWTEST_F()
125 EXPECT_CALL(*assetProvider, IsValid()).Times(1).WillOnce(Return(true)); in HWTEST_F()
176 EXPECT_CALL(*assetProvider, IsValid()).Times(1).WillOnce(Return(true)); in HWTEST_F()
177 EXPECT_CALL(*assetProvider, GetAsset(testFilePath)).Times(1).WillOnce(Return(nullptr)); in HWTEST_F()
225 EXPECT_CALL(*assetProvider, IsValid()).Times(1).WillOnce(Return(true)); in HWTEST_F()
228 EXPECT_CALL(*assetProvider, IsValid()).Times(1).WillOnce(Return(true)); in HWTEST_F()
232 EXPECT_CALL(*assetProvider, IsValid()).Times(1).WillOnce(Return(false)); in HWTEST_F()
235 EXPECT_CALL(*assetProvider, IsValid()).Times(1).WillOnce(Return(false)); in HWTEST_F()
250 EXPECT_CALL(*assetProvider, IsValid()).Times( in HWTEST_F()
[all...]

Completed in 19 milliseconds

12345678910>>...14