on xenial help sign in
Fix GenericPreview tests.
commitee986632c4d9a4d5b18e57c1eaab3f5f0821b89e authorMichał Sawicz <michal.sawicz@canonical.com> dateMon 3 Mar 2014, 11:00 (13 years ago) parent2004096
1 file changed+2−2
tests/qmltests/Dash/tst_GenericPreview.qml+2−2
tests/qmltests/Dash/tst_GenericPreview.qml+2−2
@@ -22,7 +22,7 @@ import Unity.Test 0.1 as UT
2222Item {
2323 id: root
2424 width: units.gu(60)
25− height: units.gu(80)
25+ height: units.gu(90)
2626
2727 property var calls: []
2828 property int counter: 0
@@ -81,7 +81,7 @@ Item {
8181
8282 var actions = get_actions_data();
8383 for(var i = 0; i < actions.length; i++) {
84− compare(root.calls[i], actions[i].id);
84+ tryCompare(root.calls, i, actions[i].id);
8585 }
8686 }
8787