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

#include <mock_session_listener.h>

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

Public Member Functions

virtual ~MockSessionListener () noexcept(true)
 
 MOCK_METHOD1 (starting, void(std::shared_ptr< shell::Session > const &))
 
 MOCK_METHOD1 (stopping, void(std::shared_ptr< shell::Session > const &))
 
 MOCK_METHOD1 (focused, void(std::shared_ptr< shell::Session > const &))
 
 MOCK_METHOD0 (unfocused, void())
 
 MOCK_METHOD2 (surface_created, void(shell::Session &, std::shared_ptr< shell::Surface > const &))
 
 MOCK_METHOD2 (destroying_surface, void(shell::Session &, std::shared_ptr< shell::Surface > const &))
 
- Public Member Functions inherited from mir::shell::SessionListener
virtual void starting (std::shared_ptr< Session > const &session)=0
 
virtual void stopping (std::shared_ptr< Session > const &session)=0
 
virtual void focused (std::shared_ptr< Session > const &session)=0
 
virtual void unfocused ()=0
 
virtual void surface_created (Session &session, std::shared_ptr< Surface > const &surface)=0
 
virtual void destroying_surface (Session &session, std::shared_ptr< Surface > const &surface)=0
 

Additional Inherited Members

- Protected Member Functions inherited from mir::shell::SessionListener
 SessionListener ()=default
 
virtual ~SessionListener ()=default
 
 SessionListener (const SessionListener &)=delete
 
SessionListeneroperator= (const SessionListener &)=delete
 

Constructor & Destructor Documentation

virtual mir::test::doubles::MockSessionListener::~MockSessionListener ( )
inlinevirtualnoexcept

Member Function Documentation

mir::test::doubles::MockSessionListener::MOCK_METHOD0 ( unfocused  ,
void()   
)
mir::test::doubles::MockSessionListener::MOCK_METHOD1 ( starting  ,
void(std::shared_ptr< shell::Session > const &)   
)
mir::test::doubles::MockSessionListener::MOCK_METHOD1 ( stopping  ,
void(std::shared_ptr< shell::Session > const &)   
)
mir::test::doubles::MockSessionListener::MOCK_METHOD1 ( focused  ,
void(std::shared_ptr< shell::Session > const &)   
)
mir::test::doubles::MockSessionListener::MOCK_METHOD2 ( surface_created  ,
void(shell::Session &, std::shared_ptr< shell::Surface > const &)   
)
mir::test::doubles::MockSessionListener::MOCK_METHOD2 ( destroying_surface  ,
void(shell::Session &, std::shared_ptr< shell::Surface > const &)   
)

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

Copyright © 2012,2013 Canonical Ltd.
Generated on Fri Apr 11 21:14:53 UTC 2014