Flutter Engine
The Flutter Engine
Protected Member Functions | List of all members
flutter_runner::testing::ExternalViewEmbedderTest Class Reference
Inheritance diagram for flutter_runner::testing::ExternalViewEmbedderTest:

Protected Member Functions

 ExternalViewEmbedderTest ()
 
 ~ExternalViewEmbedderTest () override=default
 
async::TestLoop & loop ()
 
std::shared_ptr< FakeSurfaceProducer > fake_surface_producer ()
 
FakeFlatlandfake_flatland ()
 
std::shared_ptr< FlatlandConnectionflatland_connection ()
 

Detailed Description

Definition at line 383 of file external_view_embedder_unittests.cc.

Constructor & Destructor Documentation

◆ ExternalViewEmbedderTest()

flutter_runner::testing::ExternalViewEmbedderTest::ExternalViewEmbedderTest ( )
inlineprotected

Definition at line 385 of file external_view_embedder_unittests.cc.

386 : session_subloop_(loop_.StartNewLoop()),
387 flatland_connection_(CreateFlatlandConnection()),
388 fake_surface_producer_(
389 std::make_shared<FakeSurfaceProducer>(CreateFlatlandAllocator())) {}

◆ ~ExternalViewEmbedderTest()

flutter_runner::testing::ExternalViewEmbedderTest::~ExternalViewEmbedderTest ( )
overrideprotecteddefault

Member Function Documentation

◆ fake_flatland()

FakeFlatland & flutter_runner::testing::ExternalViewEmbedderTest::fake_flatland ( )
inlineprotected

Definition at line 398 of file external_view_embedder_unittests.cc.

398{ return fake_flatland_; }

◆ fake_surface_producer()

std::shared_ptr< FakeSurfaceProducer > flutter_runner::testing::ExternalViewEmbedderTest::fake_surface_producer ( )
inlineprotected

Definition at line 394 of file external_view_embedder_unittests.cc.

394 {
395 return fake_surface_producer_;
396 }

◆ flatland_connection()

std::shared_ptr< FlatlandConnection > flutter_runner::testing::ExternalViewEmbedderTest::flatland_connection ( )
inlineprotected

Definition at line 400 of file external_view_embedder_unittests.cc.

400 {
401 return flatland_connection_;
402 }

◆ loop()

async::TestLoop & flutter_runner::testing::ExternalViewEmbedderTest::loop ( )
inlineprotected

Definition at line 392 of file external_view_embedder_unittests.cc.

392{ return loop_; }

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