class UnitTestFixture

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

Public Methods

void UnitTestFixture ()

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

Protected Methods

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

Defined at line 37 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 42 of file ../../src/developer/forensics/testing/unit_test_fixture.h

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

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

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

Defined at line 57 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 63 of file ../../src/developer/forensics/testing/unit_test_fixture.h

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

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

inspect::Node & InspectRoot ()

Inspect related methods.

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

inspect::Hierarchy InspectTree ()

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

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

Cobalt related methods

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

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

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

bool WasMethodCalled (cobalt::EventType name)

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

void CloseFactoryConnection ()

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

void CloseLoggerConnection ()

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