summaryrefslogtreecommitdiff
path: root/tests/display_server_mock.h
AgeCommit message (Collapse)Author
2023-02-09Add Unit Tests for Viewport InputEvent handlingMarkus Sauermann
2023-01-29[unittests] Send Mouse events via DisplayServer instead of push_inputMarkus Sauermann
Currently Unittests simplify mouse-events by just pushing them to Viewports. For dealing with mouse-screen-coordinates (caused by the introduction of multiple native Windows) it becomes necessary to extend the DisplayServer functionality for unittests. This PR introduces DisplayServerMock based on DisplayServerHeadless, which additionally supports basic Mouse-Input handling.