class FakeRegistrar
Defined at line 29 of file ../../src/sys/fuzzing/common/testing/registrar.h
|FakeRegistrar| runs a simple implementation of |fuchsia.fuzzer.Registrar| locally.
Public Methods
void FakeRegistrar (ExecutorPtr executor)
Defined at line 15 of file ../../src/sys/fuzzing/common/testing/registrar.cc
fidl::InterfaceHandle<Registrar> NewBinding ()
Defined at line 18 of file ../../src/sys/fuzzing/common/testing/registrar.cc
void Register (std::string url, ControllerProviderHandle provider, RegisterCallback callback)
FIDL methods.
TODO(https://fxbug.dev/42056592): Change the type of |url| when a proper FIDL URL type is available.
Defined at line 24 of file ../../src/sys/fuzzing/common/testing/registrar.cc
Promise<ControllerProviderHandle> TakeProvider ()
Returns a promise to return the next |ControllerProvider| handle sent to this object via the
|fuchsia.fuzzer.Registrar/Register| FIDL method.
Defined at line 31 of file ../../src/sys/fuzzing/common/testing/registrar.cc
void ~FakeRegistrar ()
Defined at line 32 of file ../../src/sys/fuzzing/common/testing/registrar.h