Crate fuchsia_fuzzctl_test
Source - BufferSink
BufferSink
saves its output in a buffer and can verify it against expected output.- FakeController
- Test fake that allows configuring how to respond to
fuchsia.fuzzer.Controller
methods. - Test
- General purpose test context for the
ffx fuzz
plugin unit tests.
- TEST_URL
- add_defaults
- Add defaults values to an
Options
struct. - create_task
- Wraps a given
future
to display any returned errors using the given writer
. - send_log_entry
- Generates a system log entry from the given
msg
and sends it to the given socket
. - serve_controller
- Serves
fuchsia.fuzzer.Controller
using test fakes. - serve_manager
- Serves
fuchsia.fuzzer.Manager
on the given server_end
of a FIDL channel. - verify_saved
- Verifies that the input was actually written and matches its expected contents.