Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 231 for containsExactly (0.17 sec)

  1. 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
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 8.1K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/graph/ImmutableNetworkTest.java

        Network<String, String> network = ImmutableNetwork.copyOf(mutableNetwork);
    
        assertThat(network.edgesConnecting("A", "A")).containsExactly("AA");
        assertThat(network.edgesConnecting("A", "B")).containsExactly("AB");
        assertThat(network.edgesConnecting("B", "A")).containsExactly("AB");
      }
    
      @Test
      public void immutableNetworkBuilder_appliesNetworkBuilderConfig() {
        ImmutableNetwork<String, Integer> emptyNetwork =
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sun May 05 18:02:35 GMT 2019
    - 5.5K bytes
    - Viewed (0)
  3. 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 {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Apr 21 20:17:27 GMT 2023
    - 3.4K bytes
    - Viewed (0)
  4. okhttp-idna-mapping-table/src/test/kotlin/okhttp3/internal/idn/MappingTablesTest.kt

            ),
          ),
        ).containsExactly(
          Mapping(0x0000, 0x002e, TYPE_VALID, ByteString.EMPTY),
        )
      }
    
      @Test fun withSectionStartsSplits() {
        assertThat(
          withoutSectionSpans(
            listOf(
              Mapping(0x40000, 0x40180, TYPE_DISALLOWED, ByteString.EMPTY),
            ),
          ),
        ).containsExactly(
          Mapping(0x40000, 0x4007f, TYPE_DISALLOWED, ByteString.EMPTY),
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 6.3K bytes
    - Viewed (0)
  5. 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() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 23.4K bytes
    - Viewed (0)
  6. 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 {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Apr 09 19:30:52 GMT 2018
    - 3.8K bytes
    - Viewed (0)
  7. 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() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 16:54:11 GMT 2024
    - 20K bytes
    - Viewed (0)
  8. 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();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Jun 11 21:37:55 GMT 2019
    - 5.3K bytes
    - Viewed (0)
  9. 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();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 11 21:37:55 GMT 2019
    - 5.3K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/internal/concurrent/TaskRunnerTest.kt

        }
    
        taskFaker.advanceUntil(0.µs)
        assertThat(log).containsExactly()
    
        taskFaker.advanceUntil(99.µs)
        assertThat(log).containsExactly()
    
        taskFaker.advanceUntil(100.µs)
        assertThat(log).containsExactly("run@100000")
    
        taskFaker.assertNoMoreTasks()
    
        assertThat(testLogHandler.takeAll()).containsExactly(
          "FINE: Q10000 scheduled after 100 µs: task",
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 29 00:33:04 GMT 2024
    - 23K bytes
    - Viewed (0)
Back to top