Home
last modified time | relevance | path

Searched refs:NOT_ENOUGH_MS (Results 1 – 2 of 2) sorted by relevance

/external/guava/guava-tests/test/com/google/common/util/concurrent/
DSimpleTimeLimiterTest.java42 private static final long NOT_ENOUGH_MS = 5; field in SimpleTimeLimiterTest
109 Sample proxy = service.newProxy(target, Sample.class, NOT_ENOUGH_MS, MILLISECONDS); in testNewProxy_goodMethodWithNotEnoughTime()
118 assertThat(stopwatch.elapsed(MILLISECONDS)).isIn(Range.closed(NOT_ENOUGH_MS, DELAY_MS * 2)); in testNewProxy_goodMethodWithNotEnoughTime()
141 Sample proxy = service.newProxy(target, Sample.class, NOT_ENOUGH_MS, MILLISECONDS); in testNewProxy_badMethodWithNotEnoughTime()
150 assertThat(stopwatch.elapsed(MILLISECONDS)).isIn(Range.closed(NOT_ENOUGH_MS, DELAY_MS * 2)); in testNewProxy_badMethodWithNotEnoughTime()
164 service.callWithTimeout(GOOD_CALLABLE, NOT_ENOUGH_MS, MILLISECONDS); in testCallWithTimeout_goodCallableWithNotEnoughTime()
190 service.callUninterruptiblyWithTimeout(GOOD_CALLABLE, NOT_ENOUGH_MS, MILLISECONDS); in testCallUninterruptiblyWithTimeout_goodCallableWithNotEnoughTime()
215 service.runWithTimeout(GOOD_RUNNABLE, NOT_ENOUGH_MS, MILLISECONDS); in testRunWithTimeout_goodRunnableWithNotEnoughTime()
240 service.runUninterruptiblyWithTimeout(GOOD_RUNNABLE, NOT_ENOUGH_MS, MILLISECONDS); in testRunUninterruptiblyWithTimeout_goodRunnableWithNotEnoughTime()
/external/guava/android/guava-tests/test/com/google/common/util/concurrent/
DSimpleTimeLimiterTest.java42 private static final long NOT_ENOUGH_MS = 5; field in SimpleTimeLimiterTest
109 Sample proxy = service.newProxy(target, Sample.class, NOT_ENOUGH_MS, MILLISECONDS); in testNewProxy_goodMethodWithNotEnoughTime()
118 assertThat(stopwatch.elapsed(MILLISECONDS)).isIn(Range.closed(NOT_ENOUGH_MS, DELAY_MS * 2)); in testNewProxy_goodMethodWithNotEnoughTime()
141 Sample proxy = service.newProxy(target, Sample.class, NOT_ENOUGH_MS, MILLISECONDS); in testNewProxy_badMethodWithNotEnoughTime()
150 assertThat(stopwatch.elapsed(MILLISECONDS)).isIn(Range.closed(NOT_ENOUGH_MS, DELAY_MS * 2)); in testNewProxy_badMethodWithNotEnoughTime()
164 service.callWithTimeout(GOOD_CALLABLE, NOT_ENOUGH_MS, MILLISECONDS); in testCallWithTimeout_goodCallableWithNotEnoughTime()
190 service.callUninterruptiblyWithTimeout(GOOD_CALLABLE, NOT_ENOUGH_MS, MILLISECONDS); in testCallUninterruptiblyWithTimeout_goodCallableWithNotEnoughTime()
215 service.runWithTimeout(GOOD_RUNNABLE, NOT_ENOUGH_MS, MILLISECONDS); in testRunWithTimeout_goodRunnableWithNotEnoughTime()
240 service.runUninterruptiblyWithTimeout(GOOD_RUNNABLE, NOT_ENOUGH_MS, MILLISECONDS); in testRunUninterruptiblyWithTimeout_goodRunnableWithNotEnoughTime()