Skip to content

Commit 5d59a42

Browse files
author
Paul Ramirez
committed
Add file to use new consumer with a subset of TouchResampling_test.cpp
This CL adds equivalent tests as those used for InputConsumer to InputConsumerResampling_test.cpp, in order to ensure consistent behavior between the two. Furthermore, a recently developed infrastructure makes these tests single-threaded. Bug: 297226446 Flag: EXEMPT refactor Test: TEST=libinput_tests; m $TEST && $ANDROID_HOST_OUT/nativetest64/$TEST/$TEST --gtest_filter="InputConsumerResamplingTest*" Change-Id: I0d065b4368d81a5ea3b7e8791299288f899c6732
1 parent 8f87ade commit 5d59a42

2 files changed

Lines changed: 435 additions & 0 deletions

File tree

libs/input/tests/Android.bp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ cc_test {
1717
"IdGenerator_test.cpp",
1818
"InputChannel_test.cpp",
1919
"InputConsumer_test.cpp",
20+
"InputConsumerResampling_test.cpp",
2021
"InputDevice_test.cpp",
2122
"InputEvent_test.cpp",
2223
"InputPublisherAndConsumer_test.cpp",

0 commit comments

Comments
 (0)