Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testGet_concurrent (0.07 sec)

  1. android/guava-testlib/test/com/google/common/testing/ArbitraryInstancesTest.java

        assertFreshInstanceReturned(Random.class);
        assertEquals(
            ArbitraryInstances.get(Random.class).nextInt(),
            ArbitraryInstances.get(Random.class).nextInt());
      }
    
      public void testGet_concurrent() {
        assertTrue(ArbitraryInstances.get(BlockingDeque.class).isEmpty());
        assertTrue(ArbitraryInstances.get(BlockingQueue.class).isEmpty());
        assertTrue(ArbitraryInstances.get(DelayQueue.class).isEmpty());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 21.8K bytes
    - Viewed (0)
Back to top