Home
last modified time | relevance | path

Searched refs:SerializeAsString (Results 1 – 25 of 102) sorted by relevance

12345

/external/chromium_org/google_apis/gcm/base/
Dmcs_message_unittest.cc47 EXPECT_EQ(login_request->SerializeAsString(), message.SerializeAsString()); in TEST_F()
48 EXPECT_EQ(login_request->SerializeAsString(), in TEST_F()
49 message.GetProtobuf().SerializeAsString()); in TEST_F()
51 EXPECT_EQ(login_request->SerializeAsString(), in TEST_F()
52 login_copy->SerializeAsString()); in TEST_F()
65 EXPECT_EQ(login_request->SerializeAsString(), message.SerializeAsString()); in TEST_F()
66 EXPECT_EQ(login_request->SerializeAsString(), in TEST_F()
67 message.GetProtobuf().SerializeAsString()); in TEST_F()
69 EXPECT_EQ(login_request->SerializeAsString(), in TEST_F()
70 login_copy->SerializeAsString()); in TEST_F()
[all …]
/external/chromium_org/sync/util/
Dcryptographer_unittest.cc78 EXPECT_EQ(original.SerializeAsString(), decrypted.SerializeAsString()); in TEST_F()
107 EXPECT_EQ(encrypted.SerializeAsString(), encrypted2.SerializeAsString()); in TEST_F()
108 EXPECT_NE(encrypted.SerializeAsString(), encrypted3.SerializeAsString()); in TEST_F()
109 EXPECT_EQ(original.SerializeAsString(), decrypted.SerializeAsString()); in TEST_F()
182 EXPECT_EQ(original.SerializeAsString(), decrypted.SerializeAsString()); in TEST_F()
237 EXPECT_EQ(original.SerializeAsString(), decrypted_k1.SerializeAsString()); in TEST_F()
238 EXPECT_EQ(original.SerializeAsString(), decrypted_k2.SerializeAsString()); in TEST_F()
249 EXPECT_EQ(original.SerializeAsString(), in TEST_F()
250 decrypted_k1_clone.SerializeAsString()); in TEST_F()
251 EXPECT_EQ(original.SerializeAsString(), in TEST_F()
[all …]
/external/chromium_org/chrome/browser/chromeos/settings/
Dsession_manager_operation_unittest.cc67 EXPECT_EQ(validator->payload()->SerializeAsString(), in CheckSuccessfulValidation()
68 policy_.payload().SerializeAsString()); in CheckSuccessfulValidation()
147 EXPECT_EQ(policy_.policy_data().SerializeAsString(), in TEST_F()
148 op.policy_data()->SerializeAsString()); in TEST_F()
150 EXPECT_EQ(policy_.payload().SerializeAsString(), in TEST_F()
151 op.device_settings()->SerializeAsString()); in TEST_F()
188 EXPECT_EQ(policy_.policy_data().SerializeAsString(), in TEST_F()
189 op.policy_data()->SerializeAsString()); in TEST_F()
191 EXPECT_EQ(policy_.payload().SerializeAsString(), in TEST_F()
192 op.device_settings()->SerializeAsString()); in TEST_F()
[all …]
/external/chromium_org/components/dom_distiller/core/
Ddistilled_content_store_unittest.cc94 EXPECT_EQ(stored_proto.SerializeAsString(), in TEST_F()
95 loaded_proto_->SerializeAsString()); in TEST_F()
147 EXPECT_EQ(second_stored_proto.SerializeAsString(), in TEST_F()
148 loaded_proto_->SerializeAsString()); in TEST_F()
157 EXPECT_EQ(first_stored_proto.SerializeAsString(), in TEST_F()
158 loaded_proto_->SerializeAsString()); in TEST_F()
215 EXPECT_EQ(first_stored_proto.SerializeAsString(), in TEST_F()
216 loaded_proto_->SerializeAsString()); in TEST_F()
264 EXPECT_EQ(stored_proto.SerializeAsString(), in TEST_F()
265 loaded_proto_->SerializeAsString()); in TEST_F()
[all …]
Dtask_tracker_unittest.cc245 EXPECT_EQ(stored_distilled_article.SerializeAsString(), in TEST_F()
246 distilled_article->SerializeAsString()); in TEST_F()
284 EXPECT_EQ(stored_distilled_article.SerializeAsString(), in TEST_F()
285 distilled_article.SerializeAsString()); in TEST_F()
397 ASSERT_EQ(stored_distilled_article.SerializeAsString(), in TEST_F()
398 distilled_article.SerializeAsString()); in TEST_F()
/external/chromium_org/google_apis/gcm/engine/
Dfake_connection_handler.cc44 EXPECT_EQ(expected_outgoing_messages_.front().SerializeAsString(), in Init()
45 login_request.SerializeAsString()); in Init()
64 EXPECT_EQ(expected_outgoing_messages_.front().SerializeAsString(), in SendMessage()
65 message.SerializeAsString()); in SendMessage()
Daccount_mapping_unittest.cc24 EXPECT_EQ("test@example.com&new&0", account_mapping.SerializeAsString()); in TEST()
32 account_mapping.SerializeAsString()); in TEST()
37 account_mapping.SerializeAsString()); in TEST()
42 account_mapping.SerializeAsString()); in TEST()
51 account_mapping.SerializeAsString()); in TEST()
Dconnection_handler_impl_unittest.cc74 login_request->SerializeAsString())); in EncodeHandshakeRequest()
83 result.append(login_response.SerializeAsString()); in BuildLoginResponse()
103 return data_message.SerializeAsString(); in BuildDataMessage()
250 EXPECT_EQ(BuildLoginResponse(), received_message->SerializeAsString()); in TEST_F()
352 EXPECT_EQ(BuildLoginResponse(), received_message->SerializeAsString()); in TEST_F()
383 EXPECT_EQ(data_message_proto, received_message->SerializeAsString()); in TEST_F()
417 EXPECT_EQ(data_message_proto, received_message->SerializeAsString()); in TEST_F()
421 EXPECT_EQ(data_message_proto2, received_message->SerializeAsString()); in TEST_F()
453 EXPECT_EQ(data_message_proto, received_message->SerializeAsString()); in TEST_F()
493 EXPECT_EQ(data_message_proto, received_message->SerializeAsString()); in TEST_F()
[all …]
/external/google-tv-pairing-protocol/cpp/tests/polo/wire/protobuf/
Dprotobufwireadaptertest.cc91 std::string outer_string = message.SerializeAsString(); in ExpectSend()
135 outer.set_payload(proto.SerializeAsString()); in TEST_F()
156 outer.set_payload(proto.SerializeAsString()); in TEST_F()
190 outer.set_payload(proto.SerializeAsString()); in TEST_F()
226 outer.set_payload(proto.SerializeAsString()); in TEST_F()
246 outer.set_payload(proto.SerializeAsString()); in TEST_F()
271 outer.set_payload(proto.SerializeAsString()); in TEST_F()
296 outer.set_payload(proto.SerializeAsString()); in TEST_F()
/external/chromium_org/sync/internal_api/
Dsyncapi_internal.cc91 left_plaintext = left.SerializeAsString(); in AreSpecificsEqual()
100 right_plaintext = right.SerializeAsString(); in AreSpecificsEqual()
110 if (left.SerializeAsString() == right.SerializeAsString()) { in AreAttachmentMetadataEqual()
/external/chromium_org/media/cast/logging/
Dserialize_deserialize_test.cc100 EXPECT_EQ(metadata_.SerializeAsString(), in Verify()
101 returned_metadata.SerializeAsString()); in Verify()
111 EXPECT_EQ((*original_it)->SerializeAsString(), in Verify()
112 frame_it->second->SerializeAsString()); in Verify()
125 EXPECT_EQ((*original_it)->SerializeAsString(), in Verify()
126 packet_it->second->SerializeAsString()); in Verify()
/external/chromium_org/components/precache/core/
Dprecache_fetcher_unittest.cc129 factory_.SetFakeResponse(GURL(kConfigURL), config.SerializeAsString(), in TEST_F()
137 good_manifest.SerializeAsString(), net::HTTP_OK, in TEST_F()
145 PrecacheManifest().SerializeAsString(), net::HTTP_OK, in TEST_F()
222 factory_.SetFakeResponse(GURL(kConfigURL), config.SerializeAsString(), in TEST_F()
253 config.SerializeAsString(), net::HTTP_OK, in TEST_F()
287 factory_.SetFakeResponse(GURL(kConfigURL), config.SerializeAsString(), in TEST_F()
289 factory_.SetFakeResponse(manifest_url, PrecacheManifest().SerializeAsString(), in TEST_F()
/external/chromium_org/chrome/browser/chromeos/policy/
Duser_cloud_policy_store_chromeos_unittest.cc189 EXPECT_EQ(policy_.policy_data().SerializeAsString(), in PerformStorePolicy()
190 store_->policy()->SerializeAsString()); in PerformStorePolicy()
405 EXPECT_EQ(policy_.policy_data().SerializeAsString(), in TEST_F()
406 store_->policy()->SerializeAsString()); in TEST_F()
483 EXPECT_EQ(expected_policy_data.SerializeAsString(), in TEST_F()
484 store_->policy()->SerializeAsString()); in TEST_F()
508 EXPECT_EQ(expected_policy_data.SerializeAsString(), in TEST_F()
509 store_->policy()->SerializeAsString()); in TEST_F()
532 EXPECT_EQ(expected_policy_data.SerializeAsString(), in TEST_F()
533 store_->policy()->SerializeAsString()); in TEST_F()
[all …]
/external/protobuf/src/google/protobuf/
Dlite_unittest.cc49 data = message.SerializeAsString(); in main()
65 string extensions_data = message.SerializeAsString(); in main()
82 packed_data = message.SerializeAsString(); in main()
98 string packed_extensions_data = message.SerializeAsString(); in main()
/external/chromium_org/sync/engine/
Dconflict_resolver.cc51 local_ids.insert(record.id().SerializeAsString()); in AttachmentMetadataMatches()
56 if (local_ids.find(record.id().SerializeAsString()) == local_ids.end()) { in AttachmentMetadataMatches()
154 decrypted_specifics = specifics.SerializeAsString(); in ProcessSimpleConflict()
163 decrypted_server_specifics = server_specifics.SerializeAsString(); in ProcessSimpleConflict()
175 base_server_specifics.SerializeAsString(); in ProcessSimpleConflict()
/external/chromium_org/chrome/renderer/safe_browsing/
Dscorer_unittest.cc67 scorer.reset(Scorer::Create(model_.SerializeAsString())); in TEST_F()
81 scoped_ptr<Scorer> scorer(Scorer::Create(model_.SerializeAsString())); in TEST_F()
100 scoped_ptr<Scorer> scorer(Scorer::Create(model_.SerializeAsString())); in TEST_F()
121 scoped_ptr<Scorer> scorer(Scorer::Create(model_.SerializeAsString())); in TEST_F()
/external/chromium_org/chrome/browser/safe_browsing/
Ddownload_feedback_unittest.cc162 expected_report_metadata.download_request().SerializeAsString()); in TEST_F()
164 expected_report_metadata.download_response().SerializeAsString()); in TEST_F()
185 EXPECT_EQ(expected_report_metadata.SerializeAsString(), in TEST_F()
209 expected_report_metadata.download_request().SerializeAsString()); in TEST_F()
211 expected_report_metadata.download_response().SerializeAsString()); in TEST_F()
Dclient_side_detection_service_unittest.cc330 SetModelFetchResponse(model.SerializeAsString(), net::HTTP_OK, in TEST_F()
341 SetModelFetchResponse(model.SerializeAsString(), net::HTTP_OK, in TEST_F()
354 SetModelFetchResponse(model.SerializeAsString(), net::HTTP_OK, in TEST_F()
365 SetModelFetchResponse(model.SerializeAsString(), net::HTTP_OK, in TEST_F()
408 SetClientReportPhishingResponse(response.SerializeAsString(), net::HTTP_OK, in TEST_F()
415 SetClientReportPhishingResponse(response.SerializeAsString(), in TEST_F()
456 SetClientReportMalwareResponse(response.SerializeAsString(), net::HTTP_OK, in TEST_F()
463 SetClientReportMalwareResponse(response.SerializeAsString(), net::HTTP_OK, in TEST_F()
470 SetClientReportMalwareResponse(response.SerializeAsString(), in TEST_F()
477 SetClientReportMalwareResponse(response.SerializeAsString(), net::HTTP_OK, in TEST_F()
[all …]
/external/google-tv-pairing-protocol/cpp/src/polo/wire/protobuf/
Dprotobufwireadapter.cc60 configuration.SerializeAsString()); in SendConfigurationMessage()
68 ack.SerializeAsString()); in SendConfigurationAckMessage()
98 options.SerializeAsString()); in SendOptionsMessage()
113 request.SerializeAsString()); in SendPairingRequestMessage()
127 ack.SerializeAsString()); in SendPairingRequestAckMessage()
138 secret.SerializeAsString()); in SendSecretMessage()
149 ack.SerializeAsString()); in SendSecretAckMessage()
400 std::string outer_string = message.SerializeAsString(); in SendOuterMessage()
/external/chromium_org/components/policy/core/common/cloud/
Dcloud_policy_validator_unittest.cc111 EXPECT_EQ(policy_.policy().SerializeAsString(), in CheckSuccessfulValidation()
112 validator->policy()->SerializeAsString()); in CheckSuccessfulValidation()
113 EXPECT_EQ(policy_.policy_data().SerializeAsString(), in CheckSuccessfulValidation()
114 validator->policy_data()->SerializeAsString()); in CheckSuccessfulValidation()
115 EXPECT_EQ(policy_.payload().SerializeAsString(), in CheckSuccessfulValidation()
116 validator->payload()->SerializeAsString()); in CheckSuccessfulValidation()
Duser_cloud_policy_store_unittest.cc248 EXPECT_EQ(policy_.policy_data().SerializeAsString(), in TEST_F()
249 store_->policy()->SerializeAsString()); in TEST_F()
343 EXPECT_EQ(policy_.policy_data().SerializeAsString(), in TEST_F()
344 store_->policy()->SerializeAsString()); in TEST_F()
368 EXPECT_EQ(policy_.policy_data().SerializeAsString(), in TEST_F()
369 store2->policy()->SerializeAsString()); in TEST_F()
394 EXPECT_EQ(policy_.policy_data().SerializeAsString(), in TEST_F()
395 store2->policy()->SerializeAsString()); in TEST_F()
/external/chromium_org/third_party/protobuf/src/google/protobuf/
Dlite_unittest.cc70 data = message.SerializeAsString(); in main()
86 string extensions_data = message.SerializeAsString(); in main()
103 packed_data = message.SerializeAsString(); in main()
119 string packed_extensions_data = message.SerializeAsString(); in main()
/external/chromium_org/sync/internal_api/public/base/
Dattachment_id_proto_unittest.cc44 EXPECT_EQ(ids.Get(i).SerializeAsString(), in TEST()
45 metadata.record(i).id().SerializeAsString()); in TEST()
/external/chromium_org/sync/syncable/
Dmodel_neutral_mutable_entry.cc302 if (kernel_->ref(SERVER_SPECIFICS).SerializeAsString() != in PutServerSpecifics()
303 value.SerializeAsString()) { in PutServerSpecifics()
336 if (kernel_->ref(BASE_SERVER_SPECIFICS).SerializeAsString() in PutBaseServerSpecifics()
337 != value.SerializeAsString()) { in PutBaseServerSpecifics()
361 if (kernel_->ref(SERVER_ATTACHMENT_METADATA).SerializeAsString() != in PutServerAttachmentMetadata()
362 value.SerializeAsString()) { in PutServerAttachmentMetadata()
/external/chromium_org/extensions/browser/api/cast_channel/
Dcast_framer_unittest.cc70 EXPECT_EQ(message->SerializeAsString(), cast_message_.SerializeAsString()); in TEST_F()
72 EXPECT_EQ(message->SerializeAsString().size(), message_length); in TEST_F()

12345