Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for runConcurrentTest (0.21 seconds)

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

      }
    
      @GwtIncompatible // concurrency
    
      public void testConcurrentAdvance() throws Exception {
        FakeTicker ticker = new FakeTicker();
    
        int numberOfThreads = 64;
        runConcurrentTest(
            numberOfThreads,
            () -> {
              // adds two nanoseconds to the ticker
              ticker.advance(1L);
              Thread.sleep(10);
              ticker.advance(1L);
              return null;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:11:48 GMT 2026
    - 6.1K bytes
    - Click Count (0)
  2. android/guava-testlib/test/com/google/common/testing/FakeTickerTest.java

      }
    
      @GwtIncompatible // concurrency
    
      public void testConcurrentAdvance() throws Exception {
        FakeTicker ticker = new FakeTicker();
    
        int numberOfThreads = 64;
        runConcurrentTest(
            numberOfThreads,
            () -> {
              // adds two nanoseconds to the ticker
              ticker.advance(1L);
              Thread.sleep(10);
              ticker.advance(1L);
              return null;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:11:48 GMT 2026
    - 6.3K bytes
    - Click Count (0)
Back to Top