class FakeFactoryWeaveFactoryStoreProvider

Defined at line 17 of file ../../src/connectivity/weave/adaptation/tests/fake_factory_weave_factory_store_provider.h

Fake implementation of the fuchsia.factory.FactoryStoreProvider interface.

Public Methods

void NotImplemented_ (const std::string & name)

Replaces all unimplemented functions with a fatal error.

Defined at line 21 of file ../../src/connectivity/weave/adaptation/tests/fake_factory_weave_factory_store_provider.h

void GetFactoryStore (fidl::InterfaceRequest<fuchsia::io::Directory> directory)

Returns a directory containing the factory data.

Defined at line 24 of file ../../src/connectivity/weave/adaptation/tests/fake_factory_weave_factory_store_provider.h

fidl::InterfaceRequestHandler<fuchsia::factory::WeaveFactoryStoreProvider> GetHandler (async_dispatcher_t * dispatcher)

Returns an interface request handler to attach to a service directory.

Defined at line 29 of file ../../src/connectivity/weave/adaptation/tests/fake_factory_weave_factory_store_provider.h

void Close (zx_status_t epitaph_value)

Closes the binding, simulating the service going away.

Defined at line 39 of file ../../src/connectivity/weave/adaptation/tests/fake_factory_weave_factory_store_provider.h

FakeFactoryWeaveFactoryStoreProvider & set_directory (FakeDirectory & directory)

Set the directory attached to this factory store provider.

Defined at line 42 of file ../../src/connectivity/weave/adaptation/tests/fake_factory_weave_factory_store_provider.h

FakeDirectory & directory ()

Get the directory attached to this factory store provider.

Defined at line 48 of file ../../src/connectivity/weave/adaptation/tests/fake_factory_weave_factory_store_provider.h