MCPcopy Create free account
hub / github.com/apache/groovy / testAddAll

Method testAddAll

src/test/groovy/groovy/lang/SequenceTest.java:208–213  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

206 }
207
208 public void testAddAll() {
209 Sequence sequence = new Sequence(String.class);
210 sequence.addAll(Arrays.asList("a", "b", "c"));
211
212 assertEquals(3, sequence.size());
213 }
214
215 public void testAddAllWithWrongTypeFails() {
216 try {

Callers

nothing calls this directly

Calls 4

addAllMethod · 0.95
sizeMethod · 0.65
asListMethod · 0.45
assertEqualsMethod · 0.45

Tested by

no test coverage detected