summaryrefslogtreecommitdiffstats
path: root/tests/auto/quick/qmltests
diff options
context:
space:
mode:
authorAdam Kallai <kadam@inf.u-szeged.hu>2014-02-24 09:17:39 -0800
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-02-25 15:08:38 +0100
commite40ebfe6e8fb543e68f3527b9256b60a485106cd (patch)
tree94ac715c04dc20f390910b756a4fa267d6b224da /tests/auto/quick/qmltests
parente7793c99669f635ea4dab6d025a4db7a45bf718e (diff)
Fixing QQuickWebEngineView.loadingChanged public API test case
Rename QQuickWebEngineView.loadingStateChanged signal name to QQuickWebEngineView.loadingChanged. Change-Id: I0e01034f7b2eea57f5211ff0d8258d9f27d278f0 Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu> Reviewed-by: Jocelyn Turcotte <jocelyn.turcotte@digia.com>
Diffstat (limited to 'tests/auto/quick/qmltests')
-rw-r--r--tests/auto/quick/qmltests/data/TestWebEngineView.qml2
-rw-r--r--tests/auto/quick/qmltests/data/tst_loadUrl.qml4
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/auto/quick/qmltests/data/TestWebEngineView.qml b/tests/auto/quick/qmltests/data/TestWebEngineView.qml
index 44a7f4f83..e76780fae 100644
--- a/tests/auto/quick/qmltests/data/TestWebEngineView.qml
+++ b/tests/auto/quick/qmltests/data/TestWebEngineView.qml
@@ -83,7 +83,7 @@ WebEngineView {
TestResult { id: testResult }
- onLoadingStateChanged: {
+ onLoadingChanged: {
loadStatus = loadRequest.status
if (loadRequest.status == WebEngineView.LoadStartedStatus)
viewportReady = false
diff --git a/tests/auto/quick/qmltests/data/tst_loadUrl.qml b/tests/auto/quick/qmltests/data/tst_loadUrl.qml
index b49b5b571..9723052de 100644
--- a/tests/auto/quick/qmltests/data/tst_loadUrl.qml
+++ b/tests/auto/quick/qmltests/data/tst_loadUrl.qml
@@ -59,7 +59,7 @@ TestWebEngineView {
}
}
- onLoadingStateChanged: {
+ onLoadingChanged: {
if (loadRequest.status == WebEngineView.LoadStartedStatus)
++numLoadStarted
if (loadRequest.status == WebEngineView.LoadSucceededStatus)
@@ -104,7 +104,7 @@ TestWebEngineView {
function test_stopStatus() {
var url = Qt.resolvedUrl("test1.html")
- webEngineView.loadingStateChanged.connect(function(loadRequest) {
+ webEngineView.loadingChanged.connect(function(loadRequest) {
if (loadRequest.status == WebEngineView.LoadStoppedStatus) {
compare(webEngineView.url, url)
compare(loadRequest.url, url)