Crate display_mocks

source ·
Expand description

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


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.


Errors that can be returned by MockController.


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

Type Definitions

MockControllerError Result type alias.