class FakeSystemData

Defined at line 18 of file ../../third_party/cobalt/src/system_data/fake_system_data.h

Mock of the SystemDataInterface. Used for testing.

Public Methods

void FakeSystemData ()

Defined at line 20 of file ../../third_party/cobalt/src/system_data/fake_system_data.h

const SystemProfile & system_profile ()

Defined at line 31 of file ../../third_party/cobalt/src/system_data/fake_system_data.h

void SetVersion (const std::string & version)

Defined at line 33 of file ../../third_party/cobalt/src/system_data/fake_system_data.h

void SetAppVersion (const std::string & app_version)

Defined at line 38 of file ../../third_party/cobalt/src/system_data/fake_system_data.h

void SetChannel (std::optional<std::string> channel)

Defined at line 43 of file ../../third_party/cobalt/src/system_data/fake_system_data.h

const std::string & app_version ()

Defined at line 50 of file ../../third_party/cobalt/src/system_data/fake_system_data.h

const std::string & channel ()

Defined at line 52 of file ../../third_party/cobalt/src/system_data/fake_system_data.h

const ReleaseStage & release_stage ()

Defined at line 54 of file ../../third_party/cobalt/src/system_data/fake_system_data.h

void ResetInternalMetrics (logger::InternalMetrics * internal_metrics)

Defined at line 56 of file ../../third_party/cobalt/src/system_data/fake_system_data.h

void OnChange (std::function<void ()> callback)

Defined at line 58 of file ../../third_party/cobalt/src/system_data/fake_system_data.h

void NotifyChange ()

Defined at line 62 of file ../../third_party/cobalt/src/system_data/fake_system_data.h

void ResetChangeCallbacks ()

Defined at line 68 of file ../../third_party/cobalt/src/system_data/fake_system_data.h