diff options
author | Aaron Kennedy <aaron.kennedy@nokia.com> | 2010-03-29 04:57:29 (GMT) |
---|---|---|
committer | Aaron Kennedy <aaron.kennedy@nokia.com> | 2010-03-29 04:57:29 (GMT) |
commit | d1f01956769f4f3ded29095afec5cbf52eb8f1c8 (patch) | |
tree | aad0f023dd6e38541cf0f074f9e92483eaddaa98 /tests/auto/declarative/qdeclarativelanguage | |
parent | d6817c59b664b1ce08e45bed902f17b58160a30f (diff) | |
download | Qt-d1f01956769f4f3ded29095afec5cbf52eb8f1c8.zip Qt-d1f01956769f4f3ded29095afec5cbf52eb8f1c8.tar.gz Qt-d1f01956769f4f3ded29095afec5cbf52eb8f1c8.tar.bz2 |
Remove "variant" QML properties
"property var a" works just as well
Diffstat (limited to 'tests/auto/declarative/qdeclarativelanguage')
-rw-r--r-- | tests/auto/declarative/qdeclarativelanguage/data/dynamicProperties.qml | 1 | ||||
-rw-r--r-- | tests/auto/declarative/qdeclarativelanguage/tst_qdeclarativelanguage.cpp | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/tests/auto/declarative/qdeclarativelanguage/data/dynamicProperties.qml b/tests/auto/declarative/qdeclarativelanguage/data/dynamicProperties.qml index aef3269..bedab8c 100644 --- a/tests/auto/declarative/qdeclarativelanguage/data/dynamicProperties.qml +++ b/tests/auto/declarative/qdeclarativelanguage/data/dynamicProperties.qml @@ -10,5 +10,4 @@ QtObject { property url urlProperty: "main.qml" property date dateProperty: "1945-09-02" property var varProperty: "Hello World!" - property variant variantProperty: 12 } diff --git a/tests/auto/declarative/qdeclarativelanguage/tst_qdeclarativelanguage.cpp b/tests/auto/declarative/qdeclarativelanguage/tst_qdeclarativelanguage.cpp index eae78c4..e2cf5ca 100644 --- a/tests/auto/declarative/qdeclarativelanguage/tst_qdeclarativelanguage.cpp +++ b/tests/auto/declarative/qdeclarativelanguage/tst_qdeclarativelanguage.cpp @@ -586,7 +586,6 @@ void tst_qdeclarativelanguage::dynamicProperties() QCOMPARE(object->property("colorProperty"), QVariant(QColor("red"))); QCOMPARE(object->property("dateProperty"), QVariant(QDate(1945, 9, 2))); QCOMPARE(object->property("varProperty"), QVariant("Hello World!")); - QCOMPARE(object->property("variantProperty"), QVariant(12)); } // Test that nested types can use dynamic properties |