From 82a8042accc7a061066b30808b19062dbd93b763 Mon Sep 17 00:00:00 2001 From: yanzhimo1 Date: Thu, 8 Aug 2024 19:45:42 +0800 Subject: [PATCH] add UT code Signed-off-by: yanzhimo1 --- window_scene/test/unittest/session_test2.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/window_scene/test/unittest/session_test2.cpp b/window_scene/test/unittest/session_test2.cpp index b77c1499a3..74d1347375 100644 --- a/window_scene/test/unittest/session_test2.cpp +++ b/window_scene/test/unittest/session_test2.cpp @@ -1735,7 +1735,7 @@ HWTEST_F(WindowSessionTest2, ShouldCreateDetectTask, Function | SmallTest | Leve { DetectTaskInfo detectTaskInfo; detectTaskInfo.taskState = DetectTaskState::ATTACH_TASK; - detectTaskInfo.taskWindowMode = WindowMode::WINDOW_MDDE_FULLSCREEN; + detectTaskInfo.taskWindowMode = WindowMode::WINDOW_MODE_FULLSCREEN; session_->SetDetectTaskInfo(detectTaskInfo); bool ret = session_->ShouldCreateDetectTask(true, WindowMode::WINDOW_MODE_UNDEFINED); ASSERT_EQ(ret, true);