blob: 579ca4101cbb086a575d68a7900ade735242fc53 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
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");
}
}
|