Home
last modified time | relevance | path

Searched refs:message_set (Results 1 – 4 of 4) sorted by relevance

/external/protobuf/src/google/protobuf/
Dwire_format_unittest.cc421 unittest::TestMessageSet message_set; in TEST() local
422 message_set.MutableExtension( in TEST()
424 message_set.MutableExtension( in TEST()
426 message_set.mutable_unknown_fields()->AddLengthDelimited( in TEST()
430 ASSERT_TRUE(message_set.SerializeToString(&data)); in TEST()
464 unittest::TestMessageSet message_set; in TEST() local
465 message_set.MutableExtension( in TEST()
467 message_set.MutableExtension( in TEST()
469 message_set.mutable_unknown_fields()->AddLengthDelimited( in TEST()
472 int size = message_set.ByteSize(); in TEST()
[all …]
Dtext_format_unittest.cc1464 EXPECT_EQ(23, proto.message_set().GetExtension( in TEST_F()
1466 EXPECT_EQ("foo", proto.message_set().GetExtension( in TEST_F()
1471 proto.message_set().GetReflection()->ListFields( in TEST_F()
1472 proto.message_set(), &descriptors); in TEST_F()
Dunittest_mset.proto48 optional TestMessageSet message_set = 1; field
/external/protobuf/python/google/protobuf/internal/
Dtext_format_test.py107 message.message_set.Extensions[ext1].i = 23
108 message.message_set.Extensions[ext2].str = 'foo'
180 message.message_set.Extensions[ext1].i = 23
181 message.message_set.Extensions[ext2].str = 'foo'
357 self.assertEquals(23, message.message_set.Extensions[ext1].i)
358 self.assertEquals('foo', message.message_set.Extensions[ext2].str)