Home
last modified time | relevance | path

Searched refs:TestPackedTypes (Results 1 - 25 of 27) sorted by relevance

12

/third_party/protobuf/java/core/src/test/java/com/google/protobuf/
H A DWireFormatLiteTest.java51 import protobuf_unittest.UnittestProto.TestPackedTypes;
78 // TestPackedTypes and TestPackedExtensions should have compatible wire in testSerializePackedExtensionsLite()
83 TestPackedTypes message2 = TestUtil.getPackedSet(); in testSerializePackedExtensionsLite()
130 TestPackedTypes message = TestUtil.getPackedSet(); in testSerializationPacked()
135 TestPackedTypes message2 = TestPackedTypes.parseFrom(rawBytes); in testSerializationPacked()
155 // TestPackedTypes and TestPackedExtensions should have compatible wire in testSerializePackedExtensions()
160 TestPackedTypes message2 = TestUtil.getPackedSet(); in testSerializePackedExtensions()
170 TestPackedTypes message = TestUtil.getPackedSet(); in testSerializationPackedWithoutGetSerializedSize()
181 TestPackedTypes message in testSerializationPackedWithoutGetSerializedSize()
[all...]
H A DCachedFieldSizeTest.java35 import protobuf_unittest.UnittestProto.TestPackedTypes;
50 UnittestProto3.TestPackedTypes.parseFrom(TestUtil.getPackedSet().toByteArray())); in testCachedFieldSize()
62 assertEquals(message.getProto2Child(), TestPackedTypes.parseFrom(data2)); in testCachedFieldSize()
63 assertEquals(message.getProto3Child(), UnittestProto3.TestPackedTypes.parseFrom(data3)); in testCachedFieldSize()
H A DWireFormatTest.java44 import protobuf_unittest.UnittestProto.TestPackedTypes;
76 TestPackedTypes message = TestUtil.getPackedSet(); in testSerializationPacked()
81 TestPackedTypes message2 = TestPackedTypes.parseFrom(rawBytes); in testSerializationPacked()
101 // TestPackedTypes and TestPackedExtensions should have compatible wire in testSerializePackedExtensions()
106 TestPackedTypes message2 = TestUtil.getPackedSet(); in testSerializePackedExtensions()
116 TestPackedTypes message = TestUtil.getPackedSet(); in testSerializationPackedWithoutGetSerializedSize()
127 TestPackedTypes message2 = TestPackedTypes.parseFrom(outputStream.toByteArray()); in testSerializationPackedWithoutGetSerializedSize()
170 TestUtil.assertPackedFieldsSet(TestPackedTypes in testSerializeDelimited()
[all...]
H A DDynamicMessageTest.java41 import protobuf_unittest.UnittestProto.TestPackedTypes;
59 new TestUtil.ReflectionTester(TestPackedTypes.getDescriptor(), null);
200 Message.Builder builder = DynamicMessage.newBuilder(TestPackedTypes.getDescriptor()); in testDynamicMessagePackedSerialization()
205 TestPackedTypes message2 = TestPackedTypes.parseFrom(rawBytes); in testDynamicMessagePackedSerialization()
214 TestPackedTypes.Builder builder = TestPackedTypes.newBuilder(); in testDynamicMessagePackedParsing()
216 TestPackedTypes message = builder.build(); in testDynamicMessagePackedParsing()
220 Message message2 = DynamicMessage.parseFrom(TestPackedTypes.getDescriptor(), rawBytes); in testDynamicMessagePackedParsing()
H A DAbstractMessageTest.java42 import protobuf_unittest.UnittestProto.TestPackedTypes;
310 TestUtil.assertPackedFieldsSet(TestPackedTypes.parseFrom(abstractMessage.toByteString())); in testPackedSerialization()
317 new AbstractMessageWrapper.Builder(TestPackedTypes.newBuilder()); in testPackedParsing()
320 TestUtil.assertPackedFieldsSet((TestPackedTypes) message.wrappedMessage); in testPackedParsing()
341 new AbstractMessageWrapper.Builder(TestPackedTypes.newBuilder()); in testParseUnpackedToPacked()
344 TestUtil.assertPackedFieldsSet((TestPackedTypes) message.wrappedMessage); in testParseUnpackedToPacked()
H A DCodedOutputStreamTest.java36 import protobuf_unittest.UnittestProto.TestPackedTypes;
366 TestPackedTypes message = TestUtil.getPackedSet(); in testWriteWholePackedFieldsMessage()
H A DGeneratedMessageTest.java61 import protobuf_unittest.UnittestProto.TestPackedTypes;
721 TestPackedTypes.Builder builder = TestPackedTypes.newBuilder(); in testParseUnpackedToPacked()
722 TestPackedTypes message = builder.mergeFrom(TestUtil.getUnpackedSet().toByteString()).build(); in testParseUnpackedToPacked()
H A DUnknownFieldSetTest.java43 import protobuf_unittest.UnittestProto.TestPackedTypes;
/third_party/protobuf/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/
H A DDynamicMessageTest.java37 import protobuf_unittest.UnittestProto.TestPackedTypes;
56 new TestUtil.ReflectionTester(TestPackedTypes.getDescriptor(), null);
209 DynamicMessage.newBuilder(TestPackedTypes.getDescriptor()); in testDynamicMessagePackedSerialization()
214 TestPackedTypes message2 = TestPackedTypes.parseFrom(rawBytes); in testDynamicMessagePackedSerialization()
223 TestPackedTypes.Builder builder = TestPackedTypes.newBuilder(); in testDynamicMessagePackedParsing()
225 TestPackedTypes message = builder.build(); in testDynamicMessagePackedParsing()
230 DynamicMessage.parseFrom(TestPackedTypes.getDescriptor(), rawBytes); in testDynamicMessagePackedParsing()
H A DWireFormatTest.java45 import protobuf_unittest.UnittestProto.TestPackedTypes;
69 TestPackedTypes message = TestUtil.getPackedSet(); in testSerializationPacked()
74 TestPackedTypes message2 = TestPackedTypes.parseFrom(rawBytes); in testSerializationPacked()
94 // TestPackedTypes and TestPackedExtensions should have compatible wire in testSerializePackedExtensions()
99 TestPackedTypes message2 = TestUtil.getPackedSet(); in testSerializePackedExtensions()
110 TestPackedTypes message = TestUtil.getPackedSet(); in testSerializationPackedWithoutGetSerializedSize()
121 TestPackedTypes message2 = TestPackedTypes.parseFrom( in testSerializationPackedWithoutGetSerializedSize()
172 TestUtil.assertPackedFieldsSet(TestPackedTypes in testSerializeDelimited()
[all...]
H A DAbstractMessageTest.java40 import protobuf_unittest.UnittestProto.TestPackedTypes;
265 TestPackedTypes.parseFrom(abstractMessage.toByteString())); in testPackedSerialization()
273 new AbstractMessageWrapper.Builder(TestPackedTypes.newBuilder()); in testPackedParsing()
276 TestUtil.assertPackedFieldsSet((TestPackedTypes) message.wrappedMessage); in testPackedParsing()
301 new AbstractMessageWrapper.Builder(TestPackedTypes.newBuilder()); in testParseUnpackedToPacked()
304 TestUtil.assertPackedFieldsSet((TestPackedTypes) message.wrappedMessage); in testParseUnpackedToPacked()
H A DCodedOutputStreamTest.java36 import protobuf_unittest.UnittestProto.TestPackedTypes;
300 TestPackedTypes message = TestUtil.getPackedSet(); in testWriteWholePackedFieldsMessage()
H A DGeneratedMessageTest.java57 import protobuf_unittest.UnittestProto.TestPackedTypes;
502 TestPackedTypes.Builder builder = TestPackedTypes.newBuilder(); in testParseUnpackedToPacked()
503 TestPackedTypes message = in testParseUnpackedToPacked()
H A DTestUtil.java136 import protobuf_unittest.UnittestProto.TestPackedTypes;
204 public static TestPackedTypes getPackedSet() { in getPackedSet()
205 TestPackedTypes.Builder builder = TestPackedTypes.newBuilder(); in getPackedSet()
866 public static void setPackedFields(TestPackedTypes.Builder message) { in setPackedFields()
938 public static void assertPackedFieldsSet(TestPackedTypes message) { in assertPackedFieldsSet()
1937 // initialization using TestPackedTypes descriptors. These objects in ReflectionTester()
3030 * TestPackedTypes with all fields set as they would be by
3031 * {@link #setPackedFields(TestPackedTypes.Builder)}, but it is loaded from a
/third_party/protobuf/objectivec/Tests/
H A DGPBTestUtilities.h36 @class TestPackedTypes;
61 - (void)setPackedFields:(TestPackedTypes *)message
73 - (TestPackedTypes *)packedSetRepeatedCount:(uint32_t)count;
86 - (void)assertPackedFieldsSet:(TestPackedTypes *)message
/third_party/protobuf/src/google/protobuf/util/
H A Ddelimited_message_util_test.cc55 protobuf_unittest::TestPackedTypes message2; in TEST()
71 protobuf_unittest::TestPackedTypes message2; in TEST()
H A Dtype_resolver_util_test.cc307 GetTypeUrl<protobuf_unittest::TestPackedTypes>(), &type) in TEST_F()
/third_party/protobuf/python/compatibility_tests/v2.5.0/tests/google/protobuf/internal/
H A Dmessage_test.py100 golden_message = unittest_pb2.TestPackedTypes()
102 all_set = unittest_pb2.TestPackedTypes()
192 golden_message = unittest_pb2.TestPackedTypes()
201 golden_message = unittest_pb2.TestPackedTypes()
210 golden_message = unittest_pb2.TestPackedTypes()
216 message = unittest_pb2.TestPackedTypes()
/third_party/protobuf/js/experimental/benchmarks/code_size/apps_jspb/
H A Dall_types_proto2.js9 const TestPackedTypes = goog.require('proto.proto2_unittest.TestPackedTypes');
28 const msgPackedTypes = TestPackedTypes.deserialize('');
H A Dall_types_proto3.js9 const TestPackedTypes = goog.require('proto.proto3_unittest.TestPackedTypes');
28 const msgPackedTypes = TestPackedTypes.deserialize('');
/third_party/protobuf/src/google/protobuf/
H A Dextension_set_unittest.cc552 // Serialize as TestPackedExtensions and parse as TestPackedTypes to insure in TEST()
559 unittest::TestPackedTypes destination; in TEST()
572 // Serialize as TestPackedExtensions and parse as TestPackedTypes to insure in TEST()
580 unittest::TestPackedTypes destination; in TEST()
635 // Serialize as TestPackedTypes and parse as TestPackedExtensions. in TEST()
636 unittest::TestPackedTypes source; in TEST()
647 unittest::TestPackedTypes source; in TEST()
681 unittest::TestPackedTypes packed; in TEST()
H A Dwire_format_unittest.cc125 unittest::TestPackedTypes source, dest; in TEST()
148 unittest::TestPackedTypes dest; in TEST()
159 unittest::TestPackedTypes source; in TEST()
256 unittest::TestPackedTypes message; in TEST()
/third_party/protobuf/python/google/protobuf/internal/
H A Dreflection_test.py2242 self.packed_proto = unittest_pb2.TestPackedTypes()
2911 first_proto = unittest_pb2.TestPackedTypes()
2912 second_proto = unittest_pb2.TestPackedTypes()
2930 first_proto = unittest_pb2.TestPackedTypes()
2935 second_proto = unittest_pb2.TestPackedTypes()
2948 proto = unittest_pb2.TestPackedTypes()
2974 packed = unittest_pb2.TestPackedTypes()
2979 expected = unittest_pb2.TestPackedTypes()
2984 packed = unittest_pb2.TestPackedTypes()
3161 proto = unittest_pb2.TestPackedTypes()
[all...]
H A Dmessage_test.py149 golden_message = message_module.TestPackedTypes()
151 all_set = message_module.TestPackedTypes()
299 golden_message = message_module.TestPackedTypes()
308 golden_message = message_module.TestPackedTypes()
317 golden_message = message_module.TestPackedTypes()
323 message = message_module.TestPackedTypes()
2603 message = packed_field_test_pb2.TestPackedTypes()
/third_party/protobuf/csharp/src/Google.Protobuf.Test.TestProtos/
H A DUnittestProto3.cs186 new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.TestProtos.TestPackedTypes), global::Google.Protobuf.TestProtos.TestPackedTypes.Parser, new[]{ "PackedInt32", "PackedInt64", "PackedUint32", "PackedUint64", "PackedSint32", "PackedSint64", "PackedFixed32", "PackedFixed64", "PackedSfixed32", "PackedSfixed64", "PackedFloat", "PackedDouble", "PackedBool", "PackedEnum" }, null, null, null, null), in UnittestProto3Reflection()
7051 public sealed partial class TestPackedTypes : pb::IMessage<TestPackedTypes> class
7056 private static readonly pb::MessageParser<TestPackedTypes> _parser = new pb::MessageParser<TestPackedTypes>(() => new TestPackedTypes());
7059 public static pb::MessageParser<TestPackedTypes> Parser { get { return _parser; } }
7072 public TestPackedTypes() { in TestPackedTypes() method in Google.Protobuf.TestProtos.TestPackedTypes
7079 public TestPackedTypes(TestPackedType method in Google.Protobuf.TestProtos.TestPackedTypes
[all...]

Completed in 73 milliseconds

12