- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for testBuilderPutNullKey (0.17 sec)
-
guava-tests/test/com/google/common/collect/ImmutableBiMapTest.java
assertMapEquals(mapTwo, "one", 1, "two", 2, "three", 3, "four", 4); assertMapEquals(mapTwo.inverse(), 1, "one", 2, "two", 3, "three", 4, "four"); } public void testBuilderPutNullKey() { Builder<String, Integer> builder = new Builder<>(); assertThrows(NullPointerException.class, () -> builder.put(null, 1)); } public void testBuilderPutNullValue() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 22.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableListMultimapTest.java
assertThat(multimap.get("foo")).containsExactly(1, 2, 1, 6, 7, 2).inOrder(); assertThat(multimap.get("bar")).containsExactly(4, 5, 4).inOrder(); assertEquals(9, multimap.size()); } public void testBuilderPutNullKey() { Multimap<@Nullable String, Integer> toPut = LinkedListMultimap.create(); toPut.put(null, 1); ImmutableListMultimap.Builder<String, Integer> builder = ImmutableListMultimap.builder();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 23.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableListMultimapTest.java
assertThat(multimap.get("foo")).containsExactly(1, 2, 1, 6, 7, 2).inOrder(); assertThat(multimap.get("bar")).containsExactly(4, 5, 4).inOrder(); assertEquals(9, multimap.size()); } public void testBuilderPutNullKey() { Multimap<@Nullable String, Integer> toPut = LinkedListMultimap.create(); toPut.put(null, 1); ImmutableListMultimap.Builder<String, Integer> builder = ImmutableListMultimap.builder();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 25.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableSetMultimapTest.java
builder.putAll(toPut); ImmutableSetMultimap<String, Integer> multimap = builder.build(); assertEquals(4, multimap.size()); } public void testBuilderPutNullKey() { Multimap<@Nullable String, Integer> toPut = LinkedListMultimap.create(); toPut.put(null, 1); ImmutableSetMultimap.Builder<String, Integer> builder = ImmutableSetMultimap.builder();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 26.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableMapTest.java
NullPointerException.class, () -> builder.put(new SimpleEntry<String, Integer>(null, 1))); builder.put("foo", 2); assertMapEquals(builder.buildOrThrow(), "foo", 2); } public void testBuilderPutNullKey() { Builder<String, Integer> builder = new Builder<>(); assertThrows(NullPointerException.class, () -> builder.put(null, 1)); } public void testBuilderPutNullValue() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 41.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableMapTest.java
NullPointerException.class, () -> builder.put(new SimpleEntry<String, Integer>(null, 1))); builder.put("foo", 2); assertMapEquals(builder.buildOrThrow(), "foo", 2); } public void testBuilderPutNullKey() { Builder<String, Integer> builder = new Builder<>(); assertThrows(NullPointerException.class, () -> builder.put(null, 1)); } public void testBuilderPutNullValue() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 36.6K bytes - Viewed (0)