Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testConcurrentAutoIncrementStep (0.31 sec)

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

                return null;
              }
            });
    
        assertEquals(numberOfThreads * 2, ticker.read());
      }
    
      @GwtIncompatible // concurrency
    
      public void testConcurrentAutoIncrementStep() throws Exception {
        int incrementByNanos = 3;
        final FakeTicker ticker = new FakeTicker().setAutoIncrementStep(incrementByNanos, NANOSECONDS);
    
        int numberOfThreads = 64;
        runConcurrentTest(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 22 13:49:09 UTC 2024
    - 6.5K bytes
    - Viewed (0)
Back to top