Commit 1d1a4694 authored by kenneth@webkit.org's avatar kenneth@webkit.org

[Qt] Move tests from DesktopBehavior which can be made to work

https://bugs.webkit.org/show_bug.cgi?id=87736

Rubberstamped by Simon Hausmann.

Move and modify the following tests to WebView/ and make them
use touch events.

* UIProcess/API/qt/tests/qmltests/WebView/tst_itemSelector.qml: Renamed from Source/WebKit2/UIProcess/API/qt/tests/qmltests/DesktopBehavior/tst_itemSelector.qml.
* UIProcess/API/qt/tests/qmltests/WebView/tst_messaging.qml: Renamed from Source/WebKit2/UIProcess/API/qt/tests/qmltests/DesktopBehavior/tst_messaging.qml.
* UIProcess/API/qt/tests/qmltests/WebView/tst_multiFileUpload.qml: Renamed from Source/WebKit2/UIProcess/API/qt/tests/qmltests/DesktopBehavior/tst_multiFileUpload.qml.
* UIProcess/API/qt/tests/qmltests/WebView/tst_singleFileUpload.qml: Renamed from Source/WebKit2/UIProcess/API/qt/tests/qmltests/DesktopBehavior/tst_singleFileUpload.qml.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@118764 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 1385c98c
2012-05-29 Kenneth Rohde Christiansen <kenneth@webkit.org>
[Qt] Move tests from DesktopBehavior which can be made to work
https://bugs.webkit.org/show_bug.cgi?id=87736
Rubberstamped by Simon Hausmann.
Move and modify the following tests to WebView/ and make them
use touch events.
* UIProcess/API/qt/tests/qmltests/WebView/tst_itemSelector.qml: Renamed from Source/WebKit2/UIProcess/API/qt/tests/qmltests/DesktopBehavior/tst_itemSelector.qml.
* UIProcess/API/qt/tests/qmltests/WebView/tst_messaging.qml: Renamed from Source/WebKit2/UIProcess/API/qt/tests/qmltests/DesktopBehavior/tst_messaging.qml.
* UIProcess/API/qt/tests/qmltests/WebView/tst_multiFileUpload.qml: Renamed from Source/WebKit2/UIProcess/API/qt/tests/qmltests/DesktopBehavior/tst_multiFileUpload.qml.
* UIProcess/API/qt/tests/qmltests/WebView/tst_singleFileUpload.qml: Renamed from Source/WebKit2/UIProcess/API/qt/tests/qmltests/DesktopBehavior/tst_singleFileUpload.qml.
2012-05-29 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
[Qt] Sync up favicon-implementation with WebView url changes in r118158
......
......@@ -4,8 +4,6 @@ import QtWebKit 3.0
import QtWebKit.experimental 1.0
import "../common"
// FIXME: Moved to Desktop tests because we want to have mouseClick() to open the <select> tag. We can move it back
// when TestCase starts supporting touch events, see https://bugreports.qt.nokia.com/browse/QTBUG-23083.
TestWebView {
id: webView
......@@ -59,7 +57,7 @@ TestWebView {
}
function openItemSelector() {
mouseClick(webView, 15, 15, Qt.LeftButton)
webView.experimental.test.touchTap(webView, 15, 15)
}
function test_accept() {
......
......@@ -45,7 +45,7 @@ Item {
}
TestCase {
name: "DesktopWebViewMessaging"
name: "WebViewMessaging"
property url testUrl: Qt.resolvedUrl("../common/messaging.html")
function init() {
......
......@@ -4,8 +4,6 @@ import QtWebKit 3.0
import QtWebKit.experimental 1.0
import "../common"
// FIXME: Added to Desktop tests because we want to have mouseClick() to open the <input> tag. We can move it back
// when TestCase starts supporting touch events, see https://bugreports.qt.nokia.com/browse/QTBUG-23083.
TestWebView {
id: webView
......@@ -46,7 +44,7 @@ TestWebView {
}
function openItemSelector() {
mouseClick(webView, 15, 15, Qt.LeftButton)
webView.experimental.test.touchTap(webView, 15, 15)
}
function test_accept() {
......
......@@ -4,8 +4,6 @@ import QtWebKit 3.0
import QtWebKit.experimental 1.0
import "../common"
// FIXME: Added to Desktop tests because we want to have mouseClick() to open the <input> tag. We can move it back
// when TestCase starts supporting touch events, see https://bugreports.qt.nokia.com/browse/QTBUG-23083.
TestWebView {
id: webView
......@@ -51,7 +49,7 @@ TestWebView {
}
function openItemSelector() {
mouseClick(webView, 15, 15, Qt.LeftButton)
webView.experimental.test.touchTap(webView, 15, 15)
}
function test_accept() {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment