class FakeWeaveFactoryDataManager
Defined at line 17 of file ../../src/connectivity/weave/adaptation/tests/fake_weave_factory_data_manager.h
Fake implementation of the fuchsia.weave.FactoryDataManager interface.
Public Members
static const char[] kPairingCode
static const char[] kWeaveCertificate
Public Methods
void NotImplemented_ (const std::string & name)
Replaces all unimplemented functions with a fatal error.
Defined at line 25 of file ../../src/connectivity/weave/adaptation/tests/fake_weave_factory_data_manager.h
void FakeWeaveFactoryDataManager (std::optional<std::string> pairing_code, std::optional<std::string> weave_certificate)
Constructs a FakeWeaveFactoryDataManager using the provided configuration values.
Defined at line 28 of file ../../src/connectivity/weave/adaptation/tests/fake_weave_factory_data_manager.h
void FakeWeaveFactoryDataManager ()
Constructs a FakeWeaveFactoryDataManager using the default configuration values.
Defined at line 33 of file ../../src/connectivity/weave/adaptation/tests/fake_weave_factory_data_manager.h
void GetPairingCode (GetPairingCodeCallback callback)
Returns the pairing code or an error code.
Defined at line 36 of file ../../src/connectivity/weave/adaptation/tests/fake_weave_factory_data_manager.h
void GetWeaveCertificate (GetWeaveCertificateCallback callback)
Returns the certificate or an error code.
Defined at line 52 of file ../../src/connectivity/weave/adaptation/tests/fake_weave_factory_data_manager.h
fidl::InterfaceRequestHandler<fuchsia::weave::FactoryDataManager> GetHandler (async_dispatcher_t * dispatcher)
Returns an interface request handler to attach to a service directory.
Defined at line 73 of file ../../src/connectivity/weave/adaptation/tests/fake_weave_factory_data_manager.h
void Close (zx_status_t epitaph_value)
Closes the binding, simulating the service going away.
Defined at line 81 of file ../../src/connectivity/weave/adaptation/tests/fake_weave_factory_data_manager.h
FakeWeaveFactoryDataManager & set_pairing_code (std::optional<std::string> pairing_code)
Update the pairing code.
Defined at line 84 of file ../../src/connectivity/weave/adaptation/tests/fake_weave_factory_data_manager.h
FakeWeaveFactoryDataManager & set_weave_certificate (std::optional<std::string> weave_certificate)
Update the weave certificate.
Defined at line 90 of file ../../src/connectivity/weave/adaptation/tests/fake_weave_factory_data_manager.h