Lines Matching refs:serialized
102 string serialized;
103 orig_message.SerializeToString(&serialized);
106 EXPECT_EQ(true, message.ParseFromString(serialized));
109 serialized.clear();
110 message.SerializeToString(&serialized);
111 EXPECT_EQ(true, orig_message.ParseFromString(serialized));
120 string serialized = orig_message.SerializeAsString();
125 EXPECT_EQ(true, message->ParseFromString(serialized));
128 serialized = message->SerializeAsString();
129 EXPECT_EQ(true, orig_message.ParseFromString(serialized));
138 string serialized;
139 orig_message.SerializeToString(&serialized);
142 EXPECT_EQ(true, message.ParseFromString(serialized));
149 serialized.clear();
150 message.SerializeToString(&serialized);
151 EXPECT_EQ(true, orig_message.ParseFromString(serialized));
160 string serialized;
161 orig_message.SerializeToString(&serialized);
166 EXPECT_EQ(true, message->ParseFromString(serialized));
174 serialized.clear();
175 message->SerializeToString(&serialized);
176 EXPECT_EQ(true, orig_message.ParseFromString(serialized));
184 string serialized;
185 orig_message.SerializeToString(&serialized);
188 EXPECT_EQ(true, message.ParseFromString(serialized));