提交 dd68a4ca 编写于 作者: O openharmony_ci 提交者: Gitee

!229 TDD Crash 模拟事件

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