class UnitTestFixture

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

Public Methods

void UnitTestFixture ()

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

Protected Methods

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

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

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

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

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

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

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

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

inspect::Node & InspectRoot ()

Inspect related methods.

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

inspect::Hierarchy InspectTree ()

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

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

Cobalt related methods

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

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

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

bool WasMethodCalled (cobalt::EventType name)

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

void CloseFactoryConnection ()

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

void CloseLoggerConnection ()

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