class UnitTestFixture

Defined at line 33 of file ../../src/developer/forensics/testing/unit_test_fixture.h

Public Methods

void UnitTestFixture ()

Defined at line 35 of file ../../src/developer/forensics/testing/unit_test_fixture.h

Protected Methods

std::shared_ptr<sys::ServiceDirectory> & services ()

Defined at line 38 of file ../../src/developer/forensics/testing/unit_test_fixture.h

template <typename Protocol>
void AddHandler (::fidl::InterfaceRequestHandler<Protocol> handler, const char * name)

Defined at line 43 of file ../../src/developer/forensics/testing/unit_test_fixture.h

template <typename Protocol>
void AddHandler (::fit::function<void (::fidl::ServerEnd<Protocol>)> handler, std::string name)

Defined at line 52 of file ../../src/developer/forensics/testing/unit_test_fixture.h

template <typename ServiceProvider>
void InjectServiceProvider (ServiceProvider * service_provider, const char * name)

Defined at line 64 of file ../../src/developer/forensics/testing/unit_test_fixture.h

template <typename Protocol>
void InjectServiceProvider (stubs::FidlServer<Protocol> * server)

Defined at line 69 of file ../../src/developer/forensics/testing/unit_test_fixture.h

template <typename Protocol>
void InjectServiceProvider (stubs::FidlServer<Protocol> * server, std::string name)

Defined at line 75 of file ../../src/developer/forensics/testing/unit_test_fixture.h

void InjectServiceProvider (std::unique_ptr<vfs::Service> service, std::string name)

Defined at line 79 of file ../../src/developer/forensics/testing/unit_test_fixture.h

inspect::Node & InspectRoot ()

Inspect related methods.

Defined at line 84 of file ../../src/developer/forensics/testing/unit_test_fixture.h

inspect::Hierarchy InspectTree ()

Defined at line 86 of file ../../src/developer/forensics/testing/unit_test_fixture.h

void SetUpCobaltServer (std::unique_ptr<stubs::CobaltLoggerFactoryBase> server)

Cobalt related methods

Defined at line 93 of file ../../src/developer/forensics/testing/unit_test_fixture.h

const std::vector<cobalt::Event> & ReceivedCobaltEvents ()

Defined at line 100 of file ../../src/developer/forensics/testing/unit_test_fixture.h

bool WasMethodCalled (cobalt::EventType name)

Defined at line 104 of file ../../src/developer/forensics/testing/unit_test_fixture.h

void CloseFactoryConnection ()

Defined at line 108 of file ../../src/developer/forensics/testing/unit_test_fixture.h

void CloseLoggerConnection ()

Defined at line 109 of file ../../src/developer/forensics/testing/unit_test_fixture.h