diff options
author | Allan Sandfeld Jensen <allan.jensen@digia.com> | 2014-12-12 15:59:43 +0100 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@theqtcompany.com> | 2014-12-12 17:48:14 +0100 |
commit | 90e54b47974fe7818f7aa1bdd434e062e89458a1 (patch) | |
tree | 4c4203cbc6c98b22b9d5ffebe2d4248444495615 /tests | |
parent | 644cf93130ebb5ab4861196670593d76a7afdb15 (diff) |
Update public API test expectations
Change-Id: I0b9a35c59d6eadb426143c041538ebb9c9d6d800
Reviewed-by: Jocelyn Turcotte <jocelyn.turcotte@digia.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/quick/publicapi/tst_publicapi.cpp | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/tests/auto/quick/publicapi/tst_publicapi.cpp b/tests/auto/quick/publicapi/tst_publicapi.cpp index abb8d3d7b..28a837260 100644 --- a/tests/auto/quick/publicapi/tst_publicapi.cpp +++ b/tests/auto/quick/publicapi/tst_publicapi.cpp @@ -48,6 +48,7 @@ #include <private/qquickwebengineview_p.h> #include <private/qquickwebengineloadrequest_p.h> #include <private/qquickwebenginenavigationrequest_p.h> +#include <private/qquickwebengineprofile_p.h> class tst_publicapi : public QObject { Q_OBJECT @@ -59,6 +60,7 @@ static QList<const QMetaObject *> typesToCheck = QList<const QMetaObject *>() << &QQuickWebEngineView::staticMetaObject << &QQuickWebEngineLoadRequest::staticMetaObject << &QQuickWebEngineNavigationRequest::staticMetaObject + << &QQuickWebEngineProfile::staticMetaObject ; static QList<const char *> knownEnumNames = QList<const char *>(); @@ -118,6 +120,10 @@ static QStringList expectedAPI = QStringList() << "QQuickWebEngineView.goForward() --> void" << "QQuickWebEngineView.stop() --> void" << "QQuickWebEngineView.reload() --> void" + << "QQuickWebEngineView.zoomFactor --> double" + << "QQuickWebEngineView.zoomFactorChanged(double) --> void" + << "QQuickWebEngineView.setZoomFactor(double) --> void" + << "QQuickWebEngineView.profile --> QQuickWebEngineProfile*" << "QQuickWebEngineLoadRequest.url --> QUrl" << "QQuickWebEngineLoadRequest.status --> QQuickWebEngineView::LoadStatus" << "QQuickWebEngineLoadRequest.errorString --> QString" @@ -128,6 +134,27 @@ static QStringList expectedAPI = QStringList() << "QQuickWebEngineNavigationRequest.action --> QQuickWebEngineView::NavigationRequestAction" << "QQuickWebEngineNavigationRequest.navigationType --> QQuickWebEngineView::NavigationType" << "QQuickWebEngineNavigationRequest.actionChanged() --> void" + << "QQuickWebEngineProfile.MemoryHttpCache --> HttpCacheType" + << "QQuickWebEngineProfile.DiskHttpCache --> HttpCacheType" + << "QQuickWebEngineProfile.NoPersistentCookies --> PersistentCookiesPolicy" + << "QQuickWebEngineProfile.AllowPersistentCookies --> PersistentCookiesPolicy" + << "QQuickWebEngineProfile.ForcePersistentCookies --> PersistentCookiesPolicy" + << "QQuickWebEngineProfile.storageName --> QString" + << "QQuickWebEngineProfile.offTheRecord --> bool" + << "QQuickWebEngineProfile.persistentStoragePath --> QString" + << "QQuickWebEngineProfile.cachePath --> QString" + << "QQuickWebEngineProfile.httpUserAgent --> QString" + << "QQuickWebEngineProfile.httpCacheType --> HttpCacheType" + << "QQuickWebEngineProfile.persistentCookiesPolicy --> PersistentCookiesPolicy" + << "QQuickWebEngineProfile.httpCacheMaxSize --> int" + << "QQuickWebEngineProfile.storageNameChanged() --> void" + << "QQuickWebEngineProfile.offTheRecordChanged() --> void" + << "QQuickWebEngineProfile.persistentStoragePathChanged() --> void" + << "QQuickWebEngineProfile.cachePathChanged() --> void" + << "QQuickWebEngineProfile.httpUserAgentChanged() --> void" + << "QQuickWebEngineProfile.httpCacheTypeChanged() --> void" + << "QQuickWebEngineProfile.persistentCookiesPolicyChanged() --> void" + << "QQuickWebEngineProfile.httpCacheMaxSizeChanged() --> void" ; static bool isCheckedEnum(const QByteArray &typeName) |