~mir-team/unity-system-compositor/toggle-cursor2

« back to all changes in this revision

Viewing changes to tests/unit-tests/test_session_switcher.cpp

Use the new mir::shell::WindowManager interface instead of wrapping the default shell.

Approved by Alexandros Frantzis, Kevin DuBois, PS Jenkins bot.

Show diffs side-by-side

added added

removed removed

Lines of Context:
98
98
 
99
99
    std::shared_ptr<mir::frontend::Surface> get_surface(mir::frontend::SurfaceId surface) const override { return nullptr; }
100
100
 
 
101
    mir::frontend::BufferStreamId create_buffer_stream(mir::graphics::BufferProperties const& /*props*/) override { return {}; }
 
102
    std::shared_ptr<mir::frontend::BufferStream> get_buffer_stream(mir::frontend::BufferStreamId /*stream*/) const override { return nullptr; }
 
103
    void destroy_buffer_stream(mir::frontend::BufferStreamId /*stream*/) override {}
 
104
 
101
105
    std::string name() const override { return name_; }
102
106
 
103
107
private: