Signed-off-by: Science <shaohaozhou@huawei.com>
Change-Id: I24b36f0cc32cf88d02721500a9e63477866d5d0d
This commit is contained in:
Science 2023-11-21 09:39:39 +00:00
parent c488e1cc75
commit e470a03cdd

View File

@ -515,7 +515,7 @@ void InteractionManagerTest::SimulateDownKeyEvent(int32_t key)
CALL_DEBUG_ENTER;
SetupKeyEvent(MMI::KeyEvent::KEY_ACTION_DOWN, key, true);
FI_HILOGD("TEST:keyCode:%{public}d, keyAction: KEY_ACTION_DOWN", key);
MMI::InputManager::GetInstance()->SimulateInputEvent(keyEvent);
MMI::InputManager::GetInstance()->SimulateInputEvent(g_keyEvent);
}
void InteractionManagerTest::SimulateUpKeyEvent(int32_t key)
@ -523,7 +523,7 @@ void InteractionManagerTest::SimulateUpKeyEvent(int32_t key)
CALL_DEBUG_ENTER;
SetupKeyEvent(MMI::KeyEvent::KEY_ACTION_UP, key, false);
FI_HILOGD("TEST:keyCode:%{public}d, keyAction: KEY_ACTION_UP", key);
MMI::InputManager::GetInstance()->SimulateInputEvent(keyEvent);
MMI::InputManager::GetInstance()->SimulateInputEvent(g_keyEvent);
}
void InteractionManagerTest::PrintDragAction(DragAction dragAction)