class MockAsyncTask
Defined at line 27 of file ../../src/developer/debug/zxdb/client/mock_async_task.h
Mock implementation of AsyncTask supporting both console and debug_adapter unit tests.
Public Methods
void MockAsyncTask (Session *session,uint64_tid,std::stringname,Locationloc)
Constructor specifying session, id, name, and optional location.
Defined at line 30 of file ../../src/developer/debug/zxdb/client/mock_async_task.h
void MockAsyncTask (uint64_tid,std::stringname,Locationloc)
Convenience constructor without session.
Defined at line 39 of file ../../src/developer/debug/zxdb/client/mock_async_task.h
void MockAsyncTask (uint64_tid,Typetype,Identifieridentifier,std::stringstate,Locationloc,Session *session)
Detailed constructor specifying id, type, identifier, state, optional location, and session.
Defined at line 43 of file ../../src/developer/debug/zxdb/client/mock_async_task.h
uint64_t GetId ()
Defined at line 52 of file ../../src/developer/debug/zxdb/client/mock_async_task.h
Type GetType ()
Defined at line 53 of file ../../src/developer/debug/zxdb/client/mock_async_task.h
const Location & GetLocation ()
Defined at line 54 of file ../../src/developer/debug/zxdb/client/mock_async_task.h
const Identifier & GetIdentifier ()
Defined at line 55 of file ../../src/developer/debug/zxdb/client/mock_async_task.h
std::string GetState ()
Defined at line 56 of file ../../src/developer/debug/zxdb/client/mock_async_task.h
const std::vector<NamedValue> & GetValues ()
Defined at line 57 of file ../../src/developer/debug/zxdb/client/mock_async_task.h
std::vector<Ref> GetChildren ()
Defined at line 59 of file ../../src/developer/debug/zxdb/client/mock_async_task.h
void set_id (uint64_t id)
Defined at line 67 of file ../../src/developer/debug/zxdb/client/mock_async_task.h
void set_type (Type type)
Defined at line 68 of file ../../src/developer/debug/zxdb/client/mock_async_task.h
void set_location (const Location & loc)
Defined at line 69 of file ../../src/developer/debug/zxdb/client/mock_async_task.h
void set_identifier (Identifier identifier)
Defined at line 70 of file ../../src/developer/debug/zxdb/client/mock_async_task.h
void set_name (std::string name)
Defined at line 71 of file ../../src/developer/debug/zxdb/client/mock_async_task.h
void set_state (std::string state)
Defined at line 74 of file ../../src/developer/debug/zxdb/client/mock_async_task.h
void set_values (std::vector<NamedValue> values)
Defined at line 75 of file ../../src/developer/debug/zxdb/client/mock_async_task.h
void set_children (std::vector<Ref> children)
Defined at line 76 of file ../../src/developer/debug/zxdb/client/mock_async_task.h
void AddChild (std::unique_ptr<MockAsyncTask> child)
Defined at line 78 of file ../../src/developer/debug/zxdb/client/mock_async_task.h