MCPcopy Create free account
hub / github.com/amazon-ion/ion-java / testConcatenation

Method testConcatenation

src/test/java/com/amazon/ion/ListTest.java:194–202  ·  view source on GitHub ↗

Ensure that triple-quote concatenation works inside lists.

()

Source from the content-addressed store, hash-verified

192
193 /** Ensure that triple-quote concatenation works inside lists. */
194 @Test
195 public void testConcatenation()
196 {
197 IonList value = (IonList) oneValue("[a, '''a''' '''b''', '''c''']");
198 checkSymbol("a", value.get(0));
199 checkString("ab", value.get(1));
200 checkString("c", value.get(2));
201 assertEquals(3, value.size());
202 }
203
204 @Test
205 public void testListIteratorRemove()

Callers

nothing calls this directly

Calls 6

getMethod · 0.65
sizeMethod · 0.65
oneValueMethod · 0.45
checkSymbolMethod · 0.45
checkStringMethod · 0.45
assertEqualsMethod · 0.45

Tested by

no test coverage detected