-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Closed
Description
Unable to use Mockito 3.1.7+ with Android on lower SDK devices.
Reason:
- FR: add Mockito.timeout(java.time.Duration) and after(java.time.Duration) #1815
- Add Duration overloads. Fixes #1815 #1818
https://developer.android.com/reference/java/time/Duration <-- This was not added to Android until SDK 26.
https://developer.android.com/about/dashboards <-- here are some distribution stats. Most noticeably, this would impact testing for 70% of the market and is not ideal.
java.lang.NoClassDefFoundError: java.time.Duration
at org.mockito.Mockito.timeout(Mockito.java:2856)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels