mirror of
https://gitee.com/openharmony/window_window_manager
synced 2025-02-25 18:31:49 +00:00
add UT code
Signed-off-by: yanzhimo1 <yanzhimo1@huawei.com>
This commit is contained in:
parent
68f229c49d
commit
82a8042acc
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user