提交 9a5a9689 编写于 作者: 邓志豪 提交者: Gitee

#I3W7DI

上级 51037f65
...@@ -419,6 +419,8 @@ HWTEST_F(EventInjectorTest, Graphic_EventInjectorTest_Test_SetKeyEvent_002, Test ...@@ -419,6 +419,8 @@ HWTEST_F(EventInjectorTest, Graphic_EventInjectorTest_Test_SetKeyEvent_002, Test
*/ */
HWTEST_F(EventInjectorTest, Graphic_EventInjectorTest_Test_UnregisterEventInjector_001, TestSize.Level0) HWTEST_F(EventInjectorTest, Graphic_EventInjectorTest_Test_UnregisterEventInjector_001, TestSize.Level0)
{ {
isRepeat_ = false;
usleep(10000); /* 10000:10ms */
EventInjector::GetInstance()->UnregisterEventInjector(EventDataType::POINT_TYPE); EventInjector::GetInstance()->UnregisterEventInjector(EventDataType::POINT_TYPE);
if (!EventInjector::GetInstance()->IsEventInjectorRegistered(EventDataType::POINT_TYPE)) { if (!EventInjector::GetInstance()->IsEventInjectorRegistered(EventDataType::POINT_TYPE)) {
UNREGISTER_POINT_FLAG = FLAG1; UNREGISTER_POINT_FLAG = FLAG1;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册