History log of /frameworks/native/libs/input/tests/InputEvent_test.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
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/InputEvent_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/InputEvent_test.cpp
b8290c2642ec7a0cb8a1703a7e1e8958a6a5f9f3 06-May-2014 Narayan Kamath <narayan@google.com> Fix InputEvent_test.

Axis 0 sets the MSB and Axis 63 sets the LSB, and not
the other way round like the test expects.

This was broken by commit 38dcdff3087f01 which moved this
code over to using BitSet.

Change-Id: I63a72abe7ce14720b0bf26e5f6d651bb42452f79
/frameworks/native/libs/input/tests/InputEvent_test.cpp
313eff7bb7e5eedbdbea805343451fd473241266 16-Jul-2013 Jeff Brown <jeffbrown@google.com> Completely remove skia dependency from libinput.

Including the tests...

Change-Id: I6ec8f1a5ae7e7514831d7e3b430b3b37b0841b92
/frameworks/native/libs/input/tests/InputEvent_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/InputEvent_test.cpp