/third_party/protobuf/java/core/src/test/java/com/google/protobuf/ |
H A D | PackedFieldTest.java | 35 import com.google.protobuf.PackedFieldTestProto.TestUnpackedTypes; 206 TestUnpackedTypes message = TestUnpackedTypes.parseFrom(expectedUnpackedRawBytes); in testUnpackedGeneratedMessage() 212 DynamicMessage.parseFrom(TestUnpackedTypes.getDescriptor(), expectedUnpackedRawBytes); in testUnPackedDynamicMessageSerialize()
|
H A D | AbstractMessageTest.java | 45 import protobuf_unittest.UnittestProto.TestUnpackedTypes; 326 TestUtil.assertUnpackedFieldsSet(TestUnpackedTypes.parseFrom(abstractMessage.toByteString())); in testUnpackedSerialization() 333 new AbstractMessageWrapper.Builder(TestUnpackedTypes.newBuilder()); in testParsePackedToUnpacked() 336 TestUtil.assertUnpackedFieldsSet((TestUnpackedTypes) message.wrappedMessage); in testParsePackedToUnpacked() 349 new AbstractMessageWrapper.Builder(TestUnpackedTypes.newBuilder()); in testUnpackedParsing() 352 TestUtil.assertUnpackedFieldsSet((TestUnpackedTypes) message.wrappedMessage); in testUnpackedParsing()
|
H A D | GeneratedMessageTest.java | 62 import protobuf_unittest.UnittestProto.TestUnpackedTypes; 715 TestUnpackedTypes.Builder builder = TestUnpackedTypes.newBuilder(); in testParsePackedToUnpacked() 716 TestUnpackedTypes message = builder.mergeFrom(TestUtil.getPackedSet().toByteString()).build(); in testParsePackedToUnpacked()
|
H A D | TestUtil.java | 233 import protobuf_unittest.UnittestProto.TestUnpackedTypes; 310 public static TestUnpackedTypes getUnpackedSet() { in getUnpackedSet() 311 TestUnpackedTypes.Builder builder = TestUnpackedTypes.newBuilder(); in getUnpackedSet() 991 public static void setUnpackedFields(TestUnpackedTypes.Builder message) { in setUnpackedFields() 1076 public static void assertUnpackedFieldsSet(TestUnpackedTypes message) { in assertUnpackedFieldsSet()
|
/third_party/protobuf/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/ |
H A D | AbstractMessageTest.java | 43 import protobuf_unittest.UnittestProto.TestUnpackedTypes; 284 TestUnpackedTypes.parseFrom(abstractMessage.toByteString())); in testUnpackedSerialization() 292 new AbstractMessageWrapper.Builder(TestUnpackedTypes.newBuilder()); in testParsePackedToUnpacked() 296 (TestUnpackedTypes) message.wrappedMessage); in testParsePackedToUnpacked() 309 new AbstractMessageWrapper.Builder(TestUnpackedTypes.newBuilder()); in testUnpackedParsing() 313 (TestUnpackedTypes) message.wrappedMessage); in testUnpackedParsing()
|
H A D | GeneratedMessageTest.java | 58 import protobuf_unittest.UnittestProto.TestUnpackedTypes; 495 TestUnpackedTypes.Builder builder = TestUnpackedTypes.newBuilder(); in testParsePackedToUnpacked() 496 TestUnpackedTypes message = in testParsePackedToUnpacked()
|
H A D | TestUtil.java | 137 import protobuf_unittest.UnittestProto.TestUnpackedTypes; 210 public static TestUnpackedTypes getUnpackedSet() { in getUnpackedSet() 211 TestUnpackedTypes.Builder builder = TestUnpackedTypes.newBuilder(); in getUnpackedSet() 902 public static void setUnpackedFields(TestUnpackedTypes.Builder message) { in setUnpackedFields() 987 public static void assertUnpackedFieldsSet(TestUnpackedTypes message) { in assertUnpackedFieldsSet()
|
/third_party/protobuf/objectivec/Tests/ |
H A D | GPBTestUtilities.h | 38 @class TestUnpackedTypes; 63 - (void)setUnpackedFields:(TestUnpackedTypes *)message
|
/third_party/protobuf/csharp/src/Google.Protobuf.Test.TestProtos/ |
H A D | UnittestProto3.cs | 187 new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.TestProtos.TestUnpackedTypes), global::Google.Protobuf.TestProtos.TestUnpackedTypes.Parser, new[]{ "UnpackedInt32", "UnpackedInt64", "UnpackedUint32", "UnpackedUint64", "UnpackedSint32", "UnpackedSint64", "UnpackedFixed32", "UnpackedFixed64", "UnpackedSfixed32", "UnpackedSfixed64", "UnpackedFloat", "UnpackedDouble", "UnpackedBool", "UnpackedEnum" }, null, null, null, null), in UnittestProto3Reflection() 7569 public sealed partial class TestUnpackedTypes : pb::IMessage<TestUnpackedTypes> class 7574 private static readonly pb::MessageParser<TestUnpackedTypes> _parser = new pb::MessageParser<TestUnpackedTypes>(() => new TestUnpackedTypes()); 7577 public static pb::MessageParser<TestUnpackedTypes> Parser { get { return _parser; } } 7590 public TestUnpackedTypes() { in TestUnpackedTypes() method in Google.Protobuf.TestProtos.TestUnpackedTypes 7597 public TestUnpackedTypes(TestUnpackedType method in Google.Protobuf.TestProtos.TestUnpackedTypes [all...] |
H A D | Unittest.cs | 726 new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.TestProtos.Proto2.TestUnpackedTypes), global::Google.Protobuf.TestProtos.Proto2.TestUnpackedTypes.Parser, new[]{ "UnpackedInt32", "UnpackedInt64", "UnpackedUint32", "UnpackedUint64", "UnpackedSint32", "UnpackedSint64", "UnpackedFixed32", "UnpackedFixed64", "UnpackedSfixed32", "UnpackedSfixed64", "UnpackedFloat", "UnpackedDouble", "UnpackedBool", "UnpackedEnum" }, null, null, null, null), in UnittestReflection() 23155 public sealed partial class TestUnpackedTypes : pb::IMessage<TestUnpackedTypes> class 23160 private static readonly pb::MessageParser<TestUnpackedTypes> _parser = new pb::MessageParser<TestUnpackedTypes>(() => new TestUnpackedTypes()); 23163 public static pb::MessageParser<TestUnpackedTypes> Parser { get { return _parser; } } 23176 public TestUnpackedTypes() { in TestUnpackedTypes() method in Google.Protobuf.TestProtos.Proto2.TestUnpackedTypes 23183 public TestUnpackedTypes(TestUnpackedType method in Google.Protobuf.TestProtos.Proto2.TestUnpackedTypes [all...] |
/third_party/protobuf/src/google/protobuf/ |
H A D | wire_format_unittest.cc | 143 unittest::TestUnpackedTypes source; in TEST() 164 unittest::TestUnpackedTypes dest; in TEST() 1041 proto3_arena_unittest::TestUnpackedTypes unpacked_message; in TEST_F()
|
H A D | extension_set_unittest.cc | 657 unittest::TestUnpackedTypes unpacked; in TEST() 671 unittest::TestUnpackedTypes source; in TEST()
|
/third_party/protobuf/python/google/protobuf/internal/ |
H A D | reflection_test.py | 2972 unpacked = unittest_pb2.TestUnpackedTypes() 2986 unpacked = unittest_pb2.TestUnpackedTypes() 2991 expected = unittest_pb2.TestUnpackedTypes()
|
H A D | message_test.py | 2622 message = packed_field_test_pb2.TestUnpackedTypes()
|