| 18 | } |
| 19 | |
| 20 | void 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 |