Crate display_mocks

source ·
Expand description

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


  • 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.



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

Type Aliases§

  • MockCoordinatorError Result type alias.