!67 删除重复代码

Merge pull request !67 from joe/master
This commit is contained in:
openharmony_ci
2023-09-06 06:36:49 +00:00
committed by Gitee
@@ -401,18 +401,6 @@ HWTEST_F(DistributedInputInnerTest, IsNeedFilterOut02, testing::ext::TestSize.Le
EXPECT_EQ(true, ret);
}
HWTEST_F(DistributedInputInnerTest, IsNeedFilterOut03, testing::ext::TestSize.Level0)
{
string deviceId = "IsNeedFilterOut01";
BusinessEvent event;
event.pressedKeys.push_back(29);
event.pressedKeys.push_back(56);
event.keyCode = 111;
event.keyAction = 108;
bool ret = DistributedInputKit::IsNeedFilterOut(deviceId, event);
EXPECT_EQ(true, ret);
}
/**
* @tc.name: IsTouchEventNeedFilterOut01
* @tc.desc: verify the function of filtering events on the touchscreen.