Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 5 of 5 for ofHours (0.05 seconds)

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

        assertThat(future.get()).isEqualTo("scheduleAtFixedRate");
        assertThat(recordedCommand).isSameInstanceAs(command);
        assertThat(recordedTimeUnit).isEqualTo(NANOSECONDS);
        assertThat(Duration.ofNanos(recordedDelay)).isEqualTo(Duration.ofDays(2));
        assertThat(Duration.ofNanos(recordedInterval)).isEqualTo(Duration.ofHours(4));
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 02:20:33 GMT 2026
    - 6.5K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/cache/CacheBuilderTest.java

      public void testTimeToLive_setTwice_duration() {
        CacheBuilder<Object, Object> builder =
            CacheBuilder.newBuilder().expireAfterWrite(Duration.ofHours(1));
        assertThrows(IllegalStateException.class, () -> builder.expireAfterWrite(Duration.ofHours(1)));
      }
    
      public void testTimeToIdle_negative() {
        CacheBuilder<Object, Object> builder = CacheBuilder.newBuilder();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 25.7K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/cache/CacheBuilderTest.java

      public void testTimeToLive_setTwice_duration() {
        CacheBuilder<Object, Object> builder =
            CacheBuilder.newBuilder().expireAfterWrite(Duration.ofHours(1));
        assertThrows(IllegalStateException.class, () -> builder.expireAfterWrite(Duration.ofHours(1)));
      }
    
      public void testTimeToIdle_negative() {
        CacheBuilder<Object, Object> builder = CacheBuilder.newBuilder();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 25.6K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/util/concurrent/UninterruptiblesTest.java

        Condition condition = TestCondition.createAndSignalAfter(1000, MILLISECONDS);
        repeatedlyInterruptTestThread(tearDownStack);
    
        boolean returnedBeforeTimeout = awaitUninterruptibly(condition, Duration.ofHours(1));
    
        assertTrue(returnedBeforeTimeout);
        assertTimeNotPassed(stopwatch, LONG_DELAY_MS);
        assertInterrupted();
      }
    
      // Lock.tryLock() tests
      public void testTryLockTimeoutExceeded() {
    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)
  5. android/guava-tests/test/com/google/common/util/concurrent/UninterruptiblesTest.java

        Condition condition = TestCondition.createAndSignalAfter(1000, MILLISECONDS);
        repeatedlyInterruptTestThread(tearDownStack);
    
        boolean returnedBeforeTimeout = awaitUninterruptibly(condition, Duration.ofHours(1));
    
        assertTrue(returnedBeforeTimeout);
        assertTimeNotPassed(stopwatch, LONG_DELAY_MS);
        assertInterrupted();
      }
    
      // Lock.tryLock() tests
      public void testTryLockTimeoutExceeded() {
    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