on xenial help sign in
Added test comment.
commita57c00b66acf5efd5f3e283969c6bb698164ec79 authorNick Dedekind <nicholas.dedekind@gmail.com> dateFri 26 Jul 2013, 07:40 (13 years ago) parent03b48b9
1 file changed+4−1
tests/qmltests/Panel/tst_Panel.qml+4−1
tests/qmltests/Panel/tst_Panel.qml+4−1
@@ -214,6 +214,9 @@ Item {
214214 "Tapping search indicator while it was not visible emitted searchClicked signal");
215215 }
216216
217+ // Test the vertical velocity check when flicking the indicators open at an angle.
218+ // If the vertical velocity is above a specific point, we shouldnt change active indicators
219+ // if the x position changes
217220 function test_veritcal_velocity_detector() {
218221 panel.fullscreenMode = false;
219222 panel.searchVisible = false;
@@ -229,7 +232,7 @@ Item {
229232 verify(indicator_item_first != undefined);
230233
231234 var indicator_item_coord_first = get_indicator_item_position(0);
232− var indicator_item_coord_next = get_indicator_item_position(indicator_row.count-1);
235+ var indicator_item_coord_next = get_indicator_item_position(indicator_row.count - 1);
233236
234237 touchPress(panel,
235238 indicator_item_coord_first.x, panel.panelHeight / 2);