Searched refs:singleCallListener (Results 1 – 1 of 1) sorted by relevance
63 SingleCallListener singleCallListener = new SingleCallListener(); in testListenInPoolThreadIgnoresExecutorWhenDelegateIsDone() local64 singleCallListener.expectCall(); in testListenInPoolThreadIgnoresExecutorWhenDelegateIsDone()67 assertFalse(singleCallListener.wasCalled()); in testListenInPoolThreadIgnoresExecutorWhenDelegateIsDone()72 listenableFuture.addListener(singleCallListener, sameThreadExecutor()); in testListenInPoolThreadIgnoresExecutorWhenDelegateIsDone()78 assertTrue(singleCallListener.wasCalled()); in testListenInPoolThreadIgnoresExecutorWhenDelegateIsDone()91 SingleCallListener singleCallListener = new SingleCallListener(); in testListenInPoolThreadUsesGivenExecutor() local92 singleCallListener.expectCall(); in testListenInPoolThreadUsesGivenExecutor()95 assertFalse(singleCallListener.wasCalled()); in testListenInPoolThreadUsesGivenExecutor()98 listenableFuture.addListener(singleCallListener, executorService); in testListenInPoolThreadUsesGivenExecutor()101 singleCallListener.waitForCall(); in testListenInPoolThreadUsesGivenExecutor()[all …]