QmlProfiler: Fix tests involving TimelineModel::color()

Change-Id: Ia3d1ab6be249fb7193ce084b7312e2b6192edad6
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
Ulf Hermann
2016-11-09 18:31:06 +01:00
parent faf77fd0e5
commit 05746be80d
4 changed files with 14 additions and 14 deletions

View File

@@ -122,9 +122,9 @@ void MemoryUsageModelTest::testTypeId()
void MemoryUsageModelTest::testColor()
{
QColor heapPageColor = model.color(0);
QColor smallItemColor = model.color(1);
QColor largeItemColor = model.color(2);
QRgb heapPageColor = model.color(0);
QRgb smallItemColor = model.color(1);
QRgb largeItemColor = model.color(2);
QVERIFY(smallItemColor != heapPageColor);
QVERIFY(largeItemColor != heapPageColor);
QVERIFY(smallItemColor != largeItemColor);