Flutter Engine
The Flutter Engine
|
Public Member Functions | |
FlutterEmbedderTest () | |
bool | HasViewConnected (const fuchsia::ui::observation::geometry::ViewTreeWatcherPtr &view_tree_watcher, std::optional< fuchsia::ui::observation::geometry::WatchResponse > &watch_response, zx_koid_t view_ref_koid) |
void | LaunchParentViewInRealm (const std::vector< std::string > &component_args={}) |
fuchsia_test_utils::Screenshot | TakeScreenshot () |
bool | TakeScreenshotUntil (fuchsia_test_utils::Pixel color, fit::function< void(std::map< fuchsia_test_utils::Pixel, uint32_t >)> callback=nullptr, zx::duration timeout=kTestTimeout) |
Definition at line 115 of file flutter-embedder-test.cc.
|
inline |
Definition at line 118 of file flutter-embedder-test.cc.
bool flutter_embedder_test::FlutterEmbedderTest::HasViewConnected | ( | const fuchsia::ui::observation::geometry::ViewTreeWatcherPtr & | view_tree_watcher, |
std::optional< fuchsia::ui::observation::geometry::WatchResponse > & | watch_response, | ||
zx_koid_t | view_ref_koid | ||
) |
Definition at line 298 of file flutter-embedder-test.cc.
void flutter_embedder_test::FlutterEmbedderTest::LaunchParentViewInRealm | ( | const std::vector< std::string > & | component_args = {} | ) |
Definition at line 316 of file flutter-embedder-test.cc.
fuchsia_test_utils::Screenshot flutter_embedder_test::FlutterEmbedderTest::TakeScreenshot | ( | ) |
Definition at line 386 of file flutter-embedder-test.cc.
bool flutter_embedder_test::FlutterEmbedderTest::TakeScreenshotUntil | ( | fuchsia_test_utils::Pixel | color, |
fit::function< void(std::map< fuchsia_test_utils::Pixel, uint32_t >)> | callback = nullptr , |
||
zx::duration | timeout = kTestTimeout |
||
) |
Definition at line 406 of file flutter-embedder-test.cc.