summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativeqt/data
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2010-04-22 03:07:09 (GMT)
committerAaron Kennedy <aaron.kennedy@nokia.com>2010-04-22 03:07:53 (GMT)
commite6b5d2a4df73aa26812e26daa3199443bd84cc90 (patch)
tree1c6683e6f4ef92fc8e13f99d3c3045f0833faa82 /tests/auto/declarative/qdeclarativeqt/data
parent9a40a3e76171c06d32ab4cadf700f6504dada129 (diff)
downloadQt-e6b5d2a4df73aa26812e26daa3199443bd84cc90.zip
Qt-e6b5d2a4df73aa26812e26daa3199443bd84cc90.tar.gz
Qt-e6b5d2a4df73aa26812e26daa3199443bd84cc90.tar.bz2
Autotests and doc
Diffstat (limited to 'tests/auto/declarative/qdeclarativeqt/data')
-rw-r--r--tests/auto/declarative/qdeclarativeqt/data/atob.qml7
-rw-r--r--tests/auto/declarative/qdeclarativeqt/data/btoa.qml6
2 files changed, 13 insertions, 0 deletions
diff --git a/tests/auto/declarative/qdeclarativeqt/data/atob.qml b/tests/auto/declarative/qdeclarativeqt/data/atob.qml
new file mode 100644
index 0000000..8355fa5
--- /dev/null
+++ b/tests/auto/declarative/qdeclarativeqt/data/atob.qml
@@ -0,0 +1,7 @@
+import Qt 4.7
+
+QtObject {
+ property string test1: Qt.atob()
+ property string test2: Qt.atob("SGVsbG8gd29ybGQh")
+}
+
diff --git a/tests/auto/declarative/qdeclarativeqt/data/btoa.qml b/tests/auto/declarative/qdeclarativeqt/data/btoa.qml
new file mode 100644
index 0000000..c2993ff
--- /dev/null
+++ b/tests/auto/declarative/qdeclarativeqt/data/btoa.qml
@@ -0,0 +1,6 @@
+import Qt 4.7
+
+QtObject {
+ property string test1: Qt.btoa()
+ property string test2: Qt.btoa("Hello world!")
+}