Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for testCopyOfNullKey (0.2 sec)

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

      }
    
      public void testCopyOfImmutableListMultimap() {
        Multimap<String, Integer> multimap = createMultimap();
        assertSame(multimap, ImmutableListMultimap.copyOf(multimap));
      }
    
      public void testCopyOfNullKey() {
        ArrayListMultimap<@Nullable String, Integer> input = ArrayListMultimap.create();
        input.put(null, 1);
        assertThrows(
            NullPointerException.class,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/ImmutableSetMultimapTest.java

      }
    
      public void testCopyOfImmutableSetMultimap() {
        Multimap<String, Integer> multimap = createMultimap();
        assertSame(multimap, ImmutableSetMultimap.copyOf(multimap));
      }
    
      public void testCopyOfNullKey() {
        HashMultimap<@Nullable String, Integer> input = HashMultimap.create();
        input.put(null, 1);
        assertThrows(
            NullPointerException.class,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.9K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/ImmutableListMultimapTest.java

      }
    
      public void testCopyOfImmutableListMultimap() {
        Multimap<String, Integer> multimap = createMultimap();
        assertSame(multimap, ImmutableListMultimap.copyOf(multimap));
      }
    
      public void testCopyOfNullKey() {
        ArrayListMultimap<@Nullable String, Integer> input = ArrayListMultimap.create();
        input.put(null, 1);
        assertThrows(
            NullPointerException.class,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 25.4K bytes
    - Viewed (0)
Back to top