diff options
author | Sascha Kolewa <sascha.kolewa@nokia.com> | 2010-12-20 17:43:06 +0100 |
---|---|---|
committer | Sascha Kolewa <sascha.kolewa@nokia.com> | 2010-12-21 10:08:22 +0100 |
commit | ed8735a5cc5eea3c0107e0d0a95447ba6fc11d19 (patch) | |
tree | 9f74276aca3dc796204a169798e43daf67267ebe /tests/qmlauto/tst_compare.qml | |
parent | 7497c2f9161991f5ec1ef25101788f8ca0f2bdce (diff) |
Added object comparison to TestCase QML class
Diffstat (limited to 'tests/qmlauto/tst_compare.qml')
-rw-r--r-- | tests/qmlauto/tst_compare.qml | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/tests/qmlauto/tst_compare.qml b/tests/qmlauto/tst_compare.qml deleted file mode 100644 index 579ca41..0000000 --- a/tests/qmlauto/tst_compare.qml +++ /dev/null @@ -1,12 +0,0 @@ -import Qt 4.7 -import QtQuickTest 1.0 - -TestCase { - function test_compare_objects() { - var testObj1 = {a: 1, b: "foo", c: true}; - compare(testObj1, testObj1, "Object identity"); - - var testObj2 = {a: 1, b: "foo", c: true}; - compare(testObj1, testObj2, "Object equality"); - } -} |