Mir
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Public Member Functions | List of all members
mir::test::doubles::MockShell Struct Reference

#include <mock_shell.h>

Inheritance diagram for mir::test::doubles::MockShell:
Inheritance graph
[legend]

Public Member Functions

 MOCK_METHOD2 (open_session, std::shared_ptr< frontend::Session >(std::string const &, std::shared_ptr< frontend::EventSink > const &))
 
 MOCK_METHOD1 (close_session, void(std::shared_ptr< frontend::Session > const &))
 
 MOCK_METHOD2 (create_surface_for, frontend::SurfaceId(std::shared_ptr< frontend::Session > const &, shell::SurfaceCreationParameters const &))
 
 MOCK_METHOD1 (handle_surface_created, void(std::shared_ptr< frontend::Session > const &))
 
- Public Member Functions inherited from mir::frontend::Shell
virtual ~Shell ()
 
virtual std::shared_ptr< Sessionopen_session (std::string const &name, std::shared_ptr< EventSink > const &sink)=0
 
virtual void close_session (std::shared_ptr< Session > const &session)=0
 
virtual SurfaceId create_surface_for (std::shared_ptr< Session > const &session, shell::SurfaceCreationParameters const &params)=0
 
virtual void handle_surface_created (std::shared_ptr< Session > const &session)=0
 

Additional Inherited Members

- Protected Member Functions inherited from mir::frontend::Shell
 Shell ()=default
 
 Shell (const Shell &)=delete
 
Shelloperator= (const Shell &)=delete
 

Member Function Documentation

mir::test::doubles::MockShell::MOCK_METHOD1 ( close_session  ,
void(std::shared_ptr< frontend::Session > const &)   
)
mir::test::doubles::MockShell::MOCK_METHOD1 ( handle_surface_created  ,
void(std::shared_ptr< frontend::Session > const &)   
)
mir::test::doubles::MockShell::MOCK_METHOD2 ( open_session  ,
std::shared_ptr< frontend::Session std::string const &, std::shared_ptr< frontend::EventSink > const & 
)
mir::test::doubles::MockShell::MOCK_METHOD2 ( create_surface_for  ,
frontend::  SurfaceIdstd::shared_ptr< frontend::Session > const &, shell::SurfaceCreationParameters const & 
)

The documentation for this struct was generated from the following file:

Copyright © 2012,2013 Canonical Ltd.
Generated on Tue Oct 15 00:23:28 UTC 2013