aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qmllint/data
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2020-10-02 10:27:38 +0200
committerUlf Hermann <ulf.hermann@qt.io>2020-10-02 13:21:09 +0200
commitb1afde8ada7959b29acb4ac0fae87d7a8ae8aa08 (patch)
tree32fb1e8916d28e0c03f16b71b312cf774959394b /tests/auto/qml/qmllint/data
parent45594322fe91eadcd9b2d7b1d76c1a6662bc1472 (diff)
qmllint: Ignore grouped properties again
We cannot handle those, yet. Add tests that prove correct grouped properties pass and incorrect ones are expected to fail at causing qmllint to fail for now. Task-number: QTBUG-87116 Change-Id: I0aeed15d262e2c6226e27d5d92890c5385a38936 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'tests/auto/qml/qmllint/data')
-rw-r--r--tests/auto/qml/qmllint/data/anchors1.qml8
-rw-r--r--tests/auto/qml/qmllint/data/anchors3.qml6
-rw-r--r--tests/auto/qml/qmllint/data/nanchors1.qml8
-rw-r--r--tests/auto/qml/qmllint/data/nanchors3.qml6
4 files changed, 28 insertions, 0 deletions
diff --git a/tests/auto/qml/qmllint/data/anchors1.qml b/tests/auto/qml/qmllint/data/anchors1.qml
new file mode 100644
index 0000000000..6a487fa757
--- /dev/null
+++ b/tests/auto/qml/qmllint/data/anchors1.qml
@@ -0,0 +1,8 @@
+import QtQuick 2.15
+
+Rectangle {
+ anchors {
+ horizontalCenter: parent.horizontalCenter
+ verticalCenter: parent.verticalCenter
+ }
+}
diff --git a/tests/auto/qml/qmllint/data/anchors3.qml b/tests/auto/qml/qmllint/data/anchors3.qml
new file mode 100644
index 0000000000..290b19f98b
--- /dev/null
+++ b/tests/auto/qml/qmllint/data/anchors3.qml
@@ -0,0 +1,6 @@
+import QtQuick 2.15
+
+Rectangle {
+ anchors.horizontalCenter: parent
+ anchors.verticalCenter: parent
+}
diff --git a/tests/auto/qml/qmllint/data/nanchors1.qml b/tests/auto/qml/qmllint/data/nanchors1.qml
new file mode 100644
index 0000000000..7331a68614
--- /dev/null
+++ b/tests/auto/qml/qmllint/data/nanchors1.qml
@@ -0,0 +1,8 @@
+import QtQuick 2.15
+
+Rectangle {
+ nanchors {
+ horizontalCenter: parent.horizontalCenter
+ verticalCenter: parent.verticalCenter
+ }
+}
diff --git a/tests/auto/qml/qmllint/data/nanchors3.qml b/tests/auto/qml/qmllint/data/nanchors3.qml
new file mode 100644
index 0000000000..4ba987ed9c
--- /dev/null
+++ b/tests/auto/qml/qmllint/data/nanchors3.qml
@@ -0,0 +1,6 @@
+import QtQuick 2.15
+
+Rectangle {
+ nanchors.horizontalCenter: parent
+ nanchors.verticalCenter: parent
+}