diff options
author | Jason McDonald <jason.mcdonald@nokia.com> | 2011-11-07 19:19:27 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-11-10 04:42:45 +0100 |
commit | 8e11f7c93a1f7df0d10e2f851283c825ca39b75b (patch) | |
tree | 6f02b39217acd9fb9c033fbe908b8ebb1859896a /tests/auto/corelib/tools/qtimeline | |
parent | 2cd47107155fc251747028b9b0ae6d2c9e69e06c (diff) |
Cleanup corelib autotests
Remove literal tabs.
Change-Id: I210a0259773cceb20d35ebc80b889e3ebb88b540
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
Diffstat (limited to 'tests/auto/corelib/tools/qtimeline')
-rw-r--r-- | tests/auto/corelib/tools/qtimeline/tst_qtimeline.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/auto/corelib/tools/qtimeline/tst_qtimeline.cpp b/tests/auto/corelib/tools/qtimeline/tst_qtimeline.cpp index f3a4f11216..7c353867f8 100644 --- a/tests/auto/corelib/tools/qtimeline/tst_qtimeline.cpp +++ b/tests/auto/corelib/tools/qtimeline/tst_qtimeline.cpp @@ -108,9 +108,9 @@ void tst_QTimeLine::range() QSignalSpy spy(&timeLine, SIGNAL(frameChanged(int))); timeLine.start(); #ifdef Q_OS_WINCE - QTest::qWait(1000); + QTest::qWait(1000); #else - QTest::qWait(100); + QTest::qWait(100); #endif QCOMPARE(timeLine.state(), QTimeLine::Running); int oldValue = timeLine.currentFrame(); @@ -301,7 +301,7 @@ void tst_QTimeLine::loopCount() timeLine.stop(); timeLine.setDuration(2500); // ### some platforms have a very low resolution timer - timeLine.setFrameRange(0, 2); + timeLine.setFrameRange(0, 2); timeLine.setLoopCount(4); QSignalSpy finishedSpy(&timeLine, SIGNAL(finished())); @@ -333,9 +333,9 @@ void tst_QTimeLine::loopCount() QCOMPARE(finishedSpy.count(), 2); QCOMPARE(frameChangedSpy.count(), 22); - for (int i = 11; i < 22; ++i) { + for (int i = 11; i < 22; ++i) { QCOMPARE(frameChangedSpy.at(i).at(0).toInt(), 2 - (i+2) % 3); - } + } } void tst_QTimeLine::interpolation() |