class FlatlandViewIntegrationTest

Defined at line 38 of file ../../src/ui/scenic/tests/flatland_integration_tests/flatland_view_integration_test.cc

Test fixture that sets up an environment with a Scenic we can connect to.

TODO(https://fxbug.dev/447603809): DO NOT COPY THIS TEST.

All HLCCP tests, and should be migrated from ScenicCtfHlcppTest to ScenicCtfHlcppTest.

Protected Members

SynchronousInterfacePtr flatland_display_
uint32_t display_width_
uint32_t display_height_
optional last_error_

Public Methods

void FlatlandViewIntegrationTest ()

Defined at line 40 of file ../../src/ui/scenic/tests/flatland_integration_tests/flatland_view_integration_test.cc

Protected Methods

void SetUp ()

Defined at line 44 of file ../../src/ui/scenic/tests/flatland_integration_tests/flatland_view_integration_test.cc

void CreateAndSetViewport (fuc::FlatlandPtr & flatland, fuv::ViewportCreationToken && viewport_creation_token, fidl::InterfacePtr<fuc::ChildViewWatcher> & child_view_watcher)

Create a new transform and viewport, then call |BlockingPresent| to wait for it to take

effect. This can be called only once per Flatland instance, because it uses hard-coded IDs for

the transform and viewport.

Defined at line 62 of file ../../src/ui/scenic/tests/flatland_integration_tests/flatland_view_integration_test.cc

fuc::FlatlandPtr MakeFlatland ()

Defined at line 78 of file ../../src/ui/scenic/tests/flatland_integration_tests/flatland_view_integration_test.cc