class MockTarget

Defined at line 12 of file ../../src/developer/debug/zxdb/client/mock_target.h

Public Methods

void SetRunningProcess (Process * process)

Sets the state to running and saves the process pointer. Does not take ownership of the

pointer.

Defined at line 11 of file ../../src/developer/debug/zxdb/client/mock_target.cc

void MockTarget (Session * session)

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

void ~MockTarget ()

Defined at line 15 of file ../../src/developer/debug/zxdb/client/mock_target.h

void Launch (CallbackWithTimestamp callback)

Defined at line 16 of file ../../src/developer/debug/zxdb/client/mock_target.cc

void Kill (Callback callback)

Defined at line 18 of file ../../src/developer/debug/zxdb/client/mock_target.cc

void Attach (uint64_t koid, debug_ipc::AttachConfig config, CallbackWithTimestamp callback)

Defined at line 20 of file ../../src/developer/debug/zxdb/client/mock_target.cc

void set_symbols (TargetSymbols * symbols)

Sets the value returned by GetSymbols(). Does not take ownership.

Defined at line 22 of file ../../src/developer/debug/zxdb/client/mock_target.h

void Detach (Callback callback)

Defined at line 25 of file ../../src/developer/debug/zxdb/client/mock_target.cc

State GetState ()

Target implementation.

Defined at line 25 of file ../../src/developer/debug/zxdb/client/mock_target.h

Process * GetProcess ()

Defined at line 26 of file ../../src/developer/debug/zxdb/client/mock_target.h

void OnProcessExiting (int return_code, uint64_t timestamp)

Defined at line 27 of file ../../src/developer/debug/zxdb/client/mock_target.cc

const TargetSymbols * GetSymbols ()

Defined at line 27 of file ../../src/developer/debug/zxdb/client/mock_target.h

const std::vector<std::string> & GetArgs ()

Defined at line 28 of file ../../src/developer/debug/zxdb/client/mock_target.h

void SetArgs (std::vector<std::string> args)

Defined at line 29 of file ../../src/developer/debug/zxdb/client/mock_target.h

void AssignPreviousConnectedProcess (const debug_ipc::ProcessRecord & record)

Defined at line 36 of file ../../src/developer/debug/zxdb/client/mock_target.h