MCPcopy Create free account
hub / github.com/comaps/comaps / SetStorageForTesting

Method SetStorageForTesting

libs/editor/osm_editor.hpp:108–108  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

106 void SetDelegate(std::unique_ptr<Delegate> delegate) { m_delegate = std::move(delegate); }
107
108 void SetStorageForTesting(std::unique_ptr<editor::StorageBase> storage) { m_storage = std::move(storage); }
109
110 void ResetNotes() { m_notes = editor::Notes::MakeNotes(); }
111

Callers 4

LoadExistingEditsXmlMethod · 0.80
SetUpEditorForTestingFunction · 0.80

Calls

no outgoing calls

Tested by 3

LoadExistingEditsXmlMethod · 0.64