class FlatlandObserverRegistryIntegrationTest

Defined at line 149 of file ../../src/ui/scenic/tests/observer_integration_tests/observer_registry_integration_test.cc

Test fixture that sets up an environment with Registry protocol we can connect to. This test

fixture is used for tests where the view nodes are created by Flatland instances.

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

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

Protected Members

const uint32_t kDefaultSize
float display_width_
float display_height_
InterfacePtr observer_registry_ptr_
InterfacePtr root_session_
zx_koid_t root_view_ref_koid_
InterfacePtr root_focuser_

Protected Methods

void FlatlandObserverRegistryIntegrationTest ()

Defined at line 152 of file ../../src/ui/scenic/tests/observer_integration_tests/observer_registry_integration_test.cc

void SetUp ()

Defined at line 156 of file ../../src/ui/scenic/tests/observer_integration_tests/observer_registry_integration_test.cc

void BlockingPresent (fuc_FlatlandPtr & flatland)

Invokes Flatland.Present() and waits for a response from Scenic that the frame has been

presented.

Defined at line 211 of file ../../src/ui/scenic/tests/observer_integration_tests/observer_registry_integration_test.cc

void ConnectChildView (fuc_FlatlandPtr & flatland, fuv_ViewportCreationToken && token)

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 222 of file ../../src/ui/scenic/tests/observer_integration_tests/observer_registry_integration_test.cc

void OnFocusChange (fuf_FocusChain focus_chain, OnFocusChangeCallback callback)

|fuchsia::ui::focus::FocusChainListener|

Defined at line 241 of file ../../src/ui/scenic/tests/observer_integration_tests/observer_registry_integration_test.cc

size_t CountReceivedFocusChains ()

Defined at line 246 of file ../../src/ui/scenic/tests/observer_integration_tests/observer_registry_integration_test.cc

const fuf_FocusChain * LastFocusChain ()

Defined at line 248 of file ../../src/ui/scenic/tests/observer_integration_tests/observer_registry_integration_test.cc