133134135136137138139140141142143144
writeValue(value, helper); } return; } ValueBase base = (ValueBase) value; String[] ids = base._truncatable_ids(); String valueID = ids[0]; boolean isTruncatable = ids.length > 1; boolean sameType = false; // (valueID.equals (repositoryID));
585960616263646566
public void testEventBaseAsAny() { Any any = orb.create_any(); ValueBaseHelper.insert(any, evt); ValueBase base = (ValueBase) ValueBaseHelper.extract(any); assertEquals(evt, base); }
697071727374757677
public void testEventBaseAsStream() { OutputStream out = orb.create_output_stream(); ValueBaseHelper.write(out, evt); InputStream in = out.create_input_stream(); ValueBase base = (ValueBase) ValueBaseHelper.read(in); assertEquals(evt, base); }