Package com.google.common.util.concurrent.testing
-
Class Summary Class Description AbstractCheckedFutureTest Test case to make sure theCheckedFuture.checkedGet()
andCheckedFuture.checkedGet(long, TimeUnit)
methods work correctly.AbstractListenableFutureTest Abstract test case parent for anything implementingListenableFuture
.MockFutureListener A simple mock implementation ofRunnable
that can be used for testing ListenableFutures.SameThreadScheduledExecutorService A ScheduledExecutorService that executes all scheduled actions immediately in the calling thread.SameThreadScheduledExecutorService.ImmediateScheduledFuture<V> TestingExecutors Factory methods forExecutorService
for testing.TestingExecutors.NoOpScheduledExecutorService TestingExecutors.NoOpScheduledExecutorService.NeverScheduledFuture<V>