summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorThomas Hartmann <Thomas.Hartmann@nokia.com>2010-05-20 16:42:44 +0200
committerThomas Hartmann <Thomas.Hartmann@nokia.com>2010-05-21 11:28:28 +0200
commit9ed5dac72eaca15b1fa6a9242dcd45008cfcb9a8 (patch)
treea1e77c91c0f3e5b7a26c0f5c9bb65c4570b8ebed /tests
parente6480735f42947df4ec315b85faa3b0e25db2d3b (diff)
downloadqt-creator-9ed5dac72eaca15b1fa6a9242dcd45008cfcb9a8.tar.gz
QmlDesigner: new files for auto tests
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/qml/qmldesigner/data/fx/MyButton.qml11
-rw-r--r--tests/auto/qml/qmldesigner/data/fx/usingmybutton.qml6
2 files changed, 17 insertions, 0 deletions
diff --git a/tests/auto/qml/qmldesigner/data/fx/MyButton.qml b/tests/auto/qml/qmldesigner/data/fx/MyButton.qml
new file mode 100644
index 0000000000..d6d32e4668
--- /dev/null
+++ b/tests/auto/qml/qmldesigner/data/fx/MyButton.qml
@@ -0,0 +1,11 @@
+import Qt 4.7
+
+Rectangle {
+ property string text: "test"
+ width: 200
+ height: 200
+ Text {
+ anchors.fill: parent
+ }
+
+}
diff --git a/tests/auto/qml/qmldesigner/data/fx/usingmybutton.qml b/tests/auto/qml/qmldesigner/data/fx/usingmybutton.qml
new file mode 100644
index 0000000000..e263cdde12
--- /dev/null
+++ b/tests/auto/qml/qmldesigner/data/fx/usingmybutton.qml
@@ -0,0 +1,6 @@
+import Qt 4.7
+
+Item {
+ MyButton { }
+}
+