fidl_fuchsia_ui_focus_test_helpers

Function make_focus_chain

Source
pub fn make_focus_chain(length: usize) -> (FocusChain, Vec<ViewRefControl>)
Expand description

Makes a focus chain of the given length, returning both the FocusChain instance and a vector of all the corresponding ViewRefControls, in the same order.

The ViewRefs are real, but of course do not correspond to any actual views.