use of protos.PrimitiveFields in project j2objc by google.
the class PrimitivesTest method testParseFromByteArray.
public void testParseFromByteArray() throws Exception {
ExtensionRegistry registry = ExtensionRegistry.newInstance();
Primitives.registerAllExtensions(registry);
PrimitiveFields msg = PrimitiveFields.parseFrom(ALL_PRIMITIVES_BYTES, registry);
checkFields(msg);
}
Aggregations