Commit b03bdf63 authored by Ulf Hermann's avatar Ulf Hermann

QmlProfiler: Update QmlNote test

Change-Id: I3735e70429e67dca9b8f02ef13174bef8530abf6
Reviewed-by: Christian Kandeler's avatarChristian Kandeler <christian.kandeler@qt.io>
parent 48395b0e
......@@ -40,6 +40,8 @@ void QmlNoteTest::testAccessors()
QCOMPARE(note.typeIndex(), -1);
QCOMPARE(note.startTime(), -1);
QCOMPARE(note.duration(), 0);
QCOMPARE(note.collapsedRow(), -1);
QVERIFY(!note.loaded());
QVERIFY(note.text().isEmpty());
note.setText("blah");
......@@ -49,7 +51,12 @@ void QmlNoteTest::testAccessors()
QCOMPARE(note2.typeIndex(), 8);
QCOMPARE(note2.startTime(), 9);
QCOMPARE(note2.duration(), 10);
QCOMPARE(note2.collapsedRow(), 5);
QVERIFY(!note2.loaded());
QCOMPARE(note2.text(), QString("semmeln"));
note2.setLoaded(true);
QVERIFY(note2.loaded());
}
void QmlNoteTest::testStreamOps()
......
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