summaryrefslogtreecommitdiffstats
path: root/tests/auto/quick/qmltests/data/confirm.html
diff options
context:
space:
mode:
authorMichal Klocek <michal.klocek@qt.io>2020-08-13 09:54:15 +0200
committerMichal Klocek <michal.klocek@qt.io>2020-09-17 14:43:16 +0200
commitadaf70ce2b61590180207af34ad47ddd6fabafc2 (patch)
tree5cfacf95729b1705a11f208054218083def0efe7 /tests/auto/quick/qmltests/data/confirm.html
parente2ca6dc90e8d598fc7e6af14bd2b0e0613fb2839 (diff)
Fix qmltest duplication mess
We had split qmltest directory since we could not run qml tests without test support, however this duplicated quite a lot files. Moreover adding more fine-grained checks would mean creating even more copies. Generate test list on qmake call, so we can fine-grained which test should be run. Change-Id: I093bdd6deeca50a1936a72276d7d6af12a376c45 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'tests/auto/quick/qmltests/data/confirm.html')
-rw-r--r--tests/auto/quick/qmltests/data/confirm.html10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/auto/quick/qmltests/data/confirm.html b/tests/auto/quick/qmltests/data/confirm.html
new file mode 100644
index 000000000..a4fc5b532
--- /dev/null
+++ b/tests/auto/quick/qmltests/data/confirm.html
@@ -0,0 +1,10 @@
+<html>
+<head>
+ <script>
+ if (confirm("Confirm test"))
+ document.title += " ACCEPTED";
+ else
+ document.title += " REJECTED";
+ </script>
+</head>
+</html>