Crate display_mocks

Source
Expand description

Unit test utilities for clients of the fuchsia.hardware.display FIDL API.

Structs§

MockCoordinator
MockCoordinator implements the server-end of the fuchsia.hardware.display.Coordinator protocol. It minimally reproduces the display coordinator driver state machine to respond to FIDL messages in a predictable and configurable manner.

Enums§

MockCoordinatorError
Errors that can be returned by MockCoordinator.

Functions§

create_proxy_and_mock
Create a Zircon channel and return both endpoints with the server end bound to a MockCoordinator.

Type Aliases§

Result
MockCoordinatorError Result type alias.