Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 134 for containsExactly (0.09 sec)

  1. android/guava-tests/test/com/google/common/collect/ImmutableSetMultimapTest.java

        assertThat(multimap.keySet()).containsExactly("a", "b", "c").inOrder();
        assertThat(multimap.values()).containsExactly(1, 3, 2, 4).inOrder();
        assertThat(multimap.get("a")).containsExactly(1, 3).inOrder();
        assertThat(multimap.get("b")).containsExactly(2);
        assertThat(multimap.get("c")).containsExactly(4);
      }
    
      public void testEmptyMultimapReads() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/TreeRangeSetTest.java

        } else if (a.isConnected(b)) {
          assertThat(rangeSet.asRanges()).containsExactly(a.span(b));
        } else {
          if (a.lowerEndpoint() < b.lowerEndpoint()) {
            assertThat(rangeSet.asRanges()).containsExactly(a, b).inOrder();
          } else {
            assertThat(rangeSet.asRanges()).containsExactly(b, a).inOrder();
          }
        }
      }
    
      public void testRemoveEmpty() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 24.4K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/NewCustomTableTest.java

        table = create("foo", 3, 'a', "bar", 1, 'b', "foo", 2, 'c');
        assertThat(table.rowKeySet()).containsExactly("foo", "bar").inOrder();
      }
    
      public void testRowOrdering() {
        table = create("foo", 3, 'a', "bar", 1, 'b', "foo", 2, 'c');
        assertThat(table.row("foo").keySet()).containsExactly(2, 3).inOrder();
      }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/HeadersChallengesTest.kt

          Challenge("Digest", mapOf()),
          Challenge("Basic", mapOf("realm" to "my\\\"realm")),
        )
      }
    
      @Test fun commaInQuotedStringAndBeforeFirstChallenge() {
        val headers =
          Headers
            .Builder()
            .add("WWW-Authenticate", ",Digest,,,, Basic ,,,realm=\"my, realm,\"")
            .build()
        assertThat(headers.parseChallenges("WWW-Authenticate")).containsExactly(
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 16.8K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/HashBiMapTest.java

        assertThat(map.entrySet())
            .containsExactly(immutableEntry("foo", 1), immutableEntry("quux", 3))
            .inOrder();
      }
    
      public void testInsertionOrderAfterRemoveLast() {
        BiMap<String, Integer> map = HashBiMap.create();
        map.put("foo", 1);
        map.put("bar", 2);
        map.put("quux", 3);
    
        map.remove("quux");
        assertThat(map.entrySet())
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/CallHandshakeTest.kt

        assertThat(handshakeEnabledCipherSuites).containsExactly(
          *socketOrderedByDefaults.toTypedArray(),
        )
      }
    
      @Test
      fun advertisedOrderInRestricted() {
        assertThat(ConnectionSpec.RESTRICTED_TLS.cipherSuites!!).containsExactly(
          TLS_AES_128_GCM_SHA256,
          TLS_AES_256_GCM_SHA384,
          TLS_CHACHA20_POLY1305_SHA256,
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Sep 16 07:21:43 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  7. android/guava-testlib/test/com/google/common/testing/AbstractPackageSanityTestsTest.java

      }
    
      public void testFindClassesToTest_noCorrespondingTestClass() {
        assertThat(findClassesToTest(ImmutableList.of(Foo.class))).containsExactly(Foo.class);
        assertThat(findClassesToTest(ImmutableList.of(Foo.class, Foo2Test.class)))
            .containsExactly(Foo.class);
      }
    
      public void testFindClassesToTest_publicApiOnly() {
        sanityTests.publicApiOnly();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Dec 28 02:48:50 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java

      public void testOf_headSet() {
        SortedSet<String> set = of("e", "f", "b", "d", "c");
        assertTrue(set.headSet("e") instanceof ImmutableSortedSet);
        assertThat(set.headSet("e")).containsExactly("b", "c", "d").inOrder();
        assertThat(set.headSet("g")).containsExactly("b", "c", "d", "e", "f").inOrder();
        assertSame(this.<String>of(), set.headSet("a"));
        assertSame(this.<String>of(), set.headSet("b"));
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 46.7K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/MapsTest.java

        assertThat(map.entrySet())
            .containsExactly(mapEntry("one", 3), mapEntry("three", 5), mapEntry("two", 3))
            .inOrder();
        assertThat(map.tailMap("onea").entrySet())
            .containsExactly(mapEntry("three", 5), mapEntry("two", 3))
            .inOrder();
        assertThat(map.subMap("one", "two").entrySet())
            .containsExactly(mapEntry("one", 3), mapEntry("three", 5))
            .inOrder();
      }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 22:56:33 UTC 2025
    - 65K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/graph/TraverserTest.java

        assertEqualCharNodes(Iterables.limit(result, 2), "ab");
        assertThat(graph.requestedNodes).containsExactly('a', 'a', 'b');
    
        // Iterate again to see if calculation is done again
        assertEqualCharNodes(Iterables.limit(result, 2), "ab");
        assertThat(graph.requestedNodes).containsExactly('a', 'a', 'a', 'b', 'b');
      }
    
      @Test
      public void forGraph_breadthFirstIterable_iterableIsLazy() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 30 17:09:51 UTC 2025
    - 47.4K bytes
    - Viewed (2)
Back to top