Use toytoolkit in a test for interactive window move
Submitted by Pekka Paalanen
Assigned to Wayland bug list
Write a test, that:
- creates a window with normal decorations using toytoolkit
- check the window position via the test extension
- sends fake input events 3.1. move the pointer over the window title bar 3.2. button down 3.3. move the pointer to another place 3.4. button up
- check the window position via the test extension, that it moved correctly
This sounds simple, but requires one to write the infrastructure for using toytoolkit in tests, maybe change how wl_test pointer events are done, and add a way to query surface location.
For examples, see https://github.com/01org/wayland-fits for the test protocol and the weston plugin.
If bug #83987 is implemented, can also add screenshot based verification, which would make sure that toytoolkit draws decorations properly. But that opens a whole new road for adding tests.