Crate display_mocks
source ·Expand description
Unit test utilities for clients of the fuchsia.hardware.display
FIDL API.
Structs
MockCoordinator
implements the server-end of thefuchsia.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
- Errors that can be returned by
MockCoordinator
.
Functions
- Create a Zircon channel and return both endpoints with the server end bound to a
MockCoordinator
.
Type Definitions
- MockCoordinatorError Result type alias.