Home
last modified time | relevance | path

Searched refs:clientMock_ (Results 1 - 1 of 1) sorted by relevance

/foundation/ability/ability_runtime/test/unittest/app_scheduler_test/
H A Dapp_scheduler_test.cpp55 std::unique_ptr<AppMgrClientMock> clientMock_ = std::make_unique<AppMgrClientMock>(); member in OHOS::AAFwk::AppSchedulerTest
175 EXPECT_CALL(*clientMock_, ConnectAppMgrService()).Times(1) in HWTEST_F()
177 DelayedSingleton<AppScheduler>::GetInstance()->appMgrClient_ = std::move(clientMock_); in HWTEST_F()
182 clientMock_.reset(); in HWTEST_F()
196 clientMock_ = std::make_unique<AppMgrClientMock>(); in HWTEST_F()
197 EXPECT_CALL(*clientMock_, RegisterAppStateCallback(_)).Times(1) in HWTEST_F()
199 DelayedSingleton<AppScheduler>::GetInstance()->appMgrClient_ = std::move(clientMock_); in HWTEST_F()
247 EXPECT_CALL(*clientMock_, LoadAbility(_, _, _, _)).Times(1) in HWTEST_F()
254 DelayedSingleton<AppScheduler>::GetInstance()->appMgrClient_ = std::move(clientMock_); in HWTEST_F()
270 EXPECT_CALL(*clientMock_, TerminateAbilit in HWTEST_F()
[all...]

Completed in 1 milliseconds