Expand description
Test utilities for the fuchsia.net.neighbors FIDL library.
This library defines a mix of internal and external test utilities,
supporting tests of this fidl_fuchsia_net_neighbor_ext crate and tests
of clients of the fuchsia.net.neighbors FIDL library, respectively.
Enums§
- Event
Spec - Specification for a generated neighbor event.
Functions§
- create_
fake_ view - Create a
ViewProxywhose server end will respond to the firstOpenEntryIteratorrequest it receives by returning an entry iterator backed by the given event stream. The returned future drives the entry iterator implementation. - generate_
event - Generates an arbitrary but valid neighbor entry iterator item that is unique
to the given
seed. - generate_
event_ from_ spec - Generates a neighbor entry iterator item from the provided spec.
- generate_
events_ from_ spec - Generates a list of neighbor entry iterator items from the provided spec.
- generate_
events_ in_ range - Generates a list of arbitrary but valid neighbor entry iterator items, one
for each value in the provided range of
seeds. - serve_
view_ request - Serve an
OpenEntryIteratorrequest to theViewprotocol by instantiating an entry iterator client backed by the given event stream. The returned future drives the entry iterator implementation.