Home
last modified time | relevance | path

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

/external/guava/guava-tests/test/com/google/common/util/concurrent/
DSimpleTimeLimiterTest.java45 private static final Callable<String> GOOD_CALLABLE = field in SimpleTimeLimiterTest
156 String result = service.callWithTimeout(GOOD_CALLABLE, ENOUGH_MS, MILLISECONDS); in testCallWithTimeout_goodCallableWithEnoughTime()
164 service.callWithTimeout(GOOD_CALLABLE, NOT_ENOUGH_MS, MILLISECONDS); in testCallWithTimeout_goodCallableWithNotEnoughTime()
182 String result = service.callUninterruptiblyWithTimeout(GOOD_CALLABLE, ENOUGH_MS, MILLISECONDS); in testCallUninterruptiblyWithTimeout_goodCallableWithEnoughTime()
190 service.callUninterruptiblyWithTimeout(GOOD_CALLABLE, NOT_ENOUGH_MS, MILLISECONDS); in testCallUninterruptiblyWithTimeout_goodCallableWithNotEnoughTime()
/external/guava/android/guava-tests/test/com/google/common/util/concurrent/
DSimpleTimeLimiterTest.java45 private static final Callable<String> GOOD_CALLABLE = field in SimpleTimeLimiterTest
156 String result = service.callWithTimeout(GOOD_CALLABLE, ENOUGH_MS, MILLISECONDS); in testCallWithTimeout_goodCallableWithEnoughTime()
164 service.callWithTimeout(GOOD_CALLABLE, NOT_ENOUGH_MS, MILLISECONDS); in testCallWithTimeout_goodCallableWithNotEnoughTime()
182 String result = service.callUninterruptiblyWithTimeout(GOOD_CALLABLE, ENOUGH_MS, MILLISECONDS); in testCallUninterruptiblyWithTimeout_goodCallableWithEnoughTime()
190 service.callUninterruptiblyWithTimeout(GOOD_CALLABLE, NOT_ENOUGH_MS, MILLISECONDS); in testCallUninterruptiblyWithTimeout_goodCallableWithNotEnoughTime()