aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto
diff options
context:
space:
mode:
authorUladzislau Paulovich <selatnick@gmail.com>2019-06-09 03:31:20 +0300
committerselatnick <selatnick@gmail.com>2019-06-11 10:04:29 +0000
commitab87bdf4ea400c9c3f643fcd4a0aea500be31398 (patch)
treeb7645b02ee8f3b96f742612a7077f0c35c8295e5 /tests/auto
parent69cd74f25d28b0fda0db6a958dd34f8c7daab5ca (diff)
qml | Add support for enums formatting
Change-Id: Id7e435a7c556c7fc469b9055ca772a7850e16676 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Diffstat (limited to 'tests/auto')
-rw-r--r--tests/auto/qml/reformatter/enum.qml14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/auto/qml/reformatter/enum.qml b/tests/auto/qml/reformatter/enum.qml
new file mode 100644
index 0000000000..769386494d
--- /dev/null
+++ b/tests/auto/qml/reformatter/enum.qml
@@ -0,0 +1,14 @@
+import QtQuick 2.0
+
+Item {
+ enum Test {
+ A,
+ B
+ }
+
+ enum TestWithValues {
+ A = 11.1,
+ B,
+ C = 3
+ }
+}