Searched refs:DATA1 (Results 1 – 2 of 2) sorted by relevance
/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
D | JdkFutureAdaptersTest.java | 45 private static final String DATA1 = "data"; field in JdkFutureAdaptersTest 48 ListenableFuture<String> listenableFuture = immediateFuture(DATA1); in testListenInPoolThreadReturnsSameFuture() 56 abstractFuture.set(DATA1); in testListenInPoolThreadIgnoresExecutorWhenDelegateIsDone() 71 assertEquals(DATA1, listenableFuture.get()); in testListenInPoolThreadIgnoresExecutorWhenDelegateIsDone() 97 abstractFuture.set(DATA1); in testListenInPoolThreadUsesGivenExecutor() 98 assertEquals(DATA1, listenableFuture.get()); in testListenInPoolThreadUsesGivenExecutor() 211 tester.setDefault(Future.class, immediateFuture(DATA1)); in testNullArguments()
|
D | FuturesTest.java | 71 private static final String DATA1 = "data"; field in FuturesTest 96 ListenableFuture<String> future = Futures.immediateFuture(DATA1); in testImmediateFuture() 99 assertSame(DATA1, future.get(0L, TimeUnit.MILLISECONDS)); in testImmediateFuture() 103 ListenableFuture<String> future1 = Futures.immediateFuture(DATA1); in testMultipleImmediateFutures() 107 assertSame(DATA1, future1.get(0L, TimeUnit.MILLISECONDS)); in testMultipleImmediateFutures() 129 DATA1); in testImmediateCheckedFuture() 132 assertSame(DATA1, future.get(0L, TimeUnit.MILLISECONDS)); in testImmediateCheckedFuture() 133 assertSame(DATA1, future.checkedGet(0L, TimeUnit.MILLISECONDS)); in testImmediateCheckedFuture() 138 DATA1); in testMultipleImmediateCheckedFutures() 143 assertSame(DATA1, future1.get(0L, TimeUnit.MILLISECONDS)); in testMultipleImmediateCheckedFutures() [all …]
|