Expand description
Provides testutils for testing implementations of clients and servers of fuchsia.net.routes.admin.
Functions§
- serve_
all_ route_ sets_ with_ table_ id - TODO(https://fxbug.dev/337298251): Change this to return a RouteSet index beside the RouteSet item to make it easier to determine which RouteSet pertains to the transmitted requests.
- serve_
noop_ route_ sets - Provides a RouteTable implementation that serves no-op RouteSets.
- serve_
noop_ route_ sets_ with_ table_ id - Provides a RouteTable implementation that serves no-op RouteSets and identifies itself with the given ID.
- serve_
one_ route_ set - Provides a RouteTable implementation that provides one RouteSet and then panics on subsequent invocations. Returns the request stream for that RouteSet.