Home
last modified time | relevance | path

Searched refs:listenerCount (Results 1 – 3 of 3) sorted by relevance

/external/grpc-grpc-java/context/src/test/java/io/grpc/
DContextTest.java138 assertEquals(0, root.listenerCount()); in rootCanNeverHaveAListener()
364 assertEquals(0, base.listenerCount()); in cascadingCancellationNotifiesChild()
366 assertEquals(0, child.listenerCount()); in cascadingCancellationNotifiesChild()
368 assertEquals(1, child.listenerCount()); in cascadingCancellationNotifiesChild()
369 assertEquals(1, base.listenerCount()); // child is now listening to base in cascadingCancellationNotifiesChild()
379 assertEquals(0, base.listenerCount()); in cascadingCancellationNotifiesChild()
380 assertEquals(0, child.listenerCount()); in cascadingCancellationNotifiesChild()
435 assertEquals(0, base.listenerCount()); in cancellableContextCascadesFromCancellableParent()
436 assertEquals(0, child.listenerCount()); in cancellableContextCascadesFromCancellableParent()
444 assertEquals(0, base.listenerCount()); in nonCascadingCancellationDoesNotNotifyForked()
[all …]
/external/guava/guava-testlib/src/com/google/common/util/concurrent/testing/
DAbstractListenableFutureTest.java214 int listenerCount = 20; in testAllListenersCompleteSuccessfully() local
215 final CountDownLatch listenerLatch = new CountDownLatch(listenerCount); in testAllListenersCompleteSuccessfully()
/external/grpc-grpc-java/context/src/main/java/io/grpc/
DContext.java552 int listenerCount() { in listenerCount() method in Context