aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/quick/qquickrectangle/data/gradient-preset.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/quick/qquickrectangle/data/gradient-preset.qml')
-rw-r--r--tests/auto/quick/qquickrectangle/data/gradient-preset.qml16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/auto/quick/qquickrectangle/data/gradient-preset.qml b/tests/auto/quick/qquickrectangle/data/gradient-preset.qml
new file mode 100644
index 0000000000..b740bdd610
--- /dev/null
+++ b/tests/auto/quick/qquickrectangle/data/gradient-preset.qml
@@ -0,0 +1,16 @@
+import QtQuick 2.0
+
+Item {
+ Rectangle {
+ objectName: "enum"
+ gradient: Gradient.NightFade
+ }
+ Rectangle {
+ objectName: "string"
+ gradient: "NightFade"
+ }
+ Rectangle {
+ objectName: "invalid"
+ gradient: -1
+ }
+}