[Wayland-bugs] [Bug 83990] New: Use toytoolkit in a test for interactive window move

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Sep 17 05:58:03 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=83990

          Priority: medium
            Bug ID: 83990
          Assignee: wayland-bugs at lists.freedesktop.org
            Blocks: 83980
           Summary: Use toytoolkit in a test for interactive window move
          Severity: enhancement
    Classification: Unclassified
                OS: All
          Reporter: ppaalanen at gmail.com
          Hardware: All
            Status: NEW
           Version: unspecified
         Component: weston
           Product: Wayland

Write a test, that:
1. creates a window with normal decorations using toytoolkit
2. check the window position via the test extension
3. 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
4. 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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-bugs/attachments/20140917/65bde39b/attachment.html>


More information about the wayland-bugs mailing list