class CoordinatorProxyTest

Defined at line 26 of file ../../src/ui/scenic/lib/display/tests/coordinator_proxy_unittest.cc

Public Members

static array kSupportedDisplayModes

Protected Members

Loop display_coordinator_loop_
unique_ptr mock_coordinator_
unique_ptr coordinator_proxy_
SynchronousInterfacePtr sysmem_allocator_
static PixelFormat kPixelFormat

Public Methods

std::pair<std::unique_ptr<testing::StrictMock<MockDisplayCoordinator>>, std::unique_ptr<CoordinatorProxy>> MakeMockDisplayCoordinatorAndCoordinatorProxy (CoordinatorProxy::CheckConfigHeuristics check_conifg_heuristics)

Used to construct the default `mock_coordinator_` that is available in all tests. It is also

available to tests that need to create their own mock coordinator (and `CoordinatorProxy`).

Defined at line 38 of file ../../src/ui/scenic/lib/display/tests/coordinator_proxy_unittest.cc

void SetUp ()

Defined at line 73 of file ../../src/ui/scenic/lib/display/tests/coordinator_proxy_unittest.cc

void TearDown ()

Defined at line 84 of file ../../src/ui/scenic/lib/display/tests/coordinator_proxy_unittest.cc

fidl::InterfaceHandle<fuchsia::sysmem2::BufferCollectionToken> CreateToken ()

Defined at line 103 of file ../../src/ui/scenic/lib/display/tests/coordinator_proxy_unittest.cc

void PingMockDisplayCoordinator (CoordinatorProxy * proxy)

Synchronously calls `GetLatestAppliedConfigStamp()` on the display coordinator. When we

receive the response from this, we know that the coordinator has also received/processed any

previously-sent messages.

Defined at line 120 of file ../../src/ui/scenic/lib/display/tests/coordinator_proxy_unittest.cc