Expand description
Utilities for writing tests that interact with input events.
Structs§
- Test
Context - Context for a
EventHandlerbased test.
Functions§
- create_
event_ reader - Create an event reader that will map the provided events to the internal representation of the events. This allows for mocking of event input when testing at the highest level of the application.
- create_
test_ keybindings - Create a mocked version of
KeyBindings. - with_
event_ handler - Provide an
EventHandlerinstance for use within a test.