/third_party/protobuf/java/util/src/test/java/com/google/protobuf/util/ |
H A D | FieldMaskUtilTest.java | 37 import protobuf_unittest.UnittestProto.NestedTestAllTypes; 44 assertTrue(FieldMaskUtil.isValid(NestedTestAllTypes.class, "payload")); in testIsValid() 45 assertFalse(FieldMaskUtil.isValid(NestedTestAllTypes.class, "nonexist")); in testIsValid() 46 assertTrue(FieldMaskUtil.isValid(NestedTestAllTypes.class, "payload.optional_int32")); in testIsValid() 47 assertTrue(FieldMaskUtil.isValid(NestedTestAllTypes.class, "payload.repeated_int32")); in testIsValid() 48 assertTrue(FieldMaskUtil.isValid(NestedTestAllTypes.class, "payload.optional_nested_message")); in testIsValid() 49 assertTrue(FieldMaskUtil.isValid(NestedTestAllTypes.class, "payload.repeated_nested_message")); in testIsValid() 50 assertFalse(FieldMaskUtil.isValid(NestedTestAllTypes.class, "payload.nonexist")); in testIsValid() 53 FieldMaskUtil.isValid(NestedTestAllTypes.class, FieldMaskUtil.fromString("payload"))); in testIsValid() 55 FieldMaskUtil.isValid(NestedTestAllTypes in testIsValid() [all...] |
H A D | FieldMaskTreeTest.java | 38 import protobuf_unittest.UnittestProto.NestedTestAllTypes; 199 NestedTestAllTypes source = in testMergeImpl() 200 NestedTestAllTypes.newBuilder() in testMergeImpl() 202 .setChild(NestedTestAllTypes.newBuilder().setPayload(value)) in testMergeImpl() 218 NestedTestAllTypes.Builder builder = NestedTestAllTypes.newBuilder(); in testMergeImpl() 221 NestedTestAllTypes.Builder expected = NestedTestAllTypes.newBuilder(); in testMergeImpl() 226 builder = NestedTestAllTypes.newBuilder(); in testMergeImpl() 229 expected = NestedTestAllTypes in testMergeImpl() [all...] |
/third_party/protobuf/csharp/src/Google.Protobuf.Test/ |
H A D | FieldMaskTreeTest.cs | 200 NestedTestAllTypes source = new NestedTestAllTypes in Merge() 203 Child = new NestedTestAllTypes {Payload = value} in Merge() 219 NestedTestAllTypes destination = new NestedTestAllTypes(); in Merge() 222 NestedTestAllTypes expected = new NestedTestAllTypes in Merge() 231 destination = new NestedTestAllTypes(); in Merge() 234 expected = new NestedTestAllTypes in Merge() 243 destination = new NestedTestAllTypes(); in Merge() [all...] |
/third_party/protobuf/java/core/src/test/java/com/google/protobuf/ |
H A D | WireFormatLiteTest.java | 988 UnittestProto3.NestedTestAllTypes message1 = in testProto3MessageFieldMergeBehavior() 989 UnittestProto3.NestedTestAllTypes.newBuilder() in testProto3MessageFieldMergeBehavior() 995 UnittestProto3.NestedTestAllTypes message2 = in testProto3MessageFieldMergeBehavior() 996 UnittestProto3.NestedTestAllTypes.newBuilder() in testProto3MessageFieldMergeBehavior() 1003 UnittestProto3.NestedTestAllTypes merged = in testProto3MessageFieldMergeBehavior() 1004 UnittestProto3.NestedTestAllTypes.newBuilder() in testProto3MessageFieldMergeBehavior()
|
H A D | GeneratedMessageTest.java | 54 import protobuf_unittest.UnittestProto.NestedTestAllTypes; 1656 NestedTestAllTypes.Builder parentBuilder = NestedTestAllTypes.newBuilder(); in testOneofNestedBuilderOnChangePropagation() 1661 NestedTestAllTypes message = parentBuilder.build(); in testOneofNestedBuilderOnChangePropagation()
|
/third_party/protobuf/src/google/protobuf/util/ |
H A D | field_mask_util_test.cc | 118 using protobuf_unittest::NestedTestAllTypes; 500 NestedTestAllTypes nested_src, nested_dst; in TEST() 647 NestedTestAllTypes nested_msg; in TEST() 653 NestedTestAllTypes trimmed_msg(nested_msg); in TEST()
|
/third_party/protobuf/csharp/src/Google.Protobuf.Test.TestProtos/ |
H A D | UnittestProto3.cs | 163 new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.TestProtos.NestedTestAllTypes), global::Google.Protobuf.TestProtos.NestedTestAllTypes.Parser, new[]{ "Child", "Payload", "RepeatedChild" }, null, null, null, null), in UnittestProto3Reflection() 2207 public sealed partial class NestedTestAllTypes : pb::IMessage<NestedTestAllTypes> class 2212 private static readonly pb::MessageParser<NestedTestAllTypes> _parser = new pb::MessageParser<NestedTestAllTypes>(() => new NestedTestAllTypes()); 2215 public static pb::MessageParser<NestedTestAllTypes> Parser { get { return _parser; } } 2228 public NestedTestAllTypes() { in NestedTestAllTypes() method in Google.Protobuf.TestProtos.NestedTestAllTypes 2235 public NestedTestAllTypes(NestedTestAllType method in Google.Protobuf.TestProtos.NestedTestAllTypes [all...] |
H A D | Unittest.cs | 675 new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.TestProtos.Proto2.NestedTestAllTypes), global::Google.Protobuf.TestProtos.Proto2.NestedTestAllTypes.Parser, new[]{ "Child", "Payload", "RepeatedChild" }, null, null, null, null), in UnittestReflection() 4990 public sealed partial class NestedTestAllTypes : pb::IMessage<NestedTestAllTypes> class 4995 private static readonly pb::MessageParser<NestedTestAllTypes> _parser = new pb::MessageParser<NestedTestAllTypes>(() => new NestedTestAllTypes()); 4998 public static pb::MessageParser<NestedTestAllTypes> Parser { get { return _parser; } } 5011 public NestedTestAllTypes() { in NestedTestAllTypes() method in Google.Protobuf.TestProtos.Proto2.NestedTestAllTypes 5018 public NestedTestAllTypes(NestedTestAllType method in Google.Protobuf.TestProtos.Proto2.NestedTestAllTypes [all...] |
/third_party/protobuf/python/google/protobuf/internal/ |
H A D | message_test.py | 799 m = message_module.NestedTestAllTypes() 816 msg1 = message_module.NestedTestAllTypes() 817 msg2 = message_module.NestedTestAllTypes() 1020 m = message_module.NestedTestAllTypes() 1022 m2 = message_module.NestedTestAllTypes() 1030 m = message_module.NestedTestAllTypes() 1033 m2 = message_module.NestedTestAllTypes() 1295 m = message_module.NestedTestAllTypes()
|
H A D | unknown_fields_test.py | 335 nested_message = unittest_pb2.NestedTestAllTypes()
|
H A D | well_known_types_test.py | 587 nested_src = unittest_pb2.NestedTestAllTypes() 588 nested_dst = unittest_pb2.NestedTestAllTypes()
|
H A D | text_format_test.py | 375 message = message_module.NestedTestAllTypes() 2277 self.message = unittest_pb2.NestedTestAllTypes()
|
H A D | descriptor_test.py | 556 other_item = unittest_pb2.NestedTestAllTypes.DESCRIPTOR.fields[0]
|
/third_party/protobuf/src/google/protobuf/ |
H A D | text_format_unittest.cc | 1909 unittest::NestedTestAllTypes message; in TEST_F() 1930 unittest::NestedTestAllTypes message; in TEST_F() 1937 "WARNING:Message type \"protobuf_unittest.NestedTestAllTypes\" has no " in TEST_F()
|