Home
last modified time | relevance | path

Searched refs:Mock (Results 1 - 25 of 89) sorted by relevance

1234

/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_previewer_mock.cpp62 void JSForm::Mock(const JSCallbackInfo& info) {} in Mock() function in OHOS::OHOS::Ace::Framework::JSForm
69 JSClass<JSForm>::StaticMethod("size", &JSForm::Mock, opt); in JSBind()
70 JSClass<JSForm>::StaticMethod("dimension", &JSForm::Mock, opt); in JSBind()
71 JSClass<JSForm>::StaticMethod("allowUpdate", &JSForm::Mock, opt); in JSBind()
72 JSClass<JSForm>::StaticMethod("visibility", &JSForm::Mock, opt); in JSBind()
73 JSClass<JSForm>::StaticMethod("clip", &JSForm::Mock, opt); in JSBind()
75 JSClass<JSForm>::StaticMethod("onAcquired", &JSForm::Mock); in JSBind()
76 JSClass<JSForm>::StaticMethod("onError", &JSForm::Mock); in JSBind()
77 JSClass<JSForm>::StaticMethod("onUninstall", &JSForm::Mock); in JSBind()
78 JSClass<JSForm>::StaticMethod("onRouter", &JSForm::Mock); in JSBind()
99 void JSRichText::Mock(const JSCallbackInfo& info) {} Mock() function in OHOS::OHOS::Ace::Framework::JSRichText
252 void JSWeb::Mock(const JSCallbackInfo& info) {} Mock() function in OHOS::OHOS::Ace::Framework::JSWeb
397 void JSXComponent::Mock(const JSCallbackInfo& info) {} Mock() function in OHOS::OHOS::Ace::Framework::JSXComponent
417 void JSXComponentController::Mock(const JSCallbackInfo& info) {} Mock() function in OHOS::OHOS::Ace::Framework::JSXComponentController
427 void JSVideo::Mock(const JSCallbackInfo& info) {} Mock() function in OHOS::OHOS::Ace::Framework::JSVideo
475 void JSVideoController::Mock(const JSCallbackInfo& info) {} Mock() function in OHOS::OHOS::Ace::Framework::JSVideoController
485 void JSPlugin::Mock(const JSCallbackInfo& info) {} Mock() function in OHOS::OHOS::Ace::Framework::JSPlugin
530 void JSUIExtension::Mock(const JSCallbackInfo& info) {} Mock() function in OHOS::OHOS::Ace::Framework::JSUIExtension
552 void JSSecurityUIExtension::Mock(const JSCallbackInfo& info) {} Mock() function in OHOS::OHOS::Ace::Framework::JSSecurityUIExtension
[all...]
H A Djs_previewer_mock.h30 static void Mock(const JSCallbackInfo& info);
37 static void Mock(const JSCallbackInfo& info);
44 static void Mock(const JSCallbackInfo& info);
51 static void Mock(const JSCallbackInfo& args);
57 static void Mock(const JSCallbackInfo& info);
69 static void Mock(const JSCallbackInfo& info);
76 static void Mock(const JSCallbackInfo& info);
82 static void Mock(const JSCallbackInfo& info);
95 static void Mock(const JSCallbackInfo& info);
102 static void Mock(cons
[all...]
/foundation/window/window_manager/wm/test/unittest/
H A Dwindow_impl_test.cpp73 EXPECT_CALL(m->Mock(), GetSystemConfig(_)).WillOnce(Return(WMError::WM_OK)); in CreateStretchableWindow()
74 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()
96 EXPECT_CALL(m->Mock(), GetSystemConfig(_)).WillOnce(Return(WMError::WM_OK)); in HWTEST_F()
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()
116 EXPECT_CALL(m->Mock(), GetSystemConfig(_)).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()
147 EXPECT_CALL(m->Mock(), GetSystemConfig(_)).WillOnce(Return(WMError::WM_OK)); in HWTEST_F()
148 EXPECT_CALL(m->Mock(), CreateWindo in HWTEST_F()
[all...]
H A Dwindow_impl_test2.cpp78 EXPECT_CALL(m->Mock(), GetSystemConfig(_)).WillOnce(Return(WMError::WM_OK)); in CreateStretchableWindow()
79 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()
104 EXPECT_CALL(m->Mock(), GetSystemConfig(_)).WillOnce(Return(WMError::WM_OK)); in HWTEST_F()
105 EXPECT_CALL(m->Mock(), CreateWindow(_, _, _, _, _)).Times(1).WillOnce(Return(WMError::WM_OK)); in HWTEST_F()
108 EXPECT_CALL(m->Mock(), RequestFocus(_)).WillOnce(Return(WMError::WM_OK)); in HWTEST_F()
119 EXPECT_CALL(m->Mock(), DestroyWindow(_)).Times(1).WillOnce(Return(WMError::WM_OK)); in HWTEST_F()
137 EXPECT_CALL(m->Mock(), GetSystemConfig(_)).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(), AddWindo in HWTEST_F()
[all...]
H A Dwindow_effect_test.cpp67 EXPECT_CALL(m->Mock(), GetSystemConfig(_)).WillOnce(Return(WMError::WM_OK)); in HWTEST_F()
68 EXPECT_CALL(m->Mock(), CreateWindow(_, _, _, _, _)).Times(1).WillOnce(Return(WMError::WM_OK)); in HWTEST_F()
76 EXPECT_CALL(m->Mock(), DestroyWindow(_)).Times(1).WillOnce(Return(WMError::WM_OK)); in HWTEST_F()
92 EXPECT_CALL(m->Mock(), GetSystemConfig(_)).WillOnce(Return(WMError::WM_OK)); in HWTEST_F()
93 EXPECT_CALL(m->Mock(), CreateWindow(_, _, _, _, _)).Times(1).WillOnce(Return(WMError::WM_OK)); in HWTEST_F()
101 EXPECT_CALL(m->Mock(), DestroyWindow(_)).Times(1).WillOnce(Return(WMError::WM_OK)); in HWTEST_F()
117 EXPECT_CALL(m->Mock(), GetSystemConfig(_)).WillOnce(Return(WMError::WM_OK)); in HWTEST_F()
118 EXPECT_CALL(m->Mock(), CreateWindow(_, _, _, _, _)).Times(1).WillOnce(Return(WMError::WM_OK)); in HWTEST_F()
133 EXPECT_CALL(m->Mock(), DestroyWindow(_)).Times(1).WillOnce(Return(WMError::WM_OK)); in HWTEST_F()
149 EXPECT_CALL(m->Mock(), GetSystemConfi in HWTEST_F()
[all...]
H A Dwindow_impl_test3.cpp202 EXPECT_CALL(m->Mock(), ProcessPointDown(_, _)); in HWTEST_F()
339 EXPECT_CALL(m->Mock(), DispatchKeyEvent(_, _)); in HWTEST_F()
386 EXPECT_CALL(m->Mock(), ProcessPointDown(_, _)); in HWTEST_F()
403 EXPECT_CALL(m->Mock(), GetModeChangeHotZones(_, _)).Times(1).WillOnce(Return(WMError::WM_DO_NOTHING)); in HWTEST_F()
405 EXPECT_CALL(m->Mock(), GetModeChangeHotZones(_, _)).Times(1).WillOnce(Return(WMError::WM_OK)); in HWTEST_F()
449 EXPECT_CALL(m->Mock(), GetSystemConfig(_)).WillOnce(Return(WMError::WM_OK)); in HWTEST_F()
450 EXPECT_CALL(m->Mock(), CreateWindow(_, _, _, _, _)).Times(1).WillOnce(Return(WMError::WM_OK)); in HWTEST_F()
453 EXPECT_CALL(m->Mock(), AddWindow(_)).Times(1).WillOnce(Return(WMError::WM_OK)); in HWTEST_F()
471 EXPECT_CALL(m->Mock(), ProcessPointUp(_)).Times(2); in HWTEST_F()
475 EXPECT_CALL(m->Mock(), DestroyWindo in HWTEST_F()
[all...]
H A Dwindow_manager_test.cpp178 EXPECT_CALL(m->Mock(), GetVisibilityWindowInfo(_)).Times(1).WillOnce(Return(WMError::WM_OK)); in HWTEST_F()
180 EXPECT_CALL(m->Mock(), GetVisibilityWindowInfo(_)).Times(1).WillOnce(Return(WMError::WM_ERROR_INVALID_WINDOW)); in HWTEST_F()
192 EXPECT_CALL(m->Mock(), ToggleShownStateForAllAppWindows()).Times(1).WillOnce(Return(WMError::WM_OK)); in HWTEST_F()
206 EXPECT_CALL(m->Mock(), GetAccessibilityWindowInfo(_)).Times(1).WillOnce(Return(WMError::WM_OK)); in HWTEST_F()
208 EXPECT_CALL(m->Mock(), GetAccessibilityWindowInfo(_)).Times(1).WillOnce(Return(WMError::WM_ERROR_INVALID_WINDOW)); in HWTEST_F()
240 EXPECT_CALL(mocker->Mock(), GetUnreliableWindowInfo(_, _)).Times(1).WillOnce(Return(WMError::WM_OK)); in HWTEST_F()
260 EXPECT_CALL(m->Mock(), RegisterWindowManagerAgent(_, _)).Times(1).WillOnce(Return(WMError::WM_ERROR_NULLPTR)); in HWTEST_F()
263 EXPECT_CALL(m->Mock(), RegisterWindowManagerAgent(_, _)).Times(1).WillOnce(Return(WMError::WM_OK)); in HWTEST_F()
268 EXPECT_CALL(m->Mock(), RegisterWindowManagerAgent(_, _)).Times(1).WillOnce(Return(WMError::WM_OK)); in HWTEST_F()
297 EXPECT_CALL(m->Mock(), RegisterWindowManagerAgen in HWTEST_F()
[all...]
H A Dwindow_manager_lite_test.cpp126 EXPECT_CALL(m->Mock(), GetFocusWindowInfo(_)).Times(1).WillOnce(DoAll(SetArgReferee<0>(infosResult), Return())); in HWTEST_F()
159 EXPECT_CALL(m->Mock(), RegisterWindowManagerAgent(_, _)).Times(1).WillOnce(Return(WMError::WM_OK)); in HWTEST_F()
185 EXPECT_CALL(m->Mock(), RegisterWindowManagerAgent(_, _)).Times(1).WillOnce(Return(WMError::WM_ERROR_NULLPTR)); in HWTEST_F()
188 EXPECT_CALL(m->Mock(), RegisterWindowManagerAgent(_, _)).Times(1).WillOnce(Return(WMError::WM_OK)); in HWTEST_F()
193 EXPECT_CALL(m->Mock(), RegisterWindowManagerAgent(_, _)).Times(1).WillOnce(Return(WMError::WM_OK)); in HWTEST_F()
222 EXPECT_CALL(m->Mock(), RegisterWindowManagerAgent(_, _)).Times(1).WillOnce(Return(WMError::WM_OK)); in HWTEST_F()
224 EXPECT_CALL(m->Mock(), RegisterWindowManagerAgent(_, _)).Times(1).WillOnce(Return(WMError::WM_OK)); in HWTEST_F()
229 EXPECT_CALL(m->Mock(), UnregisterWindowManagerAgent(_, _)).Times(1).WillOnce(Return(WMError::WM_OK)); in HWTEST_F()
317 EXPECT_CALL(m->Mock(), RegisterWindowManagerAgent(_, _)).Times(1).WillOnce(Return(WMError::WM_ERROR_NULLPTR)); in HWTEST_F()
320 EXPECT_CALL(m->Mock(), RegisterWindowManagerAgen in HWTEST_F()
[all...]
H A Dwindow_scene_test.cpp57 EXPECT_CALL(m->Mock(), CreateWindow(_, _, _)).Times(1).WillOnce(Return(new WindowImpl(option))); in SetUp()
78 EXPECT_CALL(m->Mock(), CreateWindow(_, _, _)).Times(1).WillOnce(Return(new WindowImpl(optionTest))); in HWTEST_F()
88 * @tc.desc: Mock window Create Static Method return nullptr, init Scene with null abilityContext, null listener
95 EXPECT_CALL(m->Mock(), CreateWindow(_, _, _)).Times(1).WillOnce(Return(nullptr)); in HWTEST_F()
112 EXPECT_CALL(m->Mock(), CreateWindow(_, _, _)).Times(1).WillOnce(Return(new WindowImpl(optionTest))); in HWTEST_F()
202 EXPECT_CALL(m->Mock(), CreateWindow(_, _, _)).Times(1).WillOnce(Return(new WindowImpl(optionTest))); in HWTEST_F()
208 * @tc.desc: Mock window Create Static Method return nullptr, createWindow with windowName and mainWindow
215 EXPECT_CALL(m->Mock(), CreateWindow(_, _, _)).Times(1).WillOnce(Return(nullptr)); in HWTEST_F()
272 EXPECT_CALL(m->Mock(), CreateWindow(_, _, _)).Times(1).WillOnce(Return(new WindowImpl(optionTest))); in HWTEST_F()
303 EXPECT_CALL(m->Mock(), CreateWindo in HWTEST_F()
[all...]
H A Dwindow_impl_test5.cpp116 EXPECT_CALL(m->Mock(), GetSystemConfig(_)).WillOnce(Return(WMError::WM_OK)); in HWTEST_F()
117 EXPECT_CALL(m->Mock(), CreateWindow(_, _, _, _, _)).Times(1).WillOnce(Return(WMError::WM_OK)); in HWTEST_F()
124 EXPECT_CALL(m->Mock(), DestroyWindow(_)).Times(1).WillOnce(Return(WMError::WM_OK)); in HWTEST_F()
151 EXPECT_CALL(m->Mock(), DestroyWindow(_)).Times(1).WillOnce(Return(WMError::WM_OK)); in HWTEST_F()
192 EXPECT_CALL(m->Mock(), GetSystemConfig(_)).WillOnce(Return(WMError::WM_OK)); in HWTEST_F()
193 EXPECT_CALL(m->Mock(), CreateWindow(_, _, _, _, _)).Times(1).WillOnce(Return(WMError::WM_OK)); in HWTEST_F()
199 EXPECT_CALL(m->Mock(), DestroyWindow(_)).Times(1).WillOnce(Return(WMError::WM_OK)); in HWTEST_F()
346 EXPECT_CALL(m->Mock(), DestroyWindow(_)).Times(1).WillOnce(Return(WMError::WM_OK)); in HWTEST_F()
361 EXPECT_CALL(m->Mock(), GetSystemConfig(_)).WillOnce(Return(WMError::WM_OK)); in HWTEST_F()
362 EXPECT_CALL(m->Mock(), CreateWindo in HWTEST_F()
[all...]
/foundation/window/window_manager/dm/test/unittest/
H A Ddisplay_power_unit_test.cpp79 EXPECT_CALL(m.Mock(), RegisterDisplayManagerAgent(_, DisplayManagerAgentType::DISPLAY_POWER_EVENT_LISTENER)) in HWTEST_F()
84 EXPECT_CALL(m.Mock(), UnregisterDisplayManagerAgent(_, DisplayManagerAgentType::DISPLAY_POWER_EVENT_LISTENER)) in HWTEST_F()
98 EXPECT_CALL(m.Mock(), RegisterDisplayManagerAgent(_, DisplayManagerAgentType::DISPLAY_POWER_EVENT_LISTENER)) in HWTEST_F()
103 EXPECT_CALL(m.Mock(), UnregisterDisplayManagerAgent(_, DisplayManagerAgentType::DISPLAY_POWER_EVENT_LISTENER)) in HWTEST_F()
117 EXPECT_CALL(m.Mock(), RegisterDisplayManagerAgent(_, DisplayManagerAgentType::DISPLAY_POWER_EVENT_LISTENER)) in HWTEST_F()
122 EXPECT_CALL(m.Mock(), UnregisterDisplayManagerAgent(_, DisplayManagerAgentType::DISPLAY_POWER_EVENT_LISTENER)) in HWTEST_F()
136 EXPECT_CALL(m.Mock(), UnregisterDisplayManagerAgent(_, DisplayManagerAgentType::DISPLAY_POWER_EVENT_LISTENER)) in HWTEST_F()
150 EXPECT_CALL(m.Mock(), UnregisterDisplayManagerAgent(_, DisplayManagerAgentType::DISPLAY_POWER_EVENT_LISTENER)) 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(), WakeUpBegi 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(), GetScreenInf in HWTEST_F()
[all...]
H A Dscreenshot_test.cpp69 EXPECT_CALL(m->Mock(), GetDefaultDisplayInfo()).Times(1).WillOnce(Return(nullptr)); in HWTEST_F()
73 EXPECT_CALL(m->Mock(), GetDisplaySnapshot(_, _)).Times(1).WillOnce(Return(nullptr)); in HWTEST_F()
82 EXPECT_CALL(m->Mock(), GetDefaultDisplayInfo()).Times(1).WillOnce(Return(nullptr)); in HWTEST_F()
85 EXPECT_CALL(m->Mock(), GetDisplaySnapshot(_, _)).Times(1).WillOnce(Return(CommonTestUtils::CreatePixelMap())); in HWTEST_F()
H A Ddisplay_change_unit_test.cpp97 EXPECT_CALL(m.Mock(), RegisterDisplayManagerAgent(_, DisplayManagerAgentType::DISPLAY_EVENT_LISTENER)) in HWTEST_F()
102 EXPECT_CALL(m.Mock(), UnregisterDisplayManagerAgent(_, DisplayManagerAgentType::DISPLAY_EVENT_LISTENER)) in HWTEST_F()
116 EXPECT_CALL(m.Mock(), RegisterDisplayManagerAgent(_, DisplayManagerAgentType::DISPLAY_EVENT_LISTENER)) in HWTEST_F()
121 EXPECT_CALL(m.Mock(), UnregisterDisplayManagerAgent(_, DisplayManagerAgentType::DISPLAY_EVENT_LISTENER)) in HWTEST_F()
135 EXPECT_CALL(m.Mock(), RegisterDisplayManagerAgent(_, DisplayManagerAgentType::DISPLAY_EVENT_LISTENER)) in HWTEST_F()
140 EXPECT_CALL(m.Mock(), UnregisterDisplayManagerAgent(_, DisplayManagerAgentType::DISPLAY_EVENT_LISTENER)) in HWTEST_F()
H A Dscreen_manager_test.cpp100 EXPECT_CALL(m->Mock(), CreateVirtualScreen(_, _)).Times(1).WillOnce(Return(SCREEN_ID_INVALID)); in HWTEST_F()
101 EXPECT_CALL(m->Mock(), DestroyVirtualScreen(_)).Times(1).WillOnce(Return(DMError::DM_ERROR_INVALID_PARAM)); in HWTEST_F()
121 EXPECT_CALL(m->Mock(), CreateVirtualScreen(_, _)).Times(1).WillOnce(Return(validId)); in HWTEST_F()
122 EXPECT_CALL(m->Mock(), DestroyVirtualScreen(_)).Times(1).WillOnce(Return(DMError::DM_OK)); in HWTEST_F()
143 EXPECT_CALL(m->Mock(), CreateVirtualScreen(_, _)).Times(1).WillOnce(Return(virtualScreenId)); in HWTEST_F()
144 EXPECT_CALL(m->Mock(), DestroyVirtualScreen(_)).Times(1).WillOnce(Return(DMError::DM_OK)); in HWTEST_F()
145 EXPECT_CALL(m->Mock(), MakeExpand(_, _, _)).Times(1).WillOnce(Return(DMError::DM_OK)); in HWTEST_F()
201 EXPECT_CALL(m->Mock(), CreateVirtualScreen(_, _)).Times(1).WillOnce(Return(validId)); in HWTEST_F()
202 EXPECT_CALL(m->Mock(), SetVirtualScreenSurface(_, _)).Times(1).WillOnce(Return(DMError::DM_OK)); in HWTEST_F()
203 EXPECT_CALL(m->Mock(), DestroyVirtualScree in HWTEST_F()
[all...]
H A Dscreen_group_test.cpp66 EXPECT_CALL(m.Mock(), GetScreenGroupInfoById(_)).Times(1).WillOnce(Return(nullptr)); in HWTEST_F()
82 EXPECT_CALL(m.Mock(), GetScreenGroupInfoById(_)).Times(1).WillOnce(Return(screenGroupInfo)); in HWTEST_F()
100 EXPECT_CALL(m.Mock(), GetScreenGroupInfoById(_)).Times(1).WillOnce(Return(screenGroupInfo)); in HWTEST_F()
H A Ddisplay_test.cpp189 EXPECT_CALL(m->Mock(), HasImmersiveWindow(_, _)).Times(1).WillOnce(Return(DMError::DM_OK)); in HWTEST_F()
233 EXPECT_CALL(m->Mock(), GetAvailableArea(_, _)).Times(1).WillOnce(Return(DMError::DM_OK)); in HWTEST_F()
247 EXPECT_CALL(m->Mock(), GetSupportedHDRFormats(_, _)).Times(1).WillOnce(Return(DMError::DM_OK)); in HWTEST_F()
261 EXPECT_CALL(m->Mock(), GetSupportedColorSpaces(_, _)).Times(1).WillOnce(Return(DMError::DM_OK)); in HWTEST_F()
/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()
164 EXPECT_CALL(m.Mock(), SetScreenPowerForAl in HWTEST_F()
[all...]
H A Ddisplay_manager_lite_test.cpp71 EXPECT_CALL(m->Mock(), RegisterDisplayManagerAgent(_, _)).Times(1).WillOnce(Return(DMError::DM_OK)); in HWTEST_F()
96 EXPECT_CALL(m->Mock(), RegisterDisplayManagerAgent(_, _)).Times(1).WillOnce(Return(DMError::DM_OK)); in HWTEST_F()
116 EXPECT_CALL(m->Mock(), RegisterDisplayManagerAgent(_, _)).Times(1).WillOnce(Return(DMError::DM_OK)); in HWTEST_F()
169 EXPECT_CALL(m->Mock(), RegisterDisplayManagerAgent(_, _)).Times(1).WillOnce(Return(DMError::DM_OK)); in HWTEST_F()
185 EXPECT_CALL(m->Mock(), RegisterDisplayManagerAgent(_, _)).Times(1).WillOnce(Return(DMError::DM_ERROR_IPC_FAILED)); in HWTEST_F()
213 EXPECT_CALL(m->Mock(), RegisterDisplayManagerAgent(_, _)).Times(1).WillOnce(Return(DMError::DM_OK)); in HWTEST_F()
278 EXPECT_CALL(m->Mock(), RegisterDisplayManagerAgent(_, _)).Times(1).WillOnce(Return(DMError::DM_OK)); in HWTEST_F()
293 EXPECT_CALL(m->Mock(), RegisterDisplayManagerAgent(_, _)).Times(1).WillOnce(Return(DMError::DM_ERROR_IPC_FAILED)); in HWTEST_F()
307 EXPECT_CALL(m->Mock(), RegisterDisplayManagerAgent(_, _)).Times(1).WillOnce(Return(DMError::DM_OK)); in HWTEST_F()
360 EXPECT_CALL(m->Mock(), GetDefaultDisplayInf in HWTEST_F()
[all...]
/foundation/ai/neural_network_runtime/test/unittest/components/nn_compiler/
H A Dnn_compiler_test.cpp206 testing::Mock::AllowLeak(device.get()); in HWTEST_F()
223 testing::Mock::AllowLeak(device.get()); in HWTEST_F()
243 testing::Mock::AllowLeak(device.get()); in HWTEST_F()
287 testing::Mock::AllowLeak(device.get()); in HWTEST_F()
312 testing::Mock::AllowLeak(device.get()); in HWTEST_F()
341 testing::Mock::AllowLeak(device.get()); in HWTEST_F()
362 testing::Mock::AllowLeak(device.get()); in HWTEST_F()
404 testing::Mock::AllowLeak(device.get()); in HWTEST_F()
428 testing::Mock::AllowLeak(device.get()); in HWTEST_F()
449 testing::Mock in HWTEST_F()
[all...]
/foundation/ai/neural_network_runtime/test/unittest/components/nn_backend/
H A Dnn_backend_test.cpp84 testing::Mock::AllowLeak(device.get()); in HWTEST_F()
118 testing::Mock::AllowLeak(device.get()); in HWTEST_F()
141 testing::Mock::AllowLeak(device.get()); in HWTEST_F()
167 testing::Mock::AllowLeak(device.get()); in HWTEST_F()
193 testing::Mock::AllowLeak(device.get()); in HWTEST_F()
228 testing::Mock::AllowLeak(device.get()); in HWTEST_F()
248 testing::Mock::AllowLeak(device.get()); in HWTEST_F()
283 testing::Mock::AllowLeak(device.get()); in HWTEST_F()
303 testing::Mock::AllowLeak(device.get()); in HWTEST_F()
343 testing::Mock in HWTEST_F()
[all...]
/foundation/arkui/ace_engine/adapter/ohos/services/uiservice/test/unittest/phone/ui_service_mgr_client_test/
H A Dui_service_mgr_client_test.cpp69 testing::Mock::AllowLeak(UIServiceMgrClient::GetInstance()->remoteObject_); in HWTEST_F()
89 testing::Mock::AllowLeak(UIServiceMgrClient::GetInstance()->remoteObject_); in HWTEST_F()
115 testing::Mock::AllowLeak(UIServiceMgrClient::GetInstance()->remoteObject_); in HWTEST_F()
139 testing::Mock::AllowLeak(UIServiceMgrClient::GetInstance()->remoteObject_); in HWTEST_F()
164 testing::Mock::AllowLeak(UIServiceMgrClient::GetInstance()->remoteObject_); in HWTEST_F()
/foundation/ability/ability_runtime/test/unittest/insight_intent/insight_intent_utils_test/
H A Dinsight_intent_utils_test.cpp143 Mock::VerifyAndClear(mockBundleMgr); in HWTEST_F()
170 Mock::VerifyAndClear(mockBundleMgr); in HWTEST_F()
192 Mock::VerifyAndClear(mockBundleMgr); in HWTEST_F()
227 Mock::VerifyAndClear(mockBundleMgr); in HWTEST_F()
/foundation/ability/ability_runtime/test/unittest/dataobs_mgr_client_test/
H A Ddataobs_mgr_client_test.cpp86 testing::Mock::AllowLeak(DataObsMgrClient::GetInstance()->dataObsManger_); in HWTEST_F()
122 testing::Mock::AllowLeak(DataObsMgrClient::GetInstance()->dataObsManger_); in HWTEST_F()
158 testing::Mock::AllowLeak(DataObsMgrClient::GetInstance()->dataObsManger_); in HWTEST_F()
194 testing::Mock::AllowLeak(DataObsMgrClient::GetInstance()->dataObsManger_); in HWTEST_F()
/foundation/arkui/ace_engine/test/unittest/core/render/
H A Dpolygon_painter_test_ng.cpp89 testing::Mock::AllowLeak(canvasPtr); in HWTEST_F()
123 testing::Mock::AllowLeak(canvasPtr); in HWTEST_F()

Completed in 18 milliseconds

1234