Commit eaba6ff6 authored by Ulf Hermann's avatar Ulf Hermann

QmlProfiler: Fix pixmapcachemodel test

Since the cache size is not given for individual file events anymore,
the test should only check it for the events in row 1.

Change-Id: Idfc7ec90ab8da214f4eedce36dd3b84fb00ed553
Reviewed-by: Christian Kandeler's avatarChristian Kandeler <>
parent 7477411d
......@@ -242,6 +242,7 @@ void PixmapCacheModelTest::testConsistency()
case 1:
QCOMPARE(collapsedRow, 1);
QVERIFY(details[QLatin1String("displayName")].toString() =="Image Cached"));
QVERIFY(details.contains("Cache Size")));
QVERIFY(collapsedRow > 1);
......@@ -255,7 +256,6 @@ void PixmapCacheModelTest::testConsistency()
QVERIFY(details.contains("Cache Size")));
QString filename = details["File")].toString();
QVERIFY(filename == QString("dings.png") || filename == QString("blah.png"));
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment