Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Protected Member Functions | List of all members
flutter_runner::testing::FakeFlatlandTest Class Reference
Inheritance diagram for flutter_runner::testing::FakeFlatlandTest:

Protected Member Functions

 FakeFlatlandTest ()
 
 ~FakeFlatlandTest () override=default
 
async::TestLoop & loop ()
 
FakeFlatlandfake_flatland ()
 
fuchsia::ui::composition::FlatlandPtr ConnectFlatland ()
 

Detailed Description

Definition at line 25 of file fake_flatland_unittests.cc.

Constructor & Destructor Documentation

◆ FakeFlatlandTest()

flutter_runner::testing::FakeFlatlandTest::FakeFlatlandTest ( )
inlineprotected

Definition at line 27 of file fake_flatland_unittests.cc.

27: flatland_subloop_(loop_.StartNewLoop()) {}

◆ ~FakeFlatlandTest()

flutter_runner::testing::FakeFlatlandTest::~FakeFlatlandTest ( )
overrideprotecteddefault

Member Function Documentation

◆ ConnectFlatland()

fuchsia::ui::composition::FlatlandPtr flutter_runner::testing::FakeFlatlandTest::ConnectFlatland ( )
inlineprotected

Definition at line 34 of file fake_flatland_unittests.cc.

34 {
35 FML_CHECK(!fake_flatland_.is_flatland_connected());
36
37 auto flatland_handle =
38 fake_flatland_.ConnectFlatland(flatland_subloop_->dispatcher());
39 return flatland_handle.Bind();
40 }
fuchsia::ui::composition::FlatlandHandle ConnectFlatland(async_dispatcher_t *dispatcher=nullptr)
#define FML_CHECK(condition)
Definition logging.h:85

◆ fake_flatland()

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

Definition at line 32 of file fake_flatland_unittests.cc.

32{ return fake_flatland_; }

◆ loop()

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

Definition at line 30 of file fake_flatland_unittests.cc.

30{ return loop_; }

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