Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 18 of 18 for CollectorTester (0.82 sec)

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

    import com.google.common.collect.testing.google.ListGenerators.UnhashableElementsImmutableListGenerator;
    import com.google.common.collect.testing.testers.ListHashCodeTester;
    import com.google.common.testing.CollectorTester;
    import com.google.common.testing.NullPointerTester;
    import com.google.common.testing.SerializableTester;
    import java.util.Arrays;
    import java.util.Collection;
    import java.util.Iterator;
    import java.util.List;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 23.6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/ImmutableRangeMapTest.java

        }
    
        SerializableTester.reserializeAndAssert(test.keySet());
    
        SerializableTester.reserializeAndAssert(nonEmptyRangeMap);
      }
    
      // TODO(b/172823566): Use mainline testToImmutableRangeMap once CollectorTester is usable to java7
      public void testToImmutableRangeMap() {
        Range<Integer> rangeOne = Range.closedOpen(1, 5);
        Range<Integer> rangeTwo = Range.openClosed(6, 7);
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/ImmutableMapTest.java

        assertMapEquals(copy, "one", 1, "two", 2, "three", 3);
        assertSame(copy, ImmutableMap.copyOf(copy));
      }
    
      // TODO(b/172823566): Use mainline testToImmutableMap once CollectorTester is usable to java7.
      public void testToImmutableMap_java7_combine() {
        ImmutableMap.Builder<String, Integer> zis =
            ImmutableMap.<String, Integer>builder().put("one", 1);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 36.7K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/ImmutableSetTest.java

        ImmutableSet<String> copy = ImmutableSet.copyOf(sortedSet);
        assertNotSame(sortedSet, copy);
      }
    
      // TODO(b/172823566): Use mainline testToImmutableSet once CollectorTester is usable to java7.
      public void testToImmutableSet_java7() {
        ImmutableSet.Builder<String> zis = ImmutableSet.<String>builder().add("a", "b", "a");
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/ImmutableRangeSetTest.java

                  assertEquals(expected.contains(i), subRangeSet.contains(i));
                }
              }
            }
          }
        }
      }
    
      // TODO(b/172823566): Use mainline testToImmutableRangeSet once CollectorTester is usable to java7
      public void testToImmutableRangeSet_java7_combine() {
        Range<Integer> rangeOne = Range.closedOpen(1, 3);
        Range<Integer> rangeTwo = Range.closedOpen(7, 9);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Jan 25 16:19:30 UTC 2025
    - 21.7K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/ImmutableListMultimapTest.java

            NullPointerException.class,
            () -> ImmutableListMultimap.copyOf((ArrayListMultimap<String, Integer>) input));
      }
    
      // TODO(b/172823566): Use mainline testToImmutableListMultimap once CollectorTester is usable.
      public void testToImmutableListMultimap_java7_combine() {
        ImmutableListMultimap.Builder<String, Integer> zis =
            ImmutableListMultimap.<String, Integer>builder().put("a", 1).put("b", 2);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/ImmutableSetMultimapTest.java

        assertThrows(
            NullPointerException.class,
            () -> ImmutableSetMultimap.copyOf((Multimap<String, Integer>) input));
      }
    
      // TODO(b/172823566): Use mainline testToImmutableSetMultimap once CollectorTester is usable.
      public void testToImmutableSetMultimap_java7_combine() {
        ImmutableSetMultimap.Builder<String, Integer> zis =
            ImmutableSetMultimap.<String, Integer>builder().put("a", 1).put("b", 2);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/ImmutableListTest.java

            NullPointerException.class,
            () -> ImmutableList.sortedCopyOf(String.CASE_INSENSITIVE_ORDER, (Collection<String>) c));
      }
    
      // TODO(b/172823566): Use mainline testToImmutableList once CollectorTester is usable to java7.
      public void testToImmutableList_java7_combine() {
        ImmutableList.Builder<String> zis = ImmutableList.<String>builder().add("a", "b");
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.2K bytes
    - Viewed (0)
Back to top