Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testParse_accessExpirationSeconds (0.14 sec)

  1. android/guava-tests/test/com/google/common/cache/CacheBuilderSpecTest.java

        assertEquals(10L, spec.accessExpirationDuration);
        assertCacheBuilderEquivalence(
            CacheBuilder.newBuilder().expireAfterAccess(10L, MINUTES), CacheBuilder.from(spec));
      }
    
      public void testParse_accessExpirationSeconds() {
        CacheBuilderSpec spec = parse("expireAfterAccess=10s");
        assertEquals(SECONDS, spec.accessExpirationTimeUnit);
        assertEquals(10L, spec.accessExpirationDuration);
        assertCacheBuilderEquivalence(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/cache/CacheBuilderSpecTest.java

        assertEquals(10L, spec.accessExpirationDuration);
        assertCacheBuilderEquivalence(
            CacheBuilder.newBuilder().expireAfterAccess(10L, MINUTES), CacheBuilder.from(spec));
      }
    
      public void testParse_accessExpirationSeconds() {
        CacheBuilderSpec spec = parse("expireAfterAccess=10s");
        assertEquals(SECONDS, spec.accessExpirationTimeUnit);
        assertEquals(10L, spec.accessExpirationDuration);
        assertCacheBuilderEquivalence(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 19.1K bytes
    - Viewed (0)
Back to top