Home
last modified time | relevance | path

Searched refs:empty_message (Results 1 – 3 of 3) sorted by relevance

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/
Dlite_unittest.cc70 google::protobuf::unittest::TestEmptyMessageLite* empty_message) { in SetAllTypesInEmptyMessageUnknownFields() argument
75 empty_message->ParseFromString(data); in SetAllTypesInEmptyMessageUnknownFields()
79 google::protobuf::unittest::TestEmptyMessageLite* empty_message) { in SetSomeTypesInEmptyMessageUnknownFields() argument
87 empty_message->ParseFromString(data); in SetSomeTypesInEmptyMessageUnknownFields()
221 protobuf_unittest::TestEmptyMessageLite empty_message; in main() local
225 empty_message.ParseFromString(data); in main()
227 data = empty_message.SerializeAsString(); in main()
237 protobuf_unittest::TestEmptyMessageLite empty_message; in main() local
241 empty_message.ParseFromString(data); in main()
243 data = empty_message.SerializeAsString(); in main()
[all …]
Dunknown_field_set_unittest.cc346 unittest::TestEmptyMessage empty_message; in TEST_F() local
349 ASSERT_TRUE(empty_message.ParseFromString(bizarro_data)); in TEST_F()
353 EXPECT_EQ(empty_message.DebugString(), all_types_message.DebugString()); in TEST_F()
360 unittest::TestEmptyMessage empty_message; in TEST_F() local
365 ASSERT_TRUE(empty_message.ParseFromString(bizarro_data)); in TEST_F()
367 EXPECT_EQ(empty_message.DebugString(), all_types_message.DebugString()); in TEST_F()
397 unittest::TestEmptyMessage empty_message; in TEST_F() local
400 ASSERT_TRUE(empty_message.ParseFromString(bizarro_data)); in TEST_F()
404 EXPECT_EQ(empty_message.DebugString(), all_extensions_message.DebugString()); in TEST_F()
422 TestEmptyMessage empty_message; in TEST_F() local
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/google/protobuf/internal/
Dunknown_fields_test.py66 self.empty_message = unittest_pb2.TestEmptyMessage()
67 self.empty_message.ParseFromString(self.all_fields_data)
70 data = self.empty_message.SerializeToString()
83 self.assertEqual(self.all_fields.ByteSize(), self.empty_message.ByteSize())
87 self.assertEqual(0, len(self.empty_message.ListFields()))
116 self.assertEqual(self.empty_message, message)
120 self.assertNotEqual(self.empty_message, message)
123 self.empty_message.DiscardUnknownFields()
124 self.assertEqual(b'', self.empty_message.SerializeToString())
150 self.empty_message = unittest_pb2.TestEmptyMessage()
[all …]