| 60 | } |
| 61 | |
| 62 | void TestProblemsView::testLoad() |
| 63 | { |
| 64 | m_view->load(); |
| 65 | |
| 66 | // Check that the initial model's tab shows up |
| 67 | QTabWidget* tab = tabWidget(); |
| 68 | QVERIFY(tab); |
| 69 | QCOMPARE(tab->count(), 1); |
| 70 | QCOMPARE(tab->tabText(0), QStringLiteral("MODEL1 (1)")); |
| 71 | } |
| 72 | |
| 73 | void TestProblemsView::testAddModel() |
| 74 | { |