diff options
author | Siarhei Vishniakou <svv@google.com> | 2017-11-10 20:16:56 -0800 |
---|---|---|
committer | Siarhei Vishniakou <svv@google.com> | 2017-11-20 11:40:01 -0800 |
commit | b0fffdd1638cefdfdc1cdcab789ac203df08c237 (patch) | |
tree | d68a5b9c369fb7f6b3560fb1d95b6b839690a10d /opengl/tests/gl_basic/gl_basic.cpp | |
parent | 8f258042f15a859b6100795fdc27703e4c2af39d (diff) |
Improve InputTransport test coverage
When sequence number is zero, then publicMotionEvent should return
BAD_VALUE. That check happens before the pointerCount check.
Therefore, this test does not currently fail due to a single
bad value of pointerCount, because it is also supplying an
invalid value for sequenceNumber. Use a valid sequenceNumber
value in this test, and add a separate test for bad value
of pointerCount.
Test: m -j libinput_tests_InputPublisherAndConsumer_test && adb push
out/target/product/$TARGET_PRODUCT/data/nativetest64/libinput_tests
/data/nativetest64
then run the binary on the target and check the output
Change-Id: I0d041870da81a1e7b95a1f83f822a0df15ee3a27
Diffstat (limited to 'opengl/tests/gl_basic/gl_basic.cpp')
0 files changed, 0 insertions, 0 deletions