MCPcopy Create free account
hub / github.com/jankotek/mapdb / testAddAll2

Method testAddAll2

src/test/java/org/mapdb/BTreeSet3Test.java:183–190  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

181 * addAll of a collection with null elements throws NPE
182 */
183 public void testAddAll2() {
184 try {
185 NavigableSet q = set0();
186 Integer[] ints = new Integer[SIZE];
187 q.addAll(Arrays.asList(ints));
188 shouldThrow();
189 } catch (NullPointerException success) {}
190 }
191
192 /*
193 * addAll of a collection with any null elements throws NPE after

Callers

nothing calls this directly

Calls 2

set0Method · 0.95
shouldThrowMethod · 0.45

Tested by

no test coverage detected