Flutter Engine
 
Loading...
Searching...
No Matches
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 391 of file external_view_embedder_unittests.cc.

Constructor & Destructor Documentation

◆ ExternalViewEmbedderTest()

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

Definition at line 393 of file external_view_embedder_unittests.cc.

394 : session_subloop_(loop_.StartNewLoop()),
395 flatland_connection_(CreateFlatlandConnection()),
396 fake_surface_producer_(
397 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 406 of file external_view_embedder_unittests.cc.

406{ return fake_flatland_; }

◆ fake_surface_producer()

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

Definition at line 402 of file external_view_embedder_unittests.cc.

402 {
403 return fake_surface_producer_;
404 }

◆ flatland_connection()

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

Definition at line 408 of file external_view_embedder_unittests.cc.

408 {
409 return flatland_connection_;
410 }

◆ loop()

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

Definition at line 400 of file external_view_embedder_unittests.cc.

400{ return loop_; }

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