History log of /frameworks/native/libs/input/tests/InputPublisherAndConsumer_test.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
f93fcf4c403fa4181536821680d495824a4290c5 23-Nov-2017 Siarhei Vishniakou <svv@google.com> Prefer std::string over String8

String8 is obsolete, only use std::string in the
input libraries now.

Bug: 64258224
Test: make
Change-Id: I958b6b281d969138f39cc26825c877a24bc4a853
/frameworks/native/libs/input/tests/InputPublisherAndConsumer_test.cpp
b0fffdd1638cefdfdc1cdcab789ac203df08c237 11-Nov-2017 Siarhei Vishniakou <svv@google.com> 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
/frameworks/native/libs/input/tests/InputPublisherAndConsumer_test.cpp
635cb71a65d361ec107afeafcb49488f6812f7d1 02-Nov-2017 Siarhei Vishniakou <svv@google.com> Fix broken input tests

InputPublisherAndConsumer_test currently segfaults due to
null pointer dereference. This is because 0 is passed instead
of a valid pointer to an allocated int32_t. Also, enforce strict
compiler warnings, include signed comparisons.

Bug: 62033391
Test: m -j libinput_tests_InputEvent_test
libinput_tests_InputChannel_test
libinput_tests_InputPublisherAndConsumer_test
libinput_tests_InputTransport_test libinput_tests_VelocityTracker_test
&& adb push out/target/product/taimen/data/nativetest/libinput_tests/
/data/nativetest/
then run the above tests individually, for example
/data/nativetest/libinput_tests # ./InputPublisherAndConsumer_test
and others in a similar manner

Change-Id: Ia030cdbfa22d2bf7bdf6274a337b059ca3f9a6c3
/frameworks/native/libs/input/tests/InputPublisherAndConsumer_test.cpp
58641508af4e3d3f553ff7e73304866755cfbd5b 31-Jul-2017 Tarandeep Singh <tarandeep@google.com> Add displayId in InputDispatcher, InputTransport

Bug: 62033391
Test: make StructLayout_test
make libinput_tests_InputEvent_test
make libinput_tests_InputPublisherAndConsumer_test
Run tests under /data/nativetest64/libinput_tests/

Change-Id: Id02cab83924d399eae0c1c233dc545fbb64945c2
/frameworks/native/libs/input/tests/InputPublisherAndConsumer_test.cpp
b03f103fd40d9028731a81e87a817a3e3bd07fa4 14-May-2015 Michael Wright <michaelwr@google.com> Fix input tests to work with new MotionEvent member

Change-Id: I0dde0f91f693903f26edc116b5dbcbf33bac2b93
/frameworks/native/libs/input/tests/InputPublisherAndConsumer_test.cpp
5912f95d26f77d2b6df13e1f2672e48e3f9b871c 02-Jul-2013 Jeff Brown <jeffbrown@google.com> Move input library code from frameworks/base.

Change-Id: I4983db61b53e28479fc90d9211fafff68f7f49a6
/frameworks/native/libs/input/tests/InputPublisherAndConsumer_test.cpp