MCPcopy Create free account
hub / github.com/BehaviorTree/Groot / loadModelLess

Method loadModelLess

test/editor_test.cpp:473–489  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

471}
472
473void EditorTest::loadModelLess()
474{
475 QString file_xml = readFile("://simple_without_model.xml");
476 main_win->on_actionClear_triggered();
477 main_win->loadFromXML( file_xml );
478
479 auto models = main_win->registeredModels();
480
481 QVERIFY( models.find("moverobot") != models.end() );
482
483 const auto& moverobot_model = models.at("moverobot");
484
485// QCOMPARE( moverobot_model.params.size(), size_t(1) );
486// QCOMPARE( moverobot_model.params.front().label, tr("location") );
487// QCOMPARE( moverobot_model.params.front().value, tr("1") );
488
489}
490
491void EditorTest::longNames()
492{

Callers

nothing calls this directly

Calls 2

loadFromXMLMethod · 0.80

Tested by

no test coverage detected