@@ -105,12 +105,6 @@ Item {
105 signalName: "movementStarted"
105 signalName: "movementStarted"
109− id: contentEndReachedSpy
111− signalName: "contentEndReached"
114 UT.UnityTestCase {
108 UT.UnityTestCase {
115 name: "DashContent"
109 name: "DashContent"
116 when: scopesModel.loaded
110 when: scopesModel.loaded
@@ -123,7 +117,6 @@ Item {
123 function cleanup() {
117 function cleanup() {
124 scopeLoadedSpy.clear();
118 scopeLoadedSpy.clear();
125 movementStartedSpy.clear();
119 movementStartedSpy.clear();
126− contentEndReachedSpy.clear();
127 clear_scope_status();
120 clear_scope_status();
128 dashContent.visible = true;
121 dashContent.visible = true;
@@ -196,17 +189,6 @@ Item {
196 tryCompare(scopeLoadedSpy, "count", 5);
189 tryCompare(scopeLoadedSpy, "count", 5);
199− function test_content_end_reached() {
200− var dashContentList = findChild(dashContent, "dashContentList");
201− verify(dashContentList != undefined);
203− tryCompare(scopeLoadedSpy, "count", 5);
204− dashContent.setCurrentScopeAtIndex(0, true, false);
205− dashContentList.currentItem.item.endReached();
207− compare(contentEndReachedSpy.count, 1);
210 // This tests that setting the current scope index will end up at the correct index even if
192 // This tests that setting the current scope index will end up at the correct index even if
211 // the scopes are loaded asynchrounsly.
193 // the scopes are loaded asynchrounsly.
212 function test_set_current_scope_index_async() {
194 function test_set_current_scope_index_async() {