• BufferSink saves its output in a buffer and can verify it against expected output.
  • Test fake that allows configuring how to respond to fuchsia.fuzzer.Controller methods.
  • General purpose test context for the ffx fuzz plugin unit tests.



  • Add defaults values to an Options struct.
  • Wraps a given future to display any returned errors using the given writer.
  • Generates a system log entry from the given msg and sends it to the given socket.
  • Serves fuchsia.fuzzer.Controller using test fakes.
  • Serves fuchsia.fuzzer.Manager on the given server_end of a FIDL channel.
  • Verifies that the input was actually written and matches its expected contents.