class MockSymbolServer

Defined at line 14 of file ../../src/developer/debug/zxdb/client/mock_symbol_server.h

Mocks out the typical curl interfaces to allow tests to intercept and inspect

the method calls.

Public Members

function_impl on_fetch
function_impl on_do_authenticate

Public Methods

void MockSymbolServer (Session * session, const std::string & url)

Defined at line 16 of file ../../src/developer/debug/zxdb/client/mock_symbol_server.h

void InitForTest ()

Finishes constructing the object. This is manual for the mock class so we can get our

instrumentation in place before we do the heavier parts of the initialization.

Defined at line 20 of file ../../src/developer/debug/zxdb/client/mock_symbol_server.h

void ForceReady ()

Force the symbol server into the ready state.

Defined at line 31 of file ../../src/developer/debug/zxdb/client/mock_symbol_server.h

void ForceUnreachable ()

Force the symbol server into the unreachable state.

Defined at line 34 of file ../../src/developer/debug/zxdb/client/mock_symbol_server.h

void Fetch (const std::string & build_id, DebugSymbolFileType file_type, SymbolServer::FetchCallback cb)

Implementation of Symbol server.

Defined at line 37 of file ../../src/developer/debug/zxdb/client/mock_symbol_server.h