Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 102 for expectEq (0.13 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

                    + " was thrown; expected "
                    + getMessage();
            throw new AssertionError(message, exception);
          }
        }
    
        private static final long serialVersionUID = 0;
      }
    
      private static final class UnknownElementException extends RuntimeException {
        private UnknownElementException(Collection<?> expected, Object actual) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java

        this.spliteratorSuppliers = checkNotNull(spliteratorSuppliers);
      }
    
      @SafeVarargs
      @CanIgnoreReturnValue
      public final Ordered expect(Object... elements) {
        return expect(asList(elements));
      }
    
      @CanIgnoreReturnValue
      public final Ordered expect(Iterable<?> elements) {
        List<List<E>> resultsForAllStrategies = new ArrayList<>();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java

        this.spliteratorSuppliers = checkNotNull(spliteratorSuppliers);
      }
    
      @SafeVarargs
      @CanIgnoreReturnValue
      public final Ordered expect(Object... elements) {
        return expect(asList(elements));
      }
    
      @CanIgnoreReturnValue
      public final Ordered expect(Iterable<?> elements) {
        List<List<E>> resultsForAllStrategies = new ArrayList<>();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

                    + " was thrown; expected "
                    + getMessage();
            throw new AssertionError(message, exception);
          }
        }
    
        private static final long serialVersionUID = 0;
      }
    
      private static final class UnknownElementException extends RuntimeException {
        private UnknownElementException(Collection<?> expected, Object actual) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/OrderingTest.java

        IncomparableValueException expected =
            assertThrows(IncomparableValueException.class, () -> c.compare(0, 0));
        assertEquals(0, expected.value);
        reserializeAndAssert(c);
      }
    
      public void testExplicit_one() {
        Comparator<Integer> c = Ordering.explicit(0);
        assertEquals(0, c.compare(0, 0));
        IncomparableValueException expected =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/OrderingTest.java

        IncomparableValueException expected =
            assertThrows(IncomparableValueException.class, () -> c.compare(0, 0));
        assertEquals(0, expected.value);
        reserializeAndAssert(c);
      }
    
      public void testExplicit_one() {
        Comparator<Integer> c = Ordering.explicit(0);
        assertEquals(0, c.compare(0, 0));
        IncomparableValueException expected =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java

      protected final void expectReplacement(Entry<K, V> newEntry) {
        List<Entry<K, V>> expected = copyToList(getSampleElements());
        replaceValue(expected, newEntry);
        expectContents(expected);
      }
    
      private void replaceValue(List<Entry<K, V>> expected, Entry<K, V> newEntry) {
        for (ListIterator<Entry<K, V>> i = expected.listIterator(); i.hasNext(); ) {
          if (Helpers.equal(i.next().getKey(), newEntry.getKey())) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

        int i = 0;
        while (expectedIterator.hasNext()) {
          Object expected = expectedIterator.next();
    
          assertTrue(
              "index " + i + " expected <" + expected + "., actual is exhausted",
              actualIterator.hasNext());
    
          Object actual = actualIterator.next();
          assertEquals("index " + i, expected, actual);
          i++;
        }
        if (actualIterator.hasNext()) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/AbstractMapsTransformValuesTest.java

                });
        Map<String, Boolean> expected = ImmutableMap.of("a", true, "b", false);
        assertMapsEqual(expected, map);
        assertEquals(expected.get("a"), map.get("a"));
        assertEquals(expected.containsKey("a"), map.containsKey("a"));
        assertEquals(expected.get("b"), map.get("b"));
        assertEquals(expected.containsKey("b"), map.containsKey("b"));
        assertEquals(expected.get("c"), map.get("c"));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/SetsTest.java

        Set<Set<Integer>> expected = newHashSet();
        expected.add(ImmutableSet.<Integer>of());
        expected.add(ImmutableSet.of(1));
        expected.add(ImmutableSet.of(2));
        expected.add(ImmutableSet.of(3));
        expected.add(ImmutableSet.of(1, 2));
        expected.add(ImmutableSet.of(1, 3));
        expected.add(ImmutableSet.of(2, 3));
        expected.add(ImmutableSet.of(1, 2, 3));
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 48.6K bytes
    - Viewed (0)
Back to top