HomeSort by relevance Sort by last modified time
    Searched refs:countDownLatch (Results 1 - 3 of 3) sorted by null

  /external/guava/guava-tests/test/com/google/common/util/concurrent/
ExecutionListTest.java 26 import java.util.concurrent.CountDownLatch;
43 CountDownLatch countDownLatch = new CountDownLatch(3);
44 list.add(new MockRunnable(countDownLatch), exec);
45 list.add(new MockRunnable(countDownLatch), exec);
46 list.add(new MockRunnable(countDownLatch), exec);
47 assertEquals(countDownLatch.getCount(), 3L);
52 assertTrue(countDownLatch.await(1L, TimeUnit.SECONDS));
60 CountDownLatch countDownLatch = new CountDownLatch(1)
    [all...]
  /external/guava/guava-testlib/src/com/google/common/util/concurrent/testing/
MockFutureListener.java 25 import java.util.concurrent.CountDownLatch;
38 private final CountDownLatch countDownLatch;
42 this.countDownLatch = new CountDownLatch(1);
50 countDownLatch.countDown();
61 Assert.assertTrue(countDownLatch.await(1L, TimeUnit.SECONDS));
77 Assert.assertTrue(countDownLatch.await(1L, TimeUnit.SECONDS));
90 Assert.assertFalse(countDownLatch.await(1L, TimeUnit.SECONDS));
  /external/littlemock/tests/com/google/testing/littlemock/
LittleMockTest.java 66 import java.util.concurrent.CountDownLatch;
    [all...]

Completed in 506 milliseconds