diff options
author | Thiago Macieira <thiago.macieira@nokia.com> | 2010-02-19 09:15:44 (GMT) |
---|---|---|
committer | Thiago Macieira <thiago.macieira@nokia.com> | 2010-03-17 10:54:18 (GMT) |
commit | e0f654ceb4a46ed60351743090dbc13ea8b92106 (patch) | |
tree | 879d9b5e190551c09a403199559476a6a41a44b2 /tests | |
parent | 0e0ac26bc58626df780e0fc3bc0483d5b310db8b (diff) | |
download | Qt-e0f654ceb4a46ed60351743090dbc13ea8b92106.zip Qt-e0f654ceb4a46ed60351743090dbc13ea8b92106.tar.gz Qt-e0f654ceb4a46ed60351743090dbc13ea8b92106.tar.bz2 |
Port QTest::qWait also to use QTimestamp.
To avoid using QTimestamp to test QTimestamp, use QTest::qSleep in
QTimestamp's own testcase.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/qtimestamp/tst_qtimestamp.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qtimestamp/tst_qtimestamp.cpp b/tests/auto/qtimestamp/tst_qtimestamp.cpp index ab1e959..79138ce 100644 --- a/tests/auto/qtimestamp/tst_qtimestamp.cpp +++ b/tests/auto/qtimestamp/tst_qtimestamp.cpp @@ -63,7 +63,7 @@ void tst_QTimestamp::elapsed() QTimestamp t1; t1.start(); - QTest::qWait(4*minResolution); + QTest::qSleep(4*minResolution); QTimestamp t2; t2.start(); |