MCPcopy Create free account
hub / github.com/KDE/kdevelop / testModelListing

Method testModelListing

kdevplatform/shell/tests/test_problemmodelset.cpp:115–124  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

113}
114
115void TestProblemModelSet::testModelListing()
116{
117 QVector<ModelData> models = m_set->models();
118 QCOMPARE(models.size(), testModelCount);
119
120 for (int i = 0; i < testModelCount; i++) {
121 QCOMPARE(models[i].name, m_testData[i].name);
122 QCOMPARE(models[i].model, m_testData[i].model);
123 }
124}
125
126void TestProblemModelSet::testRemoveModel()
127{

Callers

nothing calls this directly

Calls 2

modelsMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected