OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:listenerLatch
(Results
1 - 2
of
2
) sorted by null
/external/guava/guava-tests/test/com/google/common/util/concurrent/
ListenableFutureTaskTest.java
39
protected final CountDownLatch
listenerLatch
= new CountDownLatch(1);
65
listenerLatch
.countDown();
82
assertEquals(1,
listenerLatch
.getCount());
91
assertEquals(1,
listenerLatch
.getCount());
99
assertTrue(
listenerLatch
.await(5, TimeUnit.SECONDS));
119
assertTrue(
listenerLatch
.await(5, TimeUnit.SECONDS));
131
listenerLatch
.await(5, TimeUnit.SECONDS);
150
listenerLatch
.await(5, TimeUnit.SECONDS);
/external/guava/guava-testlib/src/com/google/common/util/concurrent/testing/
AbstractListenableFutureTest.java
165
final CountDownLatch
listenerLatch
= new CountDownLatch(1);
172
listenerLatch
.countDown();
195
assertTrue(
listenerLatch
.await(200, TimeUnit.MILLISECONDS));
215
final CountDownLatch
listenerLatch
= new CountDownLatch(listenerCount);
234
listenerLatch
.countDown();
241
listenerLatch
.await(500, TimeUnit.MILLISECONDS);
Completed in 833 milliseconds