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

Method testEmptyClob

src/test/java/com/amazon/ion/ClobTest.java:149–161  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

147 }
148
149 @Test
150 public void testEmptyClob()
151 throws IOException
152 {
153 IonClob value = (IonClob) oneValue("{{\"\"}}");
154 assertFalse(value.isNullValue());
155 checkUtf8("", value);
156
157 // There was once a problem with whitespace between {{ "
158 value = (IonClob) oneValue("{{ \"\" }}");
159 assertFalse(value.isNullValue());
160 checkUtf8("", value);
161 }
162
163 @Test
164 public void testEmptyClobLongString()

Callers

nothing calls this directly

Calls 3

checkUtf8Method · 0.95
isNullValueMethod · 0.65
oneValueMethod · 0.45

Tested by

no test coverage detected