Crate display_mocks

source ·
Expand description

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

Structs

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

Enums

Errors that can be returned by MockController.

Functions

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

Type Definitions

MockControllerError Result type alias.