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

Method testDeepPut

src/test/java/com/amazon/ion/StructTest.java:375–385  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

373 }
374
375 @Test
376 public void testDeepPut()
377 {
378 IonStruct value = (IonStruct) oneValue("{a:{b:bv}}");
379 IonStruct nested = (IonStruct) value.get("a");
380 IonBool inserted = system().newNullBool();
381 nested.put("c", inserted);
382 assertSame(inserted, ((IonStruct)value.get("a")).get("c"));
383 testMultithreadedAccess(nested);
384 testMultithreadedAccess(value);
385 }
386
387 @Test
388 public void testPutAll()

Callers

nothing calls this directly

Calls 6

getMethod · 0.95
putMethod · 0.95
newNullBoolMethod · 0.65
oneValueMethod · 0.45
systemMethod · 0.45

Tested by

no test coverage detected