Home
last modified time | relevance | path

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

/external/guava/guava-testlib/test/com/google/common/testing/
DFakeTickerTest.java41 tester.testAllPublicInstanceMethods(new FakeTicker()); in testNullPointerExceptions()
46 FakeTicker ticker = new FakeTicker(); in testAdvance()
57 FakeTicker ticker = new FakeTicker(); in testAutoIncrementStep_returnsSameInstance()
62 FakeTicker ticker = new FakeTicker().setAutoIncrementStep(10, TimeUnit.NANOSECONDS); in testAutoIncrementStep_nanos()
69 FakeTicker ticker = new FakeTicker().setAutoIncrementStep(1, TimeUnit.MILLISECONDS); in testAutoIncrementStep_millis()
76 FakeTicker ticker = new FakeTicker().setAutoIncrementStep(3, TimeUnit.SECONDS); in testAutoIncrementStep_seconds()
84 FakeTicker ticker = new FakeTicker().setAutoIncrementStep(java.time.Duration.ofMillis(1)); in testAutoIncrementStep_duration()
91 FakeTicker ticker = new FakeTicker().setAutoIncrementStep(10, TimeUnit.NANOSECONDS); in testAutoIncrementStep_resetToZero()
106 FakeTicker ticker = new FakeTicker(); in testAutoIncrement_negative()
117 final FakeTicker ticker = new FakeTicker(); in testConcurrentAdvance()
[all …]
/external/guava/android/guava-testlib/test/com/google/common/testing/
DFakeTickerTest.java41 tester.testAllPublicInstanceMethods(new FakeTicker()); in testNullPointerExceptions()
45 FakeTicker ticker = new FakeTicker(); in testAdvance()
54 FakeTicker ticker = new FakeTicker(); in testAutoIncrementStep_returnsSameInstance()
59 FakeTicker ticker = new FakeTicker().setAutoIncrementStep(10, TimeUnit.NANOSECONDS); in testAutoIncrementStep_nanos()
66 FakeTicker ticker = new FakeTicker().setAutoIncrementStep(1, TimeUnit.MILLISECONDS); in testAutoIncrementStep_millis()
73 FakeTicker ticker = new FakeTicker().setAutoIncrementStep(3, TimeUnit.SECONDS); in testAutoIncrementStep_seconds()
80 FakeTicker ticker = new FakeTicker().setAutoIncrementStep(10, TimeUnit.NANOSECONDS); in testAutoIncrementStep_resetToZero()
95 FakeTicker ticker = new FakeTicker(); in testAutoIncrement_negative()
106 final FakeTicker ticker = new FakeTicker(); in testConcurrentAdvance()
129 final FakeTicker ticker = in testConcurrentAutoIncrementStep()
[all …]
/external/guava/guava-tests/test/com/google/common/cache/
DCacheExpirationTest.java27 import com.google.common.testing.FakeTicker;
50 FakeTicker ticker = new FakeTicker(); in testExpiration_expireAfterWrite()
63 FakeTicker ticker = new FakeTicker(); in testExpiration_expireAfterAccess()
78 FakeTicker ticker, in checkExpiration()
102 FakeTicker ticker = new FakeTicker(); in testExpiringGet_expireAfterWrite()
115 FakeTicker ticker = new FakeTicker(); in testExpiringGet_expireAfterAccess()
130 FakeTicker ticker, in runExpirationTest()
178 FakeTicker ticker = new FakeTicker(); in testRemovalListener_expireAfterWrite()
222 FakeTicker ticker = new FakeTicker(); in testRemovalScheduler_expireAfterWrite()
235 FakeTicker ticker = new FakeTicker(); in testRemovalScheduler_expireAfterAccess()
[all …]
DCacheRefreshTest.java21 import com.google.common.testing.FakeTicker;
31 FakeTicker ticker = new FakeTicker(); in testAutoRefresh()
DCacheTesting.java37 import com.google.common.testing.FakeTicker;
413 static void expireEntries(Cache<?, ?> cache, long expiringTime, FakeTicker ticker) {
418 static void expireEntries(LocalCache<?, ?> cchm, long expiringTime, FakeTicker ticker) {
DCacheBuilderGwtTest.java23 import com.google.common.testing.FakeTicker;
43 private FakeTicker fakeTicker;
49 fakeTicker = new FakeTicker(); in setUp()
DCacheLoadingTest.java36 import com.google.common.testing.FakeTicker;
210 FakeTicker ticker = new FakeTicker(); in testRefresh()
272 FakeTicker ticker = new FakeTicker(); in testRefresh_getIfPresent()
762 FakeTicker ticker = new FakeTicker(); in testRefreshNull()
1050 FakeTicker ticker = new FakeTicker(); in testRefreshError()
1375 FakeTicker ticker = new FakeTicker(); in testRefreshCheckedException()
1649 FakeTicker ticker = new FakeTicker(); in testRefreshUncheckedException()
DLocalCacheTest.java57 import com.google.common.testing.FakeTicker;
987 FakeTicker ticker = new FakeTicker(); in testRemovalListener_expired()
1130 FakeTicker ticker = new FakeTicker(); in testSegmentGetAndContains()
2312 FakeTicker ticker = new FakeTicker(); in testExpireAfterWrite()
2353 FakeTicker ticker = new FakeTicker(); in testExpireAfterAccess()
/external/guava/android/guava-tests/test/com/google/common/cache/
DCacheExpirationTest.java27 import com.google.common.testing.FakeTicker;
50 FakeTicker ticker = new FakeTicker(); in testExpiration_expireAfterWrite()
63 FakeTicker ticker = new FakeTicker(); in testExpiration_expireAfterAccess()
78 FakeTicker ticker, in checkExpiration()
102 FakeTicker ticker = new FakeTicker(); in testExpiringGet_expireAfterWrite()
115 FakeTicker ticker = new FakeTicker(); in testExpiringGet_expireAfterAccess()
130 FakeTicker ticker, in runExpirationTest()
178 FakeTicker ticker = new FakeTicker(); in testRemovalListener_expireAfterWrite()
222 FakeTicker ticker = new FakeTicker(); in testRemovalScheduler_expireAfterWrite()
235 FakeTicker ticker = new FakeTicker(); in testRemovalScheduler_expireAfterAccess()
[all …]
DCacheRefreshTest.java21 import com.google.common.testing.FakeTicker;
31 FakeTicker ticker = new FakeTicker(); in testAutoRefresh()
DCacheTesting.java37 import com.google.common.testing.FakeTicker;
413 static void expireEntries(Cache<?, ?> cache, long expiringTime, FakeTicker ticker) {
418 static void expireEntries(LocalCache<?, ?> cchm, long expiringTime, FakeTicker ticker) {
DCacheBuilderGwtTest.java23 import com.google.common.testing.FakeTicker;
43 private FakeTicker fakeTicker;
49 fakeTicker = new FakeTicker(); in setUp()
DCacheLoadingTest.java36 import com.google.common.testing.FakeTicker;
210 FakeTicker ticker = new FakeTicker(); in testRefresh()
272 FakeTicker ticker = new FakeTicker(); in testRefresh_getIfPresent()
762 FakeTicker ticker = new FakeTicker(); in testRefreshNull()
1050 FakeTicker ticker = new FakeTicker(); in testRefreshError()
1375 FakeTicker ticker = new FakeTicker(); in testRefreshCheckedException()
1649 FakeTicker ticker = new FakeTicker(); in testRefreshUncheckedException()
DLocalCacheTest.java57 import com.google.common.testing.FakeTicker;
974 FakeTicker ticker = new FakeTicker(); in testRemovalListener_expired()
1117 FakeTicker ticker = new FakeTicker(); in testSegmentGetAndContains()
2263 FakeTicker ticker = new FakeTicker(); in testExpireAfterWrite()
2304 FakeTicker ticker = new FakeTicker(); in testExpireAfterAccess()
/external/guava/guava-testlib/src/com/google/common/testing/
DFakeTicker.java41 public class FakeTicker extends Ticker { class
48 public FakeTicker advance(long time, TimeUnit timeUnit) { in advance()
54 public FakeTicker advance(long nanoseconds) { in advance()
65 public FakeTicker advance(java.time.Duration duration) { in advance()
76 public FakeTicker setAutoIncrementStep(long autoIncrementStep, TimeUnit timeUnit) { in setAutoIncrementStep()
91 public FakeTicker setAutoIncrementStep(java.time.Duration autoIncrementStep) { in setAutoIncrementStep()
/external/guava/android/guava-testlib/src/com/google/common/testing/
DFakeTicker.java40 public class FakeTicker extends Ticker { class
47 public FakeTicker advance(long time, TimeUnit timeUnit) { in advance()
53 public FakeTicker advance(long nanoseconds) { in advance()
65 public FakeTicker setAutoIncrementStep(long autoIncrementStep, TimeUnit timeUnit) { in setAutoIncrementStep()
/external/dagger2/javatests/dagger/producers/monitoring/
DTimingProductionComponentMonitorTest.java24 import com.google.common.testing.FakeTicker;
43 private FakeTicker ticker;
59 ticker = new FakeTicker(); in setUp()
/external/guava/android/guava-tests/test/com/google/common/base/
DStopwatchTest.java24 import com.google.common.testing.FakeTicker;
35 private final FakeTicker ticker = new FakeTicker();
/external/guava/guava-tests/test/com/google/common/base/
DStopwatchTest.java25 import com.google.common.testing.FakeTicker;
37 private final FakeTicker ticker = new FakeTicker();
/external/grpc-grpc-java/netty/src/test/java/io/grpc/netty/
DKeepAliveEnforcerTest.java31 private FakeTicker ticker = new FakeTicker();
206 private static class FakeTicker implements KeepAliveEnforcer.Ticker { class in KeepAliveEnforcerTest
/external/grpc-grpc-java/context/src/test/java/io/grpc/
DDeadlineTest.java56 private FakeTicker ticker = new FakeTicker();
252 private static class FakeTicker extends Deadline.Ticker { class in DeadlineTest
/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/
DKeepAliveManagerTest.java45 private final FakeTicker ticker = new FakeTicker();
53 static class FakeTicker extends KeepAliveManager.Ticker { class in KeepAliveManagerTest
/external/grpc-grpc-java/core/src/test/java/io/grpc/
DCallOptionsTest.java47 private final Deadline.Ticker ticker = new FakeTicker();
234 private static class FakeTicker extends Deadline.Ticker { class in CallOptionsTest
/external/guice/lib/build/
Dguava-testlib-19.0.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...