| 471 | } |
| 472 | |
| 473 | void 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 | |
| 491 | void EditorTest::longNames() |
| 492 | { |
nothing calls this directly
no test coverage detected