on xenial help sign in
Fix test expectations
commit8be3e43f5f6953ad155abca01b986b175174fc9e authorAlbert Astals <albert.astals@canonical.com> dateThu 7 Aug 2014, 11:28 (12 years ago) parent72f88c5
1 file changed+5−5
tests/qmltests/Dash/tst_DashContent.qml+5−5
tests/qmltests/Dash/tst_DashContent.qml+5−5
@@ -70,7 +70,7 @@ Item {
7070 function loadScopes() {
7171 scopeLoadedSpy.clear();
7272 scopesModel.load();
73− tryCompare(scopeLoadedSpy, "count", 10);
73+ tryCompare(scopeLoadedSpy, "count", 6);
7474 }
7575
7676 function init() {
@@ -114,7 +114,7 @@ Item {
114114
115115 loadScopes();
116116
117− compare(dashContentList.count, 10);
117+ compare(dashContentList.count, 6);
118118 verify(dashContentList.currentIndex >= 0 && dashContentList.currentIndex < dashContentList.count);
119119 }
120120
@@ -190,9 +190,9 @@ Item {
190190 function test_scope_mapping_data() {
191191 return [
192192 {tag: "index0", index: 0, objectName: "MockScope1"},
193− {tag: "index1", index: 1, objectName: "MockScope2"},
194− {tag: "index2", index: 2, objectName: "clickscope"},
195− {tag: "index3", index: 3, objectName: "MockScope5"}
193+ {tag: "index1", index: 1, objectName: "clickscope"},
194+ {tag: "index2", index: 2, objectName: "MockScope5"},
195+ {tag: "index3", index: 3, objectName: "SingleCategoryScope"}
196196 ]
197197 }
198198