summaryrefslogtreecommitdiffstats
path: root/tests/auto/widgets/qwebenginepage/tst_qwebenginepage.cpp
diff options
context:
space:
mode:
authorJocelyn Turcotte <jocelyn.turcotte@digia.com>2014-02-04 13:42:40 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-02-12 17:13:38 +0100
commit0f08a0fc028eb647c435ffe95d5d673ed75b058b (patch)
tree640ab5e195b68a3e2960bb4b1cd58dbff7d6d7d0 /tests/auto/widgets/qwebenginepage/tst_qwebenginepage.cpp
parentf5f5a86c7e9bb2196d345d9cb4684b6529d81184 (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/qwebenginepage/tst_qwebenginepage.cpp')
-rw-r--r--tests/auto/widgets/qwebenginepage/tst_qwebenginepage.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/widgets/qwebenginepage/tst_qwebenginepage.cpp b/tests/auto/widgets/qwebenginepage/tst_qwebenginepage.cpp
index c6c217a39..8a4e9d3e4 100644
--- a/tests/auto/widgets/qwebenginepage/tst_qwebenginepage.cpp
+++ b/tests/auto/widgets/qwebenginepage/tst_qwebenginepage.cpp
@@ -2757,7 +2757,7 @@ void tst_QWebEnginePage::errorPageExtension()
page.setUrl(QUrl("http://non.existent/url"));
QTRY_COMPARE(spyLoadFinished.count(), 2);
- QCOMPARE(toPlainText(&page), QString("error"));
+ QCOMPARE(toPlainTextSync(&page), QString("error"));
QCOMPARE(page.history()->count(), 2);
QCOMPARE(page.history()->currentItem().url(), QUrl("http://non.existent/url"));
QCOMPARE(page.history()->canGoBack(), true);