on xenial help sign in
Add ;
commitb5b03cd000a1b96fe5a8e6bc9f8ef63bc2404262 authorAlbert Astals <albert.astals@canonical.com> dateTue 15 Apr 2014, 15:09 (13 years ago) parente63c1a3
1 file changed+7−7
tests/qmltests/Dash/tst_DashContent.qml+7−7
tests/qmltests/Dash/tst_DashContent.qml+7−7
@@ -118,9 +118,9 @@ Item {
118118
119119 function test_show_header_on_list_movement() {
120120 var dashContentList = findChild(dashContent, "dashContentList");
121− verify(dashContentList != undefined)
121+ verify(dashContentList != undefined);
122122 var categoryListView = findChild(dashContentList, "categoryListView");
123− verify(categoryListView != undefined)
123+ verify(categoryListView != undefined);
124124
125125 waitForRendering(categoryListView);
126126
@@ -130,24 +130,24 @@ Item {
130130 var startX = dashContentList.width/2;
131131 var startY = dashContentList.height/2;
132132 touchFlick(dashContentList, startX - units.gu(2), startY, startX, startY);
133− tryCompare(categoryListView, "contentY", units.gu(11) - categoryListView.pageHeader.height)
133+ tryCompare(categoryListView, "contentY", units.gu(11) - categoryListView.pageHeader.height);
134134 }
135135
136136 function test_set_current_scope_reset() {
137137 var dashContentList = findChild(dashContent, "dashContentList");
138− verify(dashContentList != undefined)
138+ verify(dashContentList != undefined);
139139 var categoryListView = findChild(dashContentList, "categoryListView");
140− verify(categoryListView != undefined)
140+ verify(categoryListView != undefined);
141141
142142 categoryListView.contentY = units.gu(10);
143143
144144 compare(dashContentList.currentItem.item.objectName, "MockScope1")
145− compare(categoryListView.contentY, units.gu(10))
145+ compare(categoryListView.contentY, units.gu(10));
146146
147147 dashContent.setCurrentScopeAtIndex(0, false, true);
148148
149149 compare(dashContentList.currentItem.item.objectName, "MockScope1")
150− compare(categoryListView.contentY, 0)
150+ compare(categoryListView.contentY, 0);
151151 }
152152
153153 // This tests that setting the current scope index will end up at the correct index even if