Crate test_helpers

Source

Structs§

InputMethodEditorDispatcher
A KeyDispatcher that uses fuchsia.ui.input.InputMethodEditor to dispatch keypresses.
KeyEventInjectorDispatcher
A KeyDispatcher that uses fuchsia.ui.input3.KeyEventInjector to dispatch keypresses.
KeyMeaningWrapper
Used to reduce verbosity of instantiating KeyMeanings.
KeySimulator
A fixture that can use different services to send key events. Use KeySimulator::new to create a new instance.

Traits§

KeyDispatcher
Provides a method for dispatching keys, in case the tests need to vary them.

Functions§

bind_editor
create_key_event
Creates a KeyEvent with the given parameters.
default_state
get_action
get_state_update
measure_utf16
setup_ime
simulate_ime_keypress
simulate_ime_keypress_with_held_keys
simulate_keypress