diff --git a/engine/src/flutter/shell/platform/android/test/io/flutter/view/VsyncWaiterTest.java b/engine/src/flutter/shell/platform/android/test/io/flutter/view/VsyncWaiterTest.java index 35065d227e9..47ea7b22106 100644 --- a/engine/src/flutter/shell/platform/android/test/io/flutter/view/VsyncWaiterTest.java +++ b/engine/src/flutter/shell/platform/android/test/io/flutter/view/VsyncWaiterTest.java @@ -44,7 +44,7 @@ public class VsyncWaiterTest { verify(mockFlutterJNI, times(1)).setAsyncWaitForVsyncDelegate(delegateCaptor.capture()); delegateCaptor.getValue().asyncWaitForVsync(1); shadowOf(Looper.getMainLooper()).idle(); - verify(mockFlutterJNI, times(1)).onVsync(anyLong(), eq(1000000000l / 10l), eq(1l)); + verify(mockFlutterJNI, times(1)).onVsync(anyLong(), eq(1000000000L / 10L), eq(1L)); } @Test @@ -71,7 +71,7 @@ public class VsyncWaiterTest { verify(mockFlutterJNI, times(1)).setAsyncWaitForVsyncDelegate(delegateCaptor.capture()); delegateCaptor.getValue().asyncWaitForVsync(1); shadowOf(Looper.getMainLooper()).idle(); - verify(mockFlutterJNI, times(1)).onVsync(anyLong(), eq(1000000000l / 90l), eq(1l)); + verify(mockFlutterJNI, times(1)).onVsync(anyLong(), eq(1000000000L / 90L), eq(1L)); when(mockDisplay.getRefreshRate()).thenReturn(60.0f); displayListenerCaptor.getValue().onDisplayChanged(Display.DEFAULT_DISPLAY); @@ -79,7 +79,7 @@ public class VsyncWaiterTest { delegateCaptor.getValue().asyncWaitForVsync(1); shadowOf(Looper.getMainLooper()).idle(); - verify(mockFlutterJNI, times(1)).onVsync(anyLong(), eq(1000000000l / 60l), eq(1l)); + verify(mockFlutterJNI, times(1)).onVsync(anyLong(), eq(1000000000L / 60L), eq(1L)); } @Test