◆ FlatlandConnectionTest()
flutter_runner::testing::FlatlandConnectionTest::FlatlandConnectionTest |
( |
| ) |
|
|
inlineprotected |
Definition at line 74 of file flatland_connection_unittests.cc.
75 : session_subloop_(loop_.StartNewLoop()),
76 flatland_handle_(
fuchsia::ui::composition::FlatlandHandle ConnectFlatland(async_dispatcher_t *dispatcher=nullptr)
◆ ~FlatlandConnectionTest()
flutter_runner::testing::FlatlandConnectionTest::~FlatlandConnectionTest |
( |
| ) |
|
|
overrideprotecteddefault |
◆ fake_flatland()
FakeFlatland & flutter_runner::testing::FlatlandConnectionTest::fake_flatland |
( |
| ) |
|
|
inlineprotected |
◆ loop()
async::TestLoop & flutter_runner::testing::FlatlandConnectionTest::loop |
( |
| ) |
|
|
inlineprotected |
◆ OnNextFrameBegin() [1/2]
void flutter_runner::testing::FlatlandConnectionTest::OnNextFrameBegin |
( |
int |
num_present_credits | ) |
|
|
inlineprotected |
Definition at line 107 of file flatland_connection_unittests.cc.
107 {
112 kPresentationTime2);
113 }
void OnNextFrameBegin(int num_present_credits, const fml::TimePoint &presentation_time_1, const fml::TimePoint &presentation_time_2)
static constexpr TimeDelta FromSeconds(int64_t seconds)
◆ OnNextFrameBegin() [2/2]
void flutter_runner::testing::FlatlandConnectionTest::OnNextFrameBegin |
( |
int |
num_present_credits, |
|
|
const fml::TimePoint & |
presentation_time_1, |
|
|
const fml::TimePoint & |
presentation_time_2 |
|
) |
| |
|
inlineprotected |
Definition at line 95 of file flatland_connection_unittests.cc.
97 {
98 fuchsia::ui::composition::OnNextFrameBeginValues on_next_frame_begin_values;
99 on_next_frame_begin_values.set_additional_present_credits(
100 num_present_credits);
101 on_next_frame_begin_values.set_future_presentation_infos(
102 CreateFuturePresentationInfos(presentation_time_1,
103 presentation_time_2));
105 std::move(on_next_frame_begin_values));
106 }
void FireOnNextFrameBeginEvent(fuchsia::ui::composition::OnNextFrameBeginValues on_next_frame_begin_values)
FakeFlatland & fake_flatland()
◆ subloop_dispatcher()
async_dispatcher_t * flutter_runner::testing::FlatlandConnectionTest::subloop_dispatcher |
( |
| ) |
|
|
inlineprotected |
◆ TakeFlatlandHandle()
fidl::InterfaceHandle< fuchsia::ui::composition::Flatland > flutter_runner::testing::FlatlandConnectionTest::TakeFlatlandHandle |
( |
| ) |
|
|
inlineprotected |
The documentation for this class was generated from the following file: