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

Method testAddAll3

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

Source from the content-addressed store, hash-verified

194 * possibly adding some elements
195 */
196 public void testAddAll3() {
197 try {
198 NavigableSet q = set0();
199 Integer[] ints = new Integer[SIZE];
200 for (int i = 0; i < SIZE-1; ++i)
201 ints[i] = new Integer(i+SIZE);
202 q.addAll(Arrays.asList(ints));
203 shouldThrow();
204 } catch (NullPointerException success) {}
205 }
206
207 /*
208 * Set contains all elements of successful addAll

Callers

nothing calls this directly

Calls 2

set0Method · 0.95
shouldThrowMethod · 0.45

Tested by

no test coverage detected