Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for testCopyOfNullValue (0.29 sec)

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

        input.put(null, 1);
        assertThrows(
            NullPointerException.class,
            () -> ImmutableListMultimap.copyOf((ArrayListMultimap<String, Integer>) input));
      }
    
      public void testCopyOfNullValue() {
        ArrayListMultimap<String, @Nullable Integer> input = ArrayListMultimap.create();
        input.putAll("foo", Arrays.<@Nullable Integer>asList(1, null, 3));
        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

        input.put(null, 1);
        assertThrows(
            NullPointerException.class,
            () -> ImmutableSetMultimap.copyOf((Multimap<String, Integer>) input));
      }
    
      public void testCopyOfNullValue() {
        HashMultimap<String, @Nullable Integer> input = HashMultimap.create();
        input.putAll("foo", Arrays.<@Nullable Integer>asList(1, null, 3));
        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

        input.put(null, 1);
        assertThrows(
            NullPointerException.class,
            () -> ImmutableListMultimap.copyOf((ArrayListMultimap<String, Integer>) input));
      }
    
      public void testCopyOfNullValue() {
        ArrayListMultimap<String, @Nullable Integer> input = ArrayListMultimap.create();
        input.putAll("foo", Arrays.<@Nullable Integer>asList(1, null, 3));
        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