Fix Travis build

This commit is contained in:
Emux 2016-11-21 12:59:07 +02:00
parent 829e45224f
commit bf8f0745a6

View File

@ -43,14 +43,14 @@ public class MapEventLayerTest {
@Test @Test
public void doubleTap_shouldAnimateZoom() throws Exception { public void doubleTap_shouldAnimateZoom() throws Exception {
simulateDoubleTap(); simulateDoubleTap();
verify(mockAnimator, never()).animateZoom(300, 2, 1.0f, -2.0f); verify(mockAnimator).animateZoom(300, 2, 1.0f, -2.0f);
} }
@Test @Test
public void doubleTap_shouldAnimateZoomAfterDoubleTouchDrag() throws Exception { public void doubleTap_shouldAnimateZoomAfterDoubleTouchDrag() throws Exception {
simulateDoubleTouchDragUp(); simulateDoubleTouchDragUp();
simulateDoubleTap(); simulateDoubleTap();
verify(mockAnimator, never()).animateZoom(300, 2, 1.0f, -2.0f); verify(mockAnimator).animateZoom(300, 2, 1.0f, -2.0f);
} }
@Test @Test