Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 94 for inOrder (0.21 sec)

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

                .build();
    
        assertThat(graph.incidentEdges(2))
            .containsExactly(
                EndpointPair.ordered(2, 1), EndpointPair.ordered(2, 3), EndpointPair.ordered(1, 2))
            .inOrder();
      }
    
      @Test
      public void immutableValueGraphBuilder_incidentEdgeOrder_stable() {
        ImmutableValueGraph<Integer, String> graph =
            ValueGraphBuilder.directed().<Integer, String>immutable().build();
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jan 09 20:24:43 UTC 2020
    - 6.4K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/reflect/ClassPathTest.java

        URLClassLoader child = new URLClassLoader(new URL[] {url2}, parent) {};
        assertThat(ClassPath.getClassPathEntries(child))
            .containsExactly(new File("/a"), parent, new File("/b"), child)
            .inOrder();
      }
    
      @AndroidIncompatible // Android forbids null parent ClassLoader
      public void testClassPathEntries_duplicateUri_parentWins() throws Exception {
        URL url = new URL("file:/a");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 22:09:38 UTC 2024
    - 25K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/graph/ValueGraphTest.java

        graph.putEdgeValue(1, 2, "1-2");
    
        assertThat(graph.incidentEdges(2))
            .containsExactly(
                EndpointPair.ordered(2, 1), EndpointPair.ordered(2, 3), EndpointPair.ordered(1, 2))
            .inOrder();
      }
    
      @Test
      public void incidentEdges_stableIncidentEdgeOrder_preservesIncidentEdgesOrder_undirected() {
        graph = ValueGraphBuilder.undirected().incidentEdgeOrder(ElementOrder.stable()).build();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 17.4K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/IteratorsTest.java

        assertEquals("Iterators.consumingIterator(...)", consumingIterator.toString());
    
        assertThat(list).containsExactly("a", "b").inOrder();
    
        assertTrue(consumingIterator.hasNext());
        assertThat(list).containsExactly("a", "b").inOrder();
        assertEquals("a", consumingIterator.next());
        assertThat(list).contains("b");
    
        assertTrue(consumingIterator.hasNext());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 54.1K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/graph/ValueGraphTest.java

        graph.putEdgeValue(1, 2, "1-2");
    
        assertThat(graph.incidentEdges(2))
            .containsExactly(
                EndpointPair.ordered(2, 1), EndpointPair.ordered(2, 3), EndpointPair.ordered(1, 2))
            .inOrder();
      }
    
      @Test
      public void incidentEdges_stableIncidentEdgeOrder_preservesIncidentEdgesOrder_undirected() {
        graph = ValueGraphBuilder.undirected().incidentEdgeOrder(ElementOrder.stable()).build();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 06 18:35:19 UTC 2024
    - 20K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/MultimapsTest.java

                immutableEntry("a", 4),
                immutableEntry("a", 16),
                immutableEntry("b", 9),
                immutableEntry("b", 9),
                immutableEntry("c", 36))
            .inOrder();
      }
    
      @GwtIncompatible(value = "untested")
      public void testTransformValuesIsView() {
        Multimap<String, String> multimap = LinkedListMultimap.create();
        multimap.put("a", "a");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 38.4K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/io/FilesTest.java

        w.println("");
        w.println(" world  ");
        w.println("");
        w.close();
        Files.readLines(temp, UTF_8, collect);
        assertThat(collect.getResult()).containsExactly("hello", "", " world  ", "").inOrder();
    
        LineProcessor<List<String>> collectNonEmptyLines =
            new LineProcessor<List<String>>() {
              List<String> collector = new ArrayList<>();
    
              @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/IteratorsTest.java

        assertEquals("Iterators.consumingIterator(...)", consumingIterator.toString());
    
        assertThat(list).containsExactly("a", "b").inOrder();
    
        assertTrue(consumingIterator.hasNext());
        assertThat(list).containsExactly("a", "b").inOrder();
        assertEquals("a", consumingIterator.next());
        assertThat(list).contains("b");
    
        assertTrue(consumingIterator.hasNext());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 54.1K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/reflect/ClassPathTest.java

        URLClassLoader child = new URLClassLoader(new URL[] {url2}, parent) {};
        assertThat(ClassPath.getClassPathEntries(child))
            .containsExactly(new File("/a"), parent, new File("/b"), child)
            .inOrder();
      }
    
      @AndroidIncompatible // Android forbids null parent ClassLoader
      public void testClassPathEntries_duplicateUri_parentWins() throws Exception {
        URL url = new URL("file:/a");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 22:09:38 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/primitives/BytesTest.java

        List<Byte> list = Bytes.asList(array);
        list.set(0, (byte) 2);
        assertThat(array).isEqualTo(new byte[] {(byte) 2, (byte) 1});
        array[1] = (byte) 3;
        assertThat(list).containsExactly((byte) 2, (byte) 3).inOrder();
      }
    
      public void testAsList_toArray_roundTrip() {
        byte[] array = {(byte) 0, (byte) 1, (byte) 2};
        List<Byte> list = Bytes.asList(array);
        byte[] newArray = Bytes.toArray(list);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 17.3K bytes
    - Viewed (0)
Back to top