on xenial help sign in
drop unneeded stuff from test
commit60b2e493592f2c7aeaaeaf0ea0e096c0e32ad25b authorMichael Zanetti <michael.zanetti@canonical.com> dateThu 14 Nov 2013, 11:42 (13 years ago) parent14c3ed2
1 file changed+1−20
tests/plugins/ListViewWithPageHeader/tst_listviewwithpageheaderqml.qml+1−20
tests/plugins/ListViewWithPageHeader/tst_listviewwithpageheaderqml.qml+1−20
@@ -46,15 +46,6 @@ Rectangle {
4646 ListElement { type: "Lazy"; size: 350 }
4747 }
4848
49− Component {
50− id: otherRect
51− Rectangle {
52− height: 35
53− width: parent.width
54− color: index % 2 == 0 ? "yellow" : "purple"
55− }
56− }
57−
5849 ListViewWithPageHeader {
5950 id: listView
6051 width: parent.width
@@ -66,20 +57,10 @@ Rectangle {
6657 width: parent.width - 20
6758 x: 10
6859 color: index % 2 == 0 ? "red" : "blue"
69− height: timerDone ? size : 350
60+ height: size
7061 Text {
7162 text: index
7263 }
73− Timer {
74− id: sizeTimer
75− interval: 10;
76− onTriggered: {
77− timerDone = true
78− }
79− }
80− Component.onCompleted: {
81− sizeTimer.start()
82− }
8364 }
8465
8566 pageHeader: Rectangle {