Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 158 for containsExactly (0.08 sec)

  1. android/guava-tests/test/com/google/common/graph/AbstractStandardUndirectedGraphTest.java

        assertThat(graph.nodes()).containsExactly(N1, N5, N4, N2, N3).inOrder();
        assertThat(graph.adjacentNodes(N1)).containsExactly(N4, N5);
        assertThat(graph.adjacentNodes(N2)).containsExactly(N3);
        assertThat(graph.adjacentNodes(N3)).containsExactly(N2);
        assertThat(graph.adjacentNodes(N4)).containsExactly(N1);
        assertThat(graph.adjacentNodes(N5)).containsExactly(N1);
      }
    
      @Test
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/ImmutableTableTest.java

                .putAll(table)
                .build();
        assertThat(copy.rowKeySet()).containsExactly('a', 'b').inOrder();
        assertThat(copy.columnKeySet()).containsExactly(1, 2).inOrder();
        assertThat(copy.values()).containsExactly("baz", "bar", "foo").inOrder();
        assertThat(copy.row('b').keySet()).containsExactly(1, 2).inOrder();
      }
    
      public void testBuilder_orderRowsAndColumnsBy_sparse() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/base/SplitterTest.java

        List<String> letters = COMMA_SPLITTER.splitToList(simple);
        assertThat(letters).containsExactly("a", "b", "c").inOrder();
      }
    
      public void testCharacterSimpleSplitToStream() {
        String simple = "a,b,c";
        List<String> letters = COMMA_SPLITTER.splitToStream(simple).collect(toImmutableList());
        assertThat(letters).containsExactly("a", "b", "c").inOrder();
      }
    
      public void testToString() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 29.6K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/graph/ElementOrderTest.java

        assertThat(graph.nodes()).containsExactly(3, 1, 4).inOrder();
      }
    
      // The default ordering is INSERTION unless otherwise specified.
      @Test
      public void nodeOrder_default() {
        MutableGraph<Integer> graph = GraphBuilder.directed().build();
    
        addNodes(graph);
    
        assertThat(graph.nodeOrder()).isEqualTo(insertion());
        assertThat(graph.nodes()).containsExactly(3, 1, 4).inOrder();
      }
    
      @Test
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 8.1K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/cache/CacheEvictionTest.java

        assertThat(keySet).containsExactly(6, 7, 8, 9, 0, 1, 2, 10, 11, 12);
    
        // re-order
        getAll(cache, asList(6, 7, 8));
        CacheTesting.drainRecencyQueues(cache);
        assertThat(keySet).containsExactly(9, 0, 1, 2, 10, 11, 12, 6, 7, 8);
    
        // evict 9, 0, 1
        getAll(cache, asList(13, 14, 15));
        CacheTesting.drainRecencyQueues(cache);
        assertThat(keySet).containsExactly(2, 10, 11, 12, 6, 7, 8, 13, 14, 15);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 15K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/io/FilesFileTraverserTest.java

        assertThat(Files.fileTraverser().breadthFirst(rootDir)).containsExactly(rootDir);
      }
    
      public void testFileTraverser_nonExistingFile() throws Exception {
        File file = new File(rootDir, "file-that-doesnt-exist");
    
        assertThat(Files.fileTraverser().breadthFirst(file)).containsExactly(file);
      }
    
      public void testFileTraverser_file() throws Exception {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Apr 21 20:17:27 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/io/MoreFilesFileTraverserTest.java

        assertThat(MoreFiles.fileTraverser().breadthFirst(rootDir)).containsExactly(rootDir);
      }
    
      public void testFileTraverser_nonExistingFile() throws Exception {
        Path file = rootDir.resolve("file-that-doesnt-exist");
    
        assertThat(MoreFiles.fileTraverser().breadthFirst(file)).containsExactly(file);
      }
    
      public void testFileTraverser_file() throws Exception {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 09 19:30:52 UTC 2018
    - 3.8K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/HeadersChallengesTest.kt

          Challenge("Digest", mapOf()),
          Challenge("Basic", mapOf("realm" to "myrealm")),
        )
      }
    
      @Test fun multipleSeparatorsBetweenChallenges() {
        val headers =
          Headers.Builder()
            .add("WWW-Authenticate", "Digest,,,, Basic ,,realm=\"myrealm\"")
            .build()
        assertThat(headers.parseChallenges("WWW-Authenticate")).containsExactly(
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/TreeMultisetTest.java

        assertThat(elementSet).containsExactly("a", "b", "c", "d", "e", "f").inOrder();
        SortedSet<String> subset = elementSet.subSet("b", "f");
        assertThat(subset).containsExactly("b", "c", "d", "e").inOrder();
    
        assertTrue(subset.remove("c"));
        assertThat(elementSet).containsExactly("a", "b", "d", "e", "f").inOrder();
        assertThat(subset).containsExactly("b", "d", "e").inOrder();
        assertEquals(10, ms.size());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/ContiguousSetTest.java

        assertThat(set.headSet(2)).containsExactly(1).inOrder();
        assertThat(set.headSet(3)).containsExactly(1, 2).inOrder();
        assertThat(set.headSet(4)).containsExactly(1, 2, 3).inOrder();
        assertThat(set.headSet(Integer.MAX_VALUE)).containsExactly(1, 2, 3).inOrder();
        assertThat(set.headSet(1, true)).containsExactly(1).inOrder();
        assertThat(set.headSet(2, true)).containsExactly(1, 2).inOrder();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 19K bytes
    - Viewed (0)
Back to top