Home
last modified time | relevance | path

Searched refs:timePassed (Results 1 – 7 of 7) sorted by relevance

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowOverScrollerTest.java36 assertThat(overScroller.timePassed()).isEqualTo(0); in shouldScrollOverTime()
42 assertThat(overScroller.timePassed()).isEqualTo(100); in shouldScrollOverTime()
48 assertThat(overScroller.timePassed()).isEqualTo(501); in shouldScrollOverTime()
54 assertThat(overScroller.timePassed()).isEqualTo(1501); in shouldScrollOverTime()
83 assertThat(overScroller.timePassed()).isEqualTo(500); in abortAnimationShouldMoveToFinalPositionImmediately()
95 assertThat(overScroller.timePassed()).isEqualTo(500); in forceFinishedShouldFinishWithoutMovingFurther()
DShadowScrollerTest.java35 assertThat(scroller.timePassed()).isEqualTo(0); in shouldScrollOverTime()
41 assertThat(scroller.timePassed()).isEqualTo(334); in shouldScrollOverTime()
47 assertThat(scroller.timePassed()).isEqualTo(500); in shouldScrollOverTime()
53 assertThat(scroller.timePassed()).isEqualTo(1000); in shouldScrollOverTime()
57 assertThat(scroller.timePassed()).isEqualTo(1001); in shouldScrollOverTime()
/external/mockito/src/test/java/org/mockito/internal/stubbing/answers/
DAnswersWithDelayTest.java42 final long timePassed = after.getTime() - before.getTime(); in should_delay() local
43 assertThat(timePassed).isCloseTo(sleepyTime, within(15L)); in should_delay()
/external/slf4j/slf4j-ext/src/main/java/org/slf4j/agent/
DAgentPremain.java122 long timePassed = System.currentTimeMillis() - start; in printStartStopTimes()
123 … System.err.println("Stop at " + new Date() + ", execution time = " + timePassed + " ms"); in printStartStopTimes()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowScroller.java87 protected int timePassed() { in timePassed() method in ShadowScroller
DShadowOverScroller.java106 protected int timePassed() { in timePassed() method in ShadowOverScroller
/external/mockito/src/test/java/org/mockitousage/stubbing/
DStubbingWithAdditionalAnswersTest.java68 final long timePassed = after.getTime() - before.getTime(); in can_return_after_delay() local
69 assertThat(timePassed).isCloseTo(sleepyTime, within(15L)); in can_return_after_delay()