~mir-team/mir/development-branch

« back to all changes in this revision

Viewing changes to tests/acceptance-tests/test_client_library.cpp

  • Committer: Tarmac
  • Author(s): Christopher James Halse Rogers
  • Date: 2014-10-27 22:31:16 UTC
  • mfrom: (1840.3.30 bug-bug-debug-the-bugs)
  • Revision ID: tarmac-20141027223116-h1ggv4pjurucd2d9
Add a debug interface to translate from surface to screen coordinates.

This is the Mir part of the infrastructure for Autopilot to determine the screen location of widgets, for full-stack testing.

This is hidden behind a --debug server option, to make it absolutely clear that applications cannot depend on this functionality outside of a constrained environment.

(See also https://lists.ubuntu.com/archives/mir-devel/2014-August/000848.html)

Fixes: https://bugs.launchpad.net/mir/+bug/1346633. Fixes: https://bugs.launchpad.net/bugs/1346633.

Approved by PS Jenkins bot, Alberto Aguirre, Alan Griffiths, Andreas Pokorny, Alexandros Frantzis.

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
 */
18
18
 
19
19
#include "mir_toolkit/mir_client_library.h"
20
 
#include "mir_toolkit/mir_client_library_debug.h"
21
20
 
22
21
#include "mir_test_framework/stubbed_server_configuration.h"
23
22
#include "mir_test_framework/in_process_server.h"