fidl_fuchsia_net_routes_ext::testutil

Module admin

Source
Expand description

Provides testutils for testing implementations of clients and servers of fuchsia.net.routes.admin.

Functionsยง

  • 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.
  • Provides a RouteTable implementation that serves no-op RouteSets.
  • Provides a RouteTable implementation that serves no-op RouteSets and identifies itself with the given ID.
  • Provides a RouteTable implementation that provides one RouteSet and then panics on subsequent invocations. Returns the request stream for that RouteSet.