class CoordinatorProxyTest

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

Public Members

static const uint32_t kMaxDisplayLayersCount
static array kSupportedDisplayModes

Protected Members

Loop display_coordinator_loop_
unique_ptr mock_coordinator_
unique_ptr coordinator_proxy_
WireClient 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 42 of file ../../src/ui/scenic/lib/display/tests/coordinator_proxy_unittest.cc

void SetUp ()

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

void TearDown ()

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

void PingMockDisplayCoordinator (CoordinatorProxy * proxy)

Synchronously calls `GetLatestCommittedConfigStamp()` 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 112 of file ../../src/ui/scenic/lib/display/tests/coordinator_proxy_unittest.cc