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/util.h | |
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/util.h')
-rw-r--r-- | tests/auto/widgets/util.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/widgets/util.h b/tests/auto/widgets/util.h index 1e60d3e0e..0b146aedc 100644 --- a/tests/auto/widgets/util.h +++ b/tests/auto/widgets/util.h @@ -128,14 +128,14 @@ private: T result; }; -static inline QString toPlainText(QWebEnginePage *page) +static inline QString toPlainTextSync(QWebEnginePage *page) { CallbackSpy<QString> spy; page->toPlainText(spy.ref()); return spy.waitForResult(); } -static inline QString toHtml(QWebEnginePage *page) +static inline QString toHtmlSync(QWebEnginePage *page) { CallbackSpy<QString> spy; page->toHtml(spy.ref()); |