@@ -70,27 +70,6 @@ Item {
73− function test_set_current_scope_data() {
74− return get_scope_data()
77− function test_set_current_scope(data) {
78− // wait for scopes to load
79− tryCompare(scopes, "loaded", true);
81− var tabbar = findChild(dash, "tabbar");
82− verify(tabbar != undefined)
83− var dashContent = findChild(dash, "dashContent");
84− var current_index = dashContent.currentIndex;
86− dash.setCurrentScope(data.tag, true /* animate */, false /* reset */);
87− compare(dashContent.currentIndex, data.shouldBeVisible ? data.visualIndex : current_index);
89− var dashContentList = findChild(dash, "dashContentList");
90− var expectedTitle = dashContentList.model.get(data.shouldBeVisible ? data.visualIndex : current_index).title
91− compare(tabbar.title, expectedTitle);
94 function test_show_scope_on_load_data() {
73 function test_show_scope_on_load_data() {
95 return get_scope_data()
74 return get_scope_data()