Searched refs:empty_message (Results 1 – 3 of 3) sorted by relevance
70 google::protobuf::unittest::TestEmptyMessageLite* empty_message) { in SetAllTypesInEmptyMessageUnknownFields() argument75 empty_message->ParseFromString(data); in SetAllTypesInEmptyMessageUnknownFields()79 google::protobuf::unittest::TestEmptyMessageLite* empty_message) { in SetSomeTypesInEmptyMessageUnknownFields() argument87 empty_message->ParseFromString(data); in SetSomeTypesInEmptyMessageUnknownFields()221 protobuf_unittest::TestEmptyMessageLite empty_message; in main() local225 empty_message.ParseFromString(data); in main()227 data = empty_message.SerializeAsString(); in main()237 protobuf_unittest::TestEmptyMessageLite empty_message; in main() local241 empty_message.ParseFromString(data); in main()243 data = empty_message.SerializeAsString(); in main()[all …]
346 unittest::TestEmptyMessage empty_message; in TEST_F() local349 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() local365 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() local400 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 …]
66 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 …]