diff options
author | Jocelyn Turcotte <jocelyn.turcotte@digia.com> | 2014-02-04 13:42:40 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-02-12 17:13:38 +0100 |
commit | 0f08a0fc028eb647c435ffe95d5d673ed75b058b (patch) | |
tree | 640ab5e195b68a3e2960bb4b1cd58dbff7d6d7d0 /tests/auto/widgets/qwebenginehistory | |
parent | f5f5a86c7e9bb2196d345d9cb4684b6529d81184 (diff) |
Add the Sync suffix to testing sync wrapper
Change-Id: I0c6594a9758edc97f658717388c20f9e79be0f70
Reviewed-by: Pierre Rossi <pierre.rossi@gmail.com>
Diffstat (limited to 'tests/auto/widgets/qwebenginehistory')
-rw-r--r-- | tests/auto/widgets/qwebenginehistory/tst_qwebenginehistory.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/auto/widgets/qwebenginehistory/tst_qwebenginehistory.cpp b/tests/auto/widgets/qwebenginehistory/tst_qwebenginehistory.cpp index e84702df3..2b5f4101c 100644 --- a/tests/auto/widgets/qwebenginehistory/tst_qwebenginehistory.cpp +++ b/tests/auto/widgets/qwebenginehistory/tst_qwebenginehistory.cpp @@ -125,13 +125,13 @@ void tst_QWebEngineHistory::count() void tst_QWebEngineHistory::back() { for (int i = histsize;i > 1;i--) { - QCOMPARE(toPlainText(page), QString("page") + QString::number(i)); + QCOMPARE(toPlainTextSync(page), QString("page") + QString::number(i)); hist->back(); loadFinishedBarrier->ensureSignalEmitted(); } //try one more time (too many). crash test hist->back(); - QCOMPARE(toPlainText(page), QString("page1")); + QCOMPARE(toPlainTextSync(page), QString("page1")); } /** @@ -146,13 +146,13 @@ void tst_QWebEngineHistory::forward() } for (int i = 1;i < histsize;i++) { - QCOMPARE(toPlainText(page), QString("page") + QString::number(i)); + QCOMPARE(toPlainTextSync(page), QString("page") + QString::number(i)); hist->forward(); loadFinishedBarrier->ensureSignalEmitted(); } //try one more time (too many). crash test hist->forward(); - QCOMPARE(toPlainText(page), QString("page") + QString::number(histsize)); + QCOMPARE(toPlainTextSync(page), QString("page") + QString::number(histsize)); } /** |