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

Method testConcatenation

src/test/java/com/amazon/ion/SexpTest.java:180–188  ·  view source on GitHub ↗

Ensure that triple-quote concatenation works inside sexp.

()

Source from the content-addressed store, hash-verified

178
179 /** Ensure that triple-quote concatenation works inside sexp. */
180 @Test
181 public void testConcatenation()
182 {
183 IonSexp value = (IonSexp) oneValue("(a '''a''' '''b''' \"c\")");
184 checkSymbol("a", value.get(0));
185 checkString("ab", value.get(1));
186 checkString("c", value.get(2));
187 assertEquals(3, value.size());
188 }
189
190 @Test
191 public void testSexpIteratorRemove()

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