diff --git a/src/plugins/qmlprofiler/tests/pixmapcachemodel_test.cpp b/src/plugins/qmlprofiler/tests/pixmapcachemodel_test.cpp index adfd1682427..67a799d68fd 100644 --- a/src/plugins/qmlprofiler/tests/pixmapcachemodel_test.cpp +++ b/src/plugins/qmlprofiler/tests/pixmapcachemodel_test.cpp @@ -242,6 +242,7 @@ void PixmapCacheModelTest::testConsistency() case 1: QCOMPARE(collapsedRow, 1); QVERIFY(details[QLatin1String("displayName")].toString() == model.tr("Image Cached")); + QVERIFY(details.contains(model.tr("Cache Size"))); break; default: QVERIFY(collapsedRow > 1); @@ -255,7 +256,6 @@ void PixmapCacheModelTest::testConsistency() break; } - QVERIFY(details.contains(model.tr("Cache Size"))); QString filename = details[model.tr("File")].toString(); QVERIFY(filename == QString("dings.png") || filename == QString("blah.png")); QVERIFY(details.contains(model.tr("Width")));