[android] - remove deprecation notices and code

This commit is contained in:
Tobrun
2018-10-31 15:50:11 +01:00
committed by Tobrun
parent 37a4967149
commit 7882ce1274
21 changed files with 234 additions and 681 deletions

View File

@@ -69,18 +69,6 @@ public class MapTouchListenersTest {
verify(listener, times(1)).onFling();
}
@Test
public void onScrollListenerTest() throws Exception {
MapboxMap.OnScrollListener listener = mock(MapboxMap.OnScrollListener.class);
mapGestureDetector.addOnScrollListener(listener);
mapGestureDetector.notifyOnScrollListeners();
verify(listener, times(1)).onScroll();
mapGestureDetector.removeOnScrollListener(listener);
mapGestureDetector.notifyOnScrollListeners();
verify(listener, times(1)).onScroll();
}
@Test
public void onMoveListenerTest() throws Exception {
MapboxMap.OnMoveListener listener = mock(MapboxMap.OnMoveListener.class);