Flutter Engine
flutter::testing::MockSessionWrapper Class Reference
Inheritance diagram for flutter::testing::MockSessionWrapper:
flutter::SessionWrapper

Public Member Functions

 MockSessionWrapper (fuchsia::ui::scenic::SessionPtr session_ptr)
 
 ~MockSessionWrapper () override=default
 
scenic::Session * get () override
 
void Present () override
 
- Public Member Functions inherited from flutter::SessionWrapper
virtual ~SessionWrapper ()
 

Detailed Description

Definition at line 240 of file fuchsia_layer_unittests.cc.

Constructor & Destructor Documentation

◆ MockSessionWrapper()

flutter::testing::MockSessionWrapper::MockSessionWrapper ( fuchsia::ui::scenic::SessionPtr  session_ptr)
inline

Definition at line 242 of file fuchsia_layer_unittests.cc.

243  : session_(std::move(session_ptr)) {}

◆ ~MockSessionWrapper()

flutter::testing::MockSessionWrapper::~MockSessionWrapper ( )
overridedefault

Member Function Documentation

◆ get()

scenic::Session* flutter::testing::MockSessionWrapper::get ( )
inlineoverridevirtual

Implements flutter::SessionWrapper.

Definition at line 246 of file fuchsia_layer_unittests.cc.

246 { return &session_; }

◆ Present()

void flutter::testing::MockSessionWrapper::Present ( )
inlineoverridevirtual

Implements flutter::SessionWrapper.

Definition at line 247 of file fuchsia_layer_unittests.cc.

247 { session_.Flush(); }

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