Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testConcurrentAdvance (0.09 sec)

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

        assertThrows(
            IllegalArgumentException.class, () -> ticker.setAutoIncrementStep(-1, NANOSECONDS));
      }
    
      @GwtIncompatible // concurrency
    
      public void testConcurrentAdvance() throws Exception {
        FakeTicker ticker = new FakeTicker();
    
        int numberOfThreads = 64;
        runConcurrentTest(
            numberOfThreads,
            new Callable<@Nullable Void>() {
              @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  2. android/guava-testlib/test/com/google/common/testing/FakeTickerTest.java

        assertThrows(
            IllegalArgumentException.class, () -> ticker.setAutoIncrementStep(-1, NANOSECONDS));
      }
    
      @GwtIncompatible // concurrency
    
      public void testConcurrentAdvance() throws Exception {
        FakeTicker ticker = new FakeTicker();
    
        int numberOfThreads = 64;
        runConcurrentTest(
            numberOfThreads,
            new Callable<@Nullable Void>() {
              @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.5K bytes
    - Viewed (0)
Back to top