From ae15f74a1644f6b02c51e8b4a169671c1d0c9af9 Mon Sep 17 00:00:00 2001
From: Adam Kallai <kadam@inf.u-szeged.hu>
Date: Tue, 14 Apr 2015 09:23:04 +0200
Subject: [PATCH] Update expected list of public API test

Change-Id: Ifccac63f95d3147b46486eb7a09fbad9e3f52f67
Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
---
 tests/auto/quick/publicapi/tst_publicapi.cpp | 50 +++++++++++++++++---
 1 file changed, 44 insertions(+), 6 deletions(-)

diff --git a/tests/auto/quick/publicapi/tst_publicapi.cpp b/tests/auto/quick/publicapi/tst_publicapi.cpp
index af24f42ed..eb925b178 100644
--- a/tests/auto/quick/publicapi/tst_publicapi.cpp
+++ b/tests/auto/quick/publicapi/tst_publicapi.cpp
@@ -116,6 +116,8 @@ static QStringList expectedAPI = QStringList()
     << "QQuickWebEngineView.HttpErrorDomain --> ErrorDomain"
     << "QQuickWebEngineView.FtpErrorDomain --> ErrorDomain"
     << "QQuickWebEngineView.DnsErrorDomain --> ErrorDomain"
+    << "QQuickWebEngineView.FindBackward --> FindFlags"
+    << "QQuickWebEngineView.FindCaseSensitively --> FindFlags"
     << "QQuickWebEngineView.LinkClickedNavigation --> NavigationType"
     << "QQuickWebEngineView.TypedNavigation --> NavigationType"
     << "QQuickWebEngineView.FormSubmittedNavigation --> NavigationType"
@@ -170,17 +172,29 @@ static QStringList expectedAPI = QStringList()
     << "QQuickWebEngineView.navigationHistory --> QQuickWebEngineHistory*"
     << "QQuickWebEngineView.newViewRequested(QQuickWebEngineNewViewRequest*) --> void"
     << "QQuickWebEngineView.userScripts --> QQmlListProperty<QQuickWebEngineScript>"
+    << "QQuickWebEngineView.settings --> QQuickWebEngineSettings*"
+    << "QQuickWebEngineView.testSupport --> QQuickWebEngineTestSupport*"
+    << "QQuickWebEngineView.webChannel --> QQmlWebChannel*"
+    << "QQuickWebEngineView.webChannelChanged() --> void"
+    << "QQuickWebEngineView.reloadAndBypassCache() --> void"
+    << "QQuickWebEngineView.findText(QString,FindFlags,QJSValue) --> void"
+    << "QQuickWebEngineView.findText(QString,FindFlags) --> void"
+    << "QQuickWebEngineView.findText(QString) --> void"
     << "QQuickWebEngineDownloadItem.id --> uint"
     << "QQuickWebEngineDownloadItem.state --> DownloadState"
-    << "QQuickWebEngineDownloadItem.progress --> int"
     << "QQuickWebEngineDownloadItem.path --> QString"
+    << "QQuickWebEngineDownloadItem.totalBytes --> qlonglong"
+    << "QQuickWebEngineDownloadItem.receivedBytes --> qlonglong"
+    << "QQuickWebEngineDownloadItem.DownloadRequested --> DownloadState"
     << "QQuickWebEngineDownloadItem.DownloadInProgress --> DownloadState"
     << "QQuickWebEngineDownloadItem.DownloadCompleted --> DownloadState"
     << "QQuickWebEngineDownloadItem.DownloadCancelled --> DownloadState"
     << "QQuickWebEngineDownloadItem.DownloadInterrupted --> DownloadState"
     << "QQuickWebEngineDownloadItem.stateChanged() --> void"
-    << "QQuickWebEngineDownloadItem.progressChanged() --> void"
     << "QQuickWebEngineDownloadItem.pathChanged() --> void"
+    << "QQuickWebEngineDownloadItem.receivedBytesChanged() --> void"
+    << "QQuickWebEngineDownloadItem.totalBytesChanged() --> void"
+    << "QQuickWebEngineDownloadItem.accept() --> void"
     << "QQuickWebEngineDownloadItem.cancel() --> void"
     << "QQuickWebEngineHistory.items --> QQuickWebEngineHistoryListModel*"
     << "QQuickWebEngineHistory.backItems --> QQuickWebEngineHistoryListModel*"
@@ -210,7 +224,7 @@ static QStringList expectedAPI = QStringList()
     << "QQuickWebEngineProfile.httpUserAgent --> QString"
     << "QQuickWebEngineProfile.httpCacheType --> HttpCacheType"
     << "QQuickWebEngineProfile.persistentCookiesPolicy --> PersistentCookiesPolicy"
-    << "QQuickWebEngineProfile.httpCacheMaxSize --> int"
+    << "QQuickWebEngineProfile.httpCacheMaximumSize --> int"
     << "QQuickWebEngineProfile.storageNameChanged() --> void"
     << "QQuickWebEngineProfile.offTheRecordChanged() --> void"
     << "QQuickWebEngineProfile.persistentStoragePathChanged() --> void"
@@ -218,7 +232,33 @@ static QStringList expectedAPI = QStringList()
     << "QQuickWebEngineProfile.httpUserAgentChanged() --> void"
     << "QQuickWebEngineProfile.httpCacheTypeChanged() --> void"
     << "QQuickWebEngineProfile.persistentCookiesPolicyChanged() --> void"
-    << "QQuickWebEngineProfile.httpCacheMaxSizeChanged() --> void"
+    << "QQuickWebEngineProfile.httpCacheMaximumSizeChanged() --> void"
+    << "QQuickWebEngineProfile.downloadRequested(QQuickWebEngineDownloadItem*) --> void"
+    << "QQuickWebEngineProfile.downloadFinished(QQuickWebEngineDownloadItem*) --> void"
+    << "QQuickWebEngineSettings.autoLoadImages --> bool"
+    << "QQuickWebEngineSettings.javascriptEnabled --> bool"
+    << "QQuickWebEngineSettings.javascriptCanOpenWindows --> bool"
+    << "QQuickWebEngineSettings.javascriptCanAccessClipboard --> bool"
+    << "QQuickWebEngineSettings.linksIncludedInFocusChain --> bool"
+    << "QQuickWebEngineSettings.localStorageEnabled --> bool"
+    << "QQuickWebEngineSettings.localContentCanAccessRemoteUrls --> bool"
+    << "QQuickWebEngineSettings.spatialNavigationEnabled --> bool"
+    << "QQuickWebEngineSettings.localContentCanAccessFileUrls --> bool"
+    << "QQuickWebEngineSettings.hyperlinkAuditingEnabled --> bool"
+    << "QQuickWebEngineSettings.errorPageEnabled --> bool"
+    << "QQuickWebEngineSettings.defaultTextEncoding --> QString"
+    << "QQuickWebEngineSettings.autoLoadImagesChanged() --> void"
+    << "QQuickWebEngineSettings.javascriptEnabledChanged() --> void"
+    << "QQuickWebEngineSettings.javascriptCanOpenWindowsChanged() --> void"
+    << "QQuickWebEngineSettings.javascriptCanAccessClipboardChanged() --> void"
+    << "QQuickWebEngineSettings.linksIncludedInFocusChainChanged() --> void"
+    << "QQuickWebEngineSettings.localStorageEnabledChanged() --> void"
+    << "QQuickWebEngineSettings.localContentCanAccessRemoteUrlsChanged() --> void"
+    << "QQuickWebEngineSettings.spatialNavigationEnabledChanged() --> void"
+    << "QQuickWebEngineSettings.localContentCanAccessFileUrlsChanged() --> void"
+    << "QQuickWebEngineSettings.hyperlinkAuditingEnabledChanged() --> void"
+    << "QQuickWebEngineSettings.errorPageEnabledChanged() --> void"
+    << "QQuickWebEngineSettings.defaultTextEncodingChanged() --> void"
     << "QQuickWebEngineCertificateError.ignoreCertificateError() --> void"
     << "QQuickWebEngineCertificateError.rejectCertificate() --> void"
     << "QQuickWebEngineCertificateError.defer() --> void"
@@ -226,8 +266,6 @@ static QStringList expectedAPI = QStringList()
     << "QQuickWebEngineCertificateError.error --> Error"
     << "QQuickWebEngineCertificateError.description --> QString"
     << "QQuickWebEngineCertificateError.overridable --> bool"
-    << "QQuickWebEngineProfile.downloadStarted(QQuickWebEngineDownloadItem*) --> void"
-    << "QQuickWebEngineProfile.downloadFinished(QQuickWebEngineDownloadItem*) --> void"
     << "QQuickWebEngineScript.Deferred --> InjectionPoint"
     << "QQuickWebEngineScript.DocumentReady --> InjectionPoint"
     << "QQuickWebEngineScript.DocumentCreation --> InjectionPoint"
-- 
GitLab