~gerboland/qtmir/small-hooks-change

« back to all changes in this revision

Viewing changes to tests/framework/mock_surface.h

  • Committer: Bileto Bot
  • Author(s): Alan Griffiths
  • Date: 2017-03-28 17:13:24 UTC
  • mfrom: (625.3.3 qtmir)
  • Revision ID: ci-train-bot@canonical.com-20170328171324-zb2zo37unynmzu23
Compatibility with lp:mir and lp:~alan-griffiths/miral/1.3

Approved by: Gerry Boland, Unity8 CI Bot

Show diffs side-by-side

added added

removed removed

Lines of Context:
60
60
    MOCK_CONST_METHOD0(cursor_image, std::shared_ptr<graphics::CursorImage>());
61
61
    MOCK_METHOD1(add_observer, void(std::shared_ptr<SurfaceObserver> const& observer));
62
62
    MOCK_METHOD1(remove_observer, void(std::weak_ptr<SurfaceObserver> const& observer));
 
63
#if MIR_SERVER_VERSION < MIR_VERSION_NUMBER(0, 27, 0)
63
64
    MOCK_CONST_METHOD0(input_channel, std::shared_ptr<input::InputChannel>());
 
65
#endif
64
66
    MOCK_METHOD1(set_reception_mode, void(input::InputReceptionMode mode));
65
67
    MOCK_METHOD0(request_client_surface_close, void());
66
68
    MOCK_CONST_METHOD1(buffers_ready_for_compositor, int(void const*));