summaryrefslogtreecommitdiffstats
path: root/tests/qmlexample/tst_item.qml
blob: 5f6187c26edad98089fc80695c771f164ff5a213 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import Qt 4.7
import QtTest 1.0

Rectangle {
    id: foo
    width: 640; height: 480
    color: "cyan"

    TestCase {
        name: "ItemTests"
        id: test1

        function test_color() {
            compare(foo.color, "#00ffff")
        }
    }
}