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

Function TearDownEditorForTesting

libs/editor/editor_tests_support/helpers.cpp:20–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18}
19
20void TearDownEditorForTesting()
21{
22 auto & editor = osm::Editor::Instance();
23 editor.ClearAllLocalEdits();
24 editor.ResetNotes();
25 editor.SetDelegate({});
26 editor.SetDefaultStorage();
27}
28} // namespace tests_support
29} // namespace editor

Callers 2

~TestWithCustomMwmsMethod · 0.85
~EditorTestMethod · 0.85

Calls 4

ClearAllLocalEditsMethod · 0.80
ResetNotesMethod · 0.80
SetDelegateMethod · 0.80
SetDefaultStorageMethod · 0.80

Tested by 2

~TestWithCustomMwmsMethod · 0.68
~EditorTestMethod · 0.68