Test InputDeviceIdentifier::getCanonicalName
We recently added a function to InputDeviceIdentifier from
InputDevice.h. Add a test for that function here.
Bug: 113575658
Test: atest libinput_tests inputflinger_tests
Change-Id: Ifc6aa1a0731a3800526746b989d32c7e72fdb3f3
diff --git a/libs/input/tests/Android.bp b/libs/input/tests/Android.bp
index 57ba2a2..ade931e 100644
--- a/libs/input/tests/Android.bp
+++ b/libs/input/tests/Android.bp
@@ -3,6 +3,7 @@
name: "libinput_tests",
srcs: [
"InputChannel_test.cpp",
+ "InputDevice_test.cpp",
"InputEvent_test.cpp",
"InputPublisherAndConsumer_test.cpp",
"InputWindow_test.cpp",
@@ -35,6 +36,7 @@
"-O0",
"-Wall",
"-Werror",
+ "-Wextra",
],
shared_libs: [
"libinput",