Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for testBuilderWithExpectedValuesPerKeyNegative (0.3 sec)

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

        builder.put("key", "value");
        assertThat(builder.build().entries()).containsExactly(Maps.immutableEntry("key", "value"));
      }
    
      public void testBuilderWithExpectedValuesPerKeyNegative() {
        ImmutableListMultimap.Builder<String, String> builder = ImmutableListMultimap.builder();
        assertThrows(IllegalArgumentException.class, () -> builder.expectedValuesPerKey(-1));
      }
    
    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

        builder.put("key", "value");
        assertThat(builder.build().entries()).containsExactly(Maps.immutableEntry("key", "value"));
      }
    
      public void testBuilderWithExpectedValuesPerKeyNegative() {
        ImmutableSetMultimap.Builder<String, String> builder = ImmutableSetMultimap.builder();
        assertThrows(IllegalArgumentException.class, () -> builder.expectedValuesPerKey(-1));
      }
    
    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

        builder.put("key", "value");
        assertThat(builder.build().entries()).containsExactly(Maps.immutableEntry("key", "value"));
      }
    
      public void testBuilderWithExpectedValuesPerKeyNegative() {
        ImmutableListMultimap.Builder<String, String> builder = ImmutableListMultimap.builder();
        assertThrows(IllegalArgumentException.class, () -> builder.expectedValuesPerKey(-1));
      }
    
    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