Home
last modified time | relevance | path

Searched refs:setCurrentTimeMillis (Results 1 – 4 of 4) sorted by relevance

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowSystemClockTest.java39 assertTrue(SystemClock.setCurrentTimeMillis(1034)); in testSetCurrentTime()
41 assertFalse(SystemClock.setCurrentTimeMillis(1000)); in testSetCurrentTime()
DShadowDateUtilsTest.java78 ShadowSystemClock.setCurrentTimeMillis(today); in isToday_shouldReturnFalseForNotToday()
DShadowTimeTest.java38 SystemClock.setCurrentTimeMillis(1000); in shouldSetToNow()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowSystemClock.java43 protected static boolean setCurrentTimeMillis(long millis) { in setCurrentTimeMillis() method in ShadowSystemClock