diff options
author | Jocelyn Turcotte <jocelyn.turcotte@digia.com> | 2014-01-16 18:20:32 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-04-15 17:03:28 +0200 |
commit | beb4ff332ca5b8406a75e8b2146464c5b0a81abd (patch) | |
tree | cb949f8710876153acaa146eda29abf89447a9f4 /tests/auto/widgets/qwebenginehistory | |
parent | 84ced937a0f9f2874e32e16c4c6ebf72b46904c9 (diff) |
Cleanup the QtWebEngineWidgets public headers and API
Headers were left intact to leave a trace of the evolution compared
to the QtWebKit API and to make it easier to work until we had a
basic subset of the API implemented.
With the upcoming release, this patch removes this convenience in the
aim of starting polishing the headers and the documentation for the
upcoming release.
Change-Id: Iae436b4ec041d771a7002575e122835802bc9f3e
Reviewed-by: Michael Bruning <michael.bruning@digia.com>
Diffstat (limited to 'tests/auto/widgets/qwebenginehistory')
-rw-r--r-- | tests/auto/widgets/qwebenginehistory/tst_qwebenginehistory.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/tests/auto/widgets/qwebenginehistory/tst_qwebenginehistory.cpp b/tests/auto/widgets/qwebenginehistory/tst_qwebenginehistory.cpp index f92474d05..86261721c 100644 --- a/tests/auto/widgets/qwebenginehistory/tst_qwebenginehistory.cpp +++ b/tests/auto/widgets/qwebenginehistory/tst_qwebenginehistory.cpp @@ -318,14 +318,12 @@ void tst_QWebEngineHistory::serialize_3() //prepare two different history items QWebEngineHistoryItem a = hist->currentItem(); - a.setUserData("A - user data"); //check properties BEFORE serialization QString title(a.title()); QDateTime lastVisited(a.lastVisited()); QUrl originalUrl(a.originalUrl()); QUrl url(a.url()); - QVariant userData(a.userData()); save << *hist; QVERIFY(save.status() == QDataStream::Ok); @@ -341,7 +339,6 @@ void tst_QWebEngineHistory::serialize_3() QCOMPARE(b.lastVisited(), lastVisited); QCOMPARE(b.originalUrl(), originalUrl); QCOMPARE(b.url(), url); - QCOMPARE(b.userData(), userData); //Check if all data was read QVERIFY(load.atEnd()); @@ -480,9 +477,6 @@ void tst_QWebEngineHistory::historyItemFromDeletedPage() QCOMPARE(item.url(), QUrl()); QCOMPARE(item.title(), QString()); QCOMPARE(item.lastVisited(), QDateTime()); - QCOMPARE(item.icon(), QIcon()); - item.setUserData(42); - QCOMPARE(item.userData(), QVariant()); } } |