Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for createAndSignalAfter (0.07 seconds)

  1. guava-tests/test/com/google/common/util/concurrent/UninterruptiblesTest.java

      }
    
      @SuppressWarnings("WaitNotInLoop") // see comment above
      public void testConditionAwaitTimeoutNotExceeded() {
        Stopwatch stopwatch = Stopwatch.createStarted();
        Condition condition = TestCondition.createAndSignalAfter(500, MILLISECONDS);
    
        boolean returnedBeforeTimeout = awaitUninterruptibly(condition, 1500, MILLISECONDS);
    
        assertTrue(returnedBeforeTimeout);
        assertTimeNotPassed(stopwatch, LONG_DELAY_MS);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 38.1K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/UninterruptiblesTest.java

      }
    
      @SuppressWarnings("WaitNotInLoop") // see comment above
      public void testConditionAwaitTimeoutNotExceeded() {
        Stopwatch stopwatch = Stopwatch.createStarted();
        Condition condition = TestCondition.createAndSignalAfter(500, MILLISECONDS);
    
        boolean returnedBeforeTimeout = awaitUninterruptibly(condition, 1500, MILLISECONDS);
    
        assertTrue(returnedBeforeTimeout);
        assertTimeNotPassed(stopwatch, LONG_DELAY_MS);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 38.1K bytes
    - Click Count (0)
Back to Top