/ohos5.0/foundation/ability/ability_runtime/test/unittest/app_scheduler_host_test/ |
H A D | app_scheduler_host_test.cpp | 36 sptr<MockAppScheduler> mockAppScheduler_; member in OHOS::AppExecFwk::AppSchedulerHostTest 51 mockAppScheduler_ = new MockAppScheduler(); in SetUp() 82 auto result = mockAppScheduler_->OnRemoteRequest( 100 auto result = mockAppScheduler_->OnRemoteRequest( 112 EXPECT_NE(mockAppScheduler_, nullptr); 119 auto result = mockAppScheduler_->OnRemoteRequest( 131 EXPECT_NE(mockAppScheduler_, nullptr); 137 auto result = mockAppScheduler_->OnRemoteRequest( 149 EXPECT_NE(mockAppScheduler_, nullptr); 156 auto result = mockAppScheduler_->OnRemoteRequest( [all …]
|
/ohos5.0/foundation/ability/ability_runtime/test/unittest/app_scheduler_proxy_test/ |
H A D | app_scheduler_proxy_test.cpp | 39 sptr<MockAppScheduler> mockAppScheduler_; member in OHOS::AppExecFwk::AppSchedulerProxyTest 50 mockAppScheduler_ = new MockAppScheduler(); in SetUp() 94 EXPECT_NE(mockAppScheduler_, nullptr); 95 sptr<AppSchedulerProxy> appSchedulerProxy = new AppSchedulerProxy(mockAppScheduler_); 98 EXPECT_CALL(*mockAppScheduler_, AttachAppDebug()).Times(1); 109 EXPECT_NE(mockAppScheduler_, nullptr); 110 sptr<AppSchedulerProxy> appSchedulerProxy = new AppSchedulerProxy(mockAppScheduler_);; 113 EXPECT_CALL(*mockAppScheduler_, DetachAppDebug()).Times(1);
|
/ohos5.0/foundation/ability/ability_runtime/test/unittest/ams_app_workflow_test/ |
H A D | ams_workflow_test.cpp | 38 : appRecord_(appRecord), mockAppScheduler_(mockAppScheduler) in TestApplicationPreRecord() 50 sptr<MockAppScheduler> mockAppScheduler_; member 183 EXPECT_CALL(*(appB.mockAppScheduler_), ScheduleForegroundApplication()).Times(1); 184 EXPECT_CALL(*(appA.mockAppScheduler_), ScheduleBackgroundApplication()).Times(1); 214 EXPECT_CALL(*(appA.mockAppScheduler_), ScheduleBackgroundApplication()).Times(1); 323 EXPECT_CALL(*(appA.mockAppScheduler_), ScheduleCleanAbility(_, _)).Times(1); 364 EXPECT_CALL(*(appA.mockAppScheduler_), ScheduleCleanAbility(_, _)).Times(2); 413 EXPECT_CALL(*(appA.mockAppScheduler_), ScheduleCleanAbility(_, _)).Times(2); 530 EXPECT_CALL(*(appA.mockAppScheduler_), ScheduleCleanAbility(_, _)).Times(1); 562 EXPECT_CALL(*(appA.mockAppScheduler_), ScheduleCleanAbility(_, _)).Times(2); [all …]
|
/ohos5.0/foundation/ability/ability_runtime/test/moduletest/common/ams/app_service_flow_test/ |
H A D | ams_app_service_flow_module_test.cpp | 46 : appRecord_(appRecord), mockAppScheduler_(mockAppScheduler) {} in TestApplicationPreRunningRecord() 56 sptr<MockAppScheduler> mockAppScheduler_; member 316 EXPECT_CALL(*(testAppA.mockAppScheduler_), ScheduleCleanAbility(_, _)).Times(2); 370 EXPECT_CALL(*(testAppA.mockAppScheduler_), ScheduleCleanAbility(_, _)).Times(1); 387 EXPECT_CALL(*(testAppB.mockAppScheduler_), ScheduleCleanAbility(_, _)).Times(1); 422 EXPECT_CALL(*(testAppB.mockAppScheduler_), ScheduleCleanAbility(_, _)).Times(1); 424 EXPECT_CALL(*(testAppA.mockAppScheduler_), ScheduleCleanAbility(_, _)).Times(1); 516 EXPECT_CALL(*(testAppA.mockAppScheduler_), ScheduleCleanAbility(_, _)).Times(2); 517 EXPECT_CALL(*(testAppB.mockAppScheduler_), ScheduleCleanAbility(_, _)).Times(1); 734 EXPECT_CALL(*(testAppA.mockAppScheduler_), ScheduleForegroundApplication()) [all …]
|
/ohos5.0/foundation/ability/ability_runtime/test/unittest/ams_app_life_cycle_test/ |
H A D | ams_app_life_cycle_test.cpp | 51 sptr<MockAppScheduler> mockAppScheduler_ = nullptr; member 470 EXPECT_CALL(*(testAppRecord.mockAppScheduler_), ScheduleLaunchAbility(_, _, _, _)).Times(1); 487 EXPECT_CALL(*(testAppRecord.mockAppScheduler_), ScheduleLaunchAbility(_, _, _, _)).Times(1); 504 EXPECT_CALL(*(testAppRecord.mockAppScheduler_), ScheduleLaunchAbility(_, _, _, _)).Times(1); 985 EXPECT_CALL(*(testAppRecord.mockAppScheduler_), ScheduleLaunchAbility(_, _, _, _)).Times(1); 989 EXPECT_CALL(*(testAppRecord.mockAppScheduler_), ScheduleCleanAbility(_, _)).Times(1); 1009 EXPECT_CALL(*(testAppRecord.mockAppScheduler_), ScheduleCleanAbility(_, _)).Times(1); 1011 EXPECT_CALL(*(testAppRecord.mockAppScheduler_), ScheduleTerminateApplication(_)).Times(1); 1041 EXPECT_CALL(*(testAppRecord.mockAppScheduler_), ScheduleCleanAbility(_, _)).Times(1); 2083 EXPECT_CALL(*(testAppPreRecord.mockAppScheduler_), ScheduleConfigurationUpdated(_)) [all …]
|