JoystickInputMapperTest: migrate to InputMapperUnitTest
Bug: 283812079
Test: atest frameworks/native/services/inputflinger/tests/JoystickInputMapper_test.cpp
Test: atest frameworks/native/services/inputflinger/tests/CursorInputMapper_test.cpp
Flag: TEST_ONLY
Change-Id: Ia270695bf49cf3453b4d3ad7c0276bc6b7e6a963
diff --git a/services/inputflinger/tests/InterfaceMocks.h b/services/inputflinger/tests/InterfaceMocks.h
index d51c708..5a3d79d 100644
--- a/services/inputflinger/tests/InterfaceMocks.h
+++ b/services/inputflinger/tests/InterfaceMocks.h
@@ -198,6 +198,7 @@
: InputDevice(context, id, generation, identifier) {}
MOCK_METHOD(uint32_t, getSources, (), (const, override));
+ MOCK_METHOD(std::optional<DisplayViewport>, getAssociatedViewport, (), (const));
MOCK_METHOD(bool, isEnabled, (), ());
MOCK_METHOD(void, dump, (std::string& dump, const std::string& eventHubDevStr), ());