Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 71 - 80 of 743 for assertThat (0.08 seconds)

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

        assertThat(map).isEmpty();
    
        cache.getUnchecked(one);
        assertThat(map).hasSize(1);
        assertThat(map.get(one)).isSameInstanceAs(one);
        assertThat(map.containsKey(one)).isTrue();
        assertThat(map.containsValue(one)).isTrue();
        assertThat(map.remove(one)).isSameInstanceAs(one);
        assertThat(map).isEmpty();
    
        cache.getUnchecked(one);
        assertThat(map).hasSize(1);
        assertThat(map.remove(one, two)).isFalse();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 13.1K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/cache/CacheBuilderSpecTest.java

        CacheBuilderSpec spec = parse("");
        assertThat(spec.initialCapacity).isNull();
        assertThat(spec.maximumSize).isNull();
        assertThat(spec.maximumWeight).isNull();
        assertThat(spec.concurrencyLevel).isNull();
        assertThat(spec.keyStrength).isNull();
        assertThat(spec.valueStrength).isNull();
        assertThat(spec.writeExpirationTimeUnit).isNull();
        assertThat(spec.accessExpirationTimeUnit).isNull();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 30 22:03:28 GMT 2025
    - 20.8K bytes
    - Click Count (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/internal/concurrent/TaskLoggerTest.kt

        assertThat(formatDuration(-1_500_000_000L)).isEqualTo(" -2 s ")
        assertThat(formatDuration(-1_499_999_999L)).isEqualTo(" -1 s ")
        assertThat(formatDuration(-1_000_000_000L)).isEqualTo(" -1 s ")
        assertThat(formatDuration(  -999_500_000L)).isEqualTo(" -1 s ")
        assertThat(formatDuration(  -999_499_999L)).isEqualTo("-999 ms")
        assertThat(formatDuration(  -998_500_000L)).isEqualTo("-999 ms")
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 3.6K bytes
    - Click Count (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/CookieTest.kt

            .build()
        assertThat(cookie.name).isEqualTo("a")
        assertThat(cookie.value).isEqualTo("b")
        assertThat(cookie.expiresAt).isEqualTo(MAX_DATE)
        assertThat(cookie.domain).isEqualTo("example.com")
        assertThat(cookie.path).isEqualTo("/")
        assertThat(cookie.secure).isFalse()
        assertThat(cookie.httpOnly).isFalse()
        assertThat(cookie.persistent).isFalse()
        assertThat(cookie.hostOnly).isFalse()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sat Nov 01 12:18:11 GMT 2025
    - 24.4K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/base/CaseFormatTest.java

        assertThat(LOWER_HYPHEN.to(LOWER_CAMEL, "foo")).isEqualTo("foo");
        assertThat(LOWER_HYPHEN.to(LOWER_CAMEL, "foo-bar")).isEqualTo("fooBar");
      }
    
      public void testLowerHyphenToUpperCamel() {
        assertThat(LOWER_HYPHEN.to(UPPER_CAMEL, "foo")).isEqualTo("Foo");
        assertThat(LOWER_HYPHEN.to(UPPER_CAMEL, "foo-bar")).isEqualTo("FooBar");
      }
    
      public void testLowerHyphenToUpperUnderscore() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 9.5K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/graph/ValueGraphTest.java

        AbstractGraphTest.validateGraph(asGraph);
        assertThat(graph.nodes()).isEqualTo(asGraph.nodes());
        assertThat(graph.edges()).isEqualTo(asGraph.edges());
        assertThat(graph.nodeOrder()).isEqualTo(asGraph.nodeOrder());
        assertThat(graph.incidentEdgeOrder()).isEqualTo(asGraph.incidentEdgeOrder());
        assertThat(graph.isDirected()).isEqualTo(asGraph.isDirected());
        assertThat(graph.allowsSelfLoops()).isEqualTo(asGraph.allowsSelfLoops());
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 19:26:39 GMT 2026
    - 20.5K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/base/CaseFormatTest.java

        assertThat(LOWER_HYPHEN.to(LOWER_CAMEL, "foo")).isEqualTo("foo");
        assertThat(LOWER_HYPHEN.to(LOWER_CAMEL, "foo-bar")).isEqualTo("fooBar");
      }
    
      public void testLowerHyphenToUpperCamel() {
        assertThat(LOWER_HYPHEN.to(UPPER_CAMEL, "foo")).isEqualTo("Foo");
        assertThat(LOWER_HYPHEN.to(UPPER_CAMEL, "foo-bar")).isEqualTo("FooBar");
      }
    
      public void testLowerHyphenToUpperUnderscore() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 9.5K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/math/StatsAccumulatorTest.java

      }
    
      public void testCount() {
        assertThat(emptyAccumulator.count()).isEqualTo(0);
        assertThat(emptyAccumulatorByAddAllEmptyIterable.count()).isEqualTo(0);
        assertThat(emptyAccumulatorByAddAllEmptyStats.count()).isEqualTo(0);
        assertThat(oneValueAccumulator.count()).isEqualTo(1);
        assertThat(oneValueAccumulatorByAddAllEmptyStats.count()).isEqualTo(1);
        assertThat(twoValuesAccumulator.count()).isEqualTo(2);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 05:21:26 GMT 2026
    - 37.1K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/graph/ValueGraphTest.java

        AbstractGraphTest.validateGraph(asGraph);
        assertThat(graph.nodes()).isEqualTo(asGraph.nodes());
        assertThat(graph.edges()).isEqualTo(asGraph.edges());
        assertThat(graph.nodeOrder()).isEqualTo(asGraph.nodeOrder());
        assertThat(graph.incidentEdgeOrder()).isEqualTo(asGraph.incidentEdgeOrder());
        assertThat(graph.isDirected()).isEqualTo(asGraph.isDirected());
        assertThat(graph.allowsSelfLoops()).isEqualTo(asGraph.allowsSelfLoops());
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 19:26:39 GMT 2026
    - 17.9K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/cache/LocalCacheTest.java

        assertThat(map.refreshNanos).isEqualTo(0);
        assertThat(map.maxWeight).isEqualTo(CacheBuilder.UNSET_INT);
    
        assertThat(map.entryFactory).isEqualTo(EntryFactory.STRONG);
        assertThat(map.removalListener).isSameInstanceAs(CacheBuilder.NullListener.INSTANCE);
        assertThat(map.removalNotificationQueue).isSameInstanceAs(DISCARDING_QUEUE);
        assertThat(map.ticker).isSameInstanceAs(NULL_TICKER);
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 116.4K bytes
    - Click Count (0)
Back to Top