Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for testCopyOfNullKey (0.1 seconds)

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

      public void testCopyOfImmutableListMultimap() {
        Multimap<String, Integer> multimap = createMultimap();
        assertThat(ImmutableListMultimap.copyOf(multimap)).isSameInstanceAs(multimap);
      }
    
      public void testCopyOfNullKey() {
        ArrayListMultimap<@Nullable String, Integer> input = ArrayListMultimap.create();
        input.put(null, 1);
        assertThrows(
            NullPointerException.class,
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 24.2K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/collect/ImmutableSetMultimapTest.java

      public void testCopyOfImmutableSetMultimap() {
        Multimap<String, Integer> multimap = createMultimap();
        assertThat(ImmutableSetMultimap.copyOf(multimap)).isSameInstanceAs(multimap);
      }
    
      public void testCopyOfNullKey() {
        HashMultimap<@Nullable String, Integer> input = HashMultimap.create();
        input.put(null, 1);
        assertThrows(
            NullPointerException.class,
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 28.9K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/collect/ImmutableListMultimapTest.java

      public void testCopyOfImmutableListMultimap() {
        Multimap<String, Integer> multimap = createMultimap();
        assertThat(ImmutableListMultimap.copyOf(multimap)).isSameInstanceAs(multimap);
      }
    
      public void testCopyOfNullKey() {
        ArrayListMultimap<@Nullable String, Integer> input = ArrayListMultimap.create();
        input.put(null, 1);
        assertThrows(
            NullPointerException.class,
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 26.1K bytes
    - Click Count (0)
Back to Top