mirror of
https://github.com/godotengine/godot.git
synced 2024-12-03 09:52:18 +08:00
7de1b1a40d
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. |
||
---|---|---|
.. | ||
core | ||
data | ||
python_build | ||
scene | ||
servers | ||
create_test.py | ||
display_server_mock.h | ||
SCsub | ||
test_macros.cpp | ||
test_macros.h | ||
test_main.cpp | ||
test_main.h | ||
test_tools.h | ||
test_utils.cpp | ||
test_utils.h | ||
test_validate_testing.h |