diff options
Diffstat (limited to 'tests/auto/quick/qmltests2')
6 files changed, 12 insertions, 9 deletions
diff --git a/tests/auto/quick/qmltests2/data/tst_favicon.qml b/tests/auto/quick/qmltests2/data/tst_favicon.qml index 3f522d91a..ea5d20f17 100644 --- a/tests/auto/quick/qmltests2/data/tst_favicon.qml +++ b/tests/auto/quick/qmltests2/data/tst_favicon.qml @@ -59,16 +59,16 @@ TestWebEngineView { function getFaviconPixel(faviconImage) { var grabImage = Qt.createQmlObject(" import QtQuick 2.5\n - Image { }", test) + Image { }", testCase) var faviconCanvas = Qt.createQmlObject(" import QtQuick 2.5\n - Canvas { }", test) + Canvas { }", testCase) - test.tryVerify(function() { return faviconImage.status == Image.Ready }); + testCase.tryVerify(function() { return faviconImage.status == Image.Ready }); faviconImage.grabToImage(function(result) { grabImage.source = result.url }); - test.tryVerify(function() { return grabImage.status == Image.Ready }); + testCase.tryVerify(function() { return grabImage.status == Image.Ready }); faviconCanvas.width = faviconImage.width; faviconCanvas.height = faviconImage.height; @@ -97,7 +97,7 @@ TestWebEngineView { } TestCase { - id: test + id: testCase name: "WebEngineFavicon" when: windowShown @@ -315,7 +315,7 @@ TestWebEngineView { function test_faviconProvider(row) { var faviconImage = Qt.createQmlObject(" import QtQuick 2.5\n - Image { sourceSize: Qt.size(width, height) }", test) + Image { sourceSize: Qt.size(width, height) }", testCase) compare(iconChangedSpy.count, 0) @@ -338,7 +338,7 @@ TestWebEngineView { function test_dynamicFavicon() { var faviconImage = Qt.createQmlObject(" import QtQuick 2.5\n - Image { width: 16; height: 16; sourceSize: Qt.size(width, height); }", test) + Image { width: 16; height: 16; sourceSize: Qt.size(width, height); }", testCase) faviconImage.source = Qt.binding(function() { return webEngineView.icon; }); var colors = [ diff --git a/tests/auto/quick/qmltests2/data/tst_faviconDownload.qml b/tests/auto/quick/qmltests2/data/tst_faviconDownload.qml index 9aa32279c..7d9c39814 100644 --- a/tests/auto/quick/qmltests2/data/tst_faviconDownload.qml +++ b/tests/auto/quick/qmltests2/data/tst_faviconDownload.qml @@ -47,7 +47,7 @@ TestWebEngineView { } TestCase { - id: test + id: testCase name: "WebEngineFaviconDownload" function init() { diff --git a/tests/auto/quick/qmltests2/data/tst_filePicker.qml b/tests/auto/quick/qmltests2/data/tst_filePicker.qml index ab30d9e82..4313c8d9e 100644 --- a/tests/auto/quick/qmltests2/data/tst_filePicker.qml +++ b/tests/auto/quick/qmltests2/data/tst_filePicker.qml @@ -58,6 +58,7 @@ TestWebEngineView { onTitleChanged: { titleChanges.push(webEngineView.title) } TestCase { + id: testCase name: "WebEngineViewSingleFileUpload" when: windowShown diff --git a/tests/auto/quick/qmltests2/data/tst_inputMethod.qml b/tests/auto/quick/qmltests2/data/tst_inputMethod.qml index 0bf9f7eb0..00f85cb71 100644 --- a/tests/auto/quick/qmltests2/data/tst_inputMethod.qml +++ b/tests/auto/quick/qmltests2/data/tst_inputMethod.qml @@ -40,6 +40,7 @@ TestWebEngineView { testSupport: WebEngineTestSupport { } TestCase { + id: testCase name: "WebEngineViewInputMethod" when: windowShown diff --git a/tests/auto/quick/qmltests2/data/tst_mouseClick.qml b/tests/auto/quick/qmltests2/data/tst_mouseClick.qml index eaa012f86..6c314d44c 100644 --- a/tests/auto/quick/qmltests2/data/tst_mouseClick.qml +++ b/tests/auto/quick/qmltests2/data/tst_mouseClick.qml @@ -65,6 +65,7 @@ TestWebEngineView { TestCase { + id: testCase name: "WebEngineViewMouseClick" when: windowShown diff --git a/tests/auto/quick/qmltests2/data/tst_viewSoure.qml b/tests/auto/quick/qmltests2/data/tst_viewSoure.qml index 74b7f803d..28f7e8344 100644 --- a/tests/auto/quick/qmltests2/data/tst_viewSoure.qml +++ b/tests/auto/quick/qmltests2/data/tst_viewSoure.qml @@ -78,7 +78,7 @@ TestWebEngineView { } TestCase { - id: test + id: testCase name: "WebEngineViewSource" function init() { |