Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for createAndSignalAfter (0.08 sec)

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

        assertNotInterrupted();
      }
    
      public void testConditionAwaitTimeoutNotExceeded() {
        Stopwatch stopwatch = Stopwatch.createStarted();
        Condition condition = TestCondition.createAndSignalAfter(500, MILLISECONDS);
    
        boolean signaledBeforeTimeout = awaitUninterruptibly(condition, 1500, MILLISECONDS);
    
        assertTrue(signaledBeforeTimeout);
        assertTimeNotPassed(stopwatch, LONG_DELAY_MS);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 31.7K bytes
    - Viewed (0)
Back to top