mirror of
https://github.com/openharmony/distributedhardware_distributed_input.git
synced 2026-08-25 12:29:41 -04:00
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user