Home
last modified time | relevance | path

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

/external/guava/guava-tests/test/com/google/common/util/concurrent/
DSimpleTimeLimiterTest.java34 private static final int ENOUGH_MS = 500; field in SimpleTimeLimiterTest
66 }, ENOUGH_MS, TimeUnit.MILLISECONDS, true); in testGoodCallableWithEnoughTime()
68 assertTheCallTookBetween(start, DELAY_MS, ENOUGH_MS); in testGoodCallableWithEnoughTime()
96 }, ENOUGH_MS, TimeUnit.MILLISECONDS, true); in testBadCallableWithEnoughTime()
100 assertTheCallTookBetween(start, DELAY_MS, ENOUGH_MS); in testBadCallableWithEnoughTime()
122 target, Sample.class, ENOUGH_MS, TimeUnit.MILLISECONDS); in testGoodMethodWithEnoughTime()
125 assertTheCallTookBetween(start, DELAY_MS, ENOUGH_MS); in testGoodMethodWithEnoughTime()
143 TimeUnit.MILLISECONDS.sleep(ENOUGH_MS); in testGoodMethodWithNotEnoughTime()
150 target, Sample.class, ENOUGH_MS, TimeUnit.MILLISECONDS); in testBadMethodWithEnoughTime()
157 assertTheCallTookBetween(start, DELAY_MS, ENOUGH_MS); in testBadMethodWithEnoughTime()