mirror of
https://github.com/openharmony/linux_frame_aware_sched.git
synced 2026-07-01 22:24:08 -04:00
@@ -67,10 +67,10 @@ HWTEST_F(FrameMsgIntfTest, ReportContinuousTaskTest, TestSize.Level1)
|
||||
const int uid = 100086;
|
||||
const int status0 = 0;
|
||||
const int status1 = 1;
|
||||
repCon.GetThreadQueue();
|
||||
int ret = repCon.GetThreadQueue();
|
||||
EXPECT_EQ(ret, true);
|
||||
repCon.ReportContinuousTask(pid, uid, status0);
|
||||
repCon.ReportContinuousTask(pid, uid, status1);
|
||||
}
|
||||
|
||||
} // namespace RME
|
||||
} // namespace OHOS
|
||||
|
||||
@@ -58,6 +58,7 @@ HWTEST_F(IntelliSenseServerTest, ReportContinuousTaskTest, TestSize.Level1)
|
||||
int pid = 777;
|
||||
int uid = 888;
|
||||
int status = 0;
|
||||
EXPECT_EQ(IntelliSenseServer::GetInstance().m_needReadXml, true);
|
||||
IntelliSenseServer::GetInstance().m_switch = false;
|
||||
IntelliSenseServer::GetInstance().ReportContinuousTask(pid, uid, status);
|
||||
IntelliSenseServer::GetInstance().m_switch = true;
|
||||
|
||||
Reference in New Issue
Block a user