commit | c91164f5e9c6cd1162f256bdf156e4c4e663d432 | [log] [tgz] |
---|---|---|
author | Harry Cutts <hcutts@google.com> | Thu Oct 24 17:00:38 2024 +0000 |
committer | Harry Cutts <hcutts@google.com> | Thu Oct 24 17:03:35 2024 +0000 |
tree | 3cf46d898298bbae3a133dafc6f749a2fccbe010 | |
parent | 62d0bd72774b6a9f2e11305a330fb810570b68f2 [diff] |
CursorInputMapper: tidy up the tests Mostly, use Each matchers for repetitive checks on NotifyMotionArgs, but also use the aliases for AMOTION_EVENT_ACTION_* constants and use a WithRelativeMotion matcher in one case where it had been missed. Bug: 245989146 Test: atest frameworks/native/services/inputflinger/tests/CursorInputMapper_test.cpp Flag: TEST_ONLY Change-Id: I866b0f44a02530896e5ea5f3f9047e66346f9116