MCPcopy Create free account
hub / github.com/OpenOrienteering/mapper / TestMapEditor

Method TestMapEditor

test/tools_t.cpp:120–126  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

118// ### TestMapEditor ###
119
120TestMapEditor::TestMapEditor(Map* map)
121{
122 window = new MainWindow();
123 editor = new MapEditorController(MapEditorController::MapEditor, map);
124 window->setController(editor);
125 map_widget = editor->getMainWidget();
126}
127
128TestMapEditor::~TestMapEditor()
129{

Callers

nothing calls this directly

Calls 2

setControllerMethod · 0.80
getMainWidgetMethod · 0.80

Tested by

no test coverage detected