Searched refs:expected_response (Results 1 - 13 of 13) sorted by relevance

/external/chromium_org/rlz/lib/
H A Dfinancial_ping_test.cc93 std::string expected_response; local
94 base::StringAppendF(&expected_response,
100 base::StringAppendF(&expected_response, "&id=%s", machine_id.c_str());
101 EXPECT_EQ(expected_response, request);
106 expected_response.clear();
107 base::StringAppendF(&expected_response,
112 base::StringAppendF(&expected_response, "&id=%s", machine_id.c_str());
113 EXPECT_EQ(expected_response, request);
117 expected_response.clear();
118 base::StringAppendF(&expected_response,
[all...]
/external/chromium_org/chrome/browser/net/
H A Dhttp_pipelining_compatibility_client.cc136 read_buffer_ = new net::IOBuffer(info_.expected_response.length());
147 if (response_.length() <= info_.expected_response.length()) {
149 } else if (response_.find(info_.expected_response) == 0) {
159 if (url_request_->Read(read_buffer_.get(), info_.expected_response.length(),
166 if (response_.length() != info_.expected_response.length()) {
167 if (info_.expected_response.find(response_) == 0) {
172 } else if (response_ == info_.expected_response) {
222 // Note that |info.expected_response| is only used to determine the correct
319 info.expected_response =
329 info.expected_response
[all...]
H A Dhttp_pipelining_compatibility_client_unittest.cc254 info.expected_response = "abcdefghijklmnopqrstuvwxyz";
272 info.expected_response = "abcdefghijklmnopqrstuvwxyz26";
288 info.expected_response = "abc";
304 info.expected_response = "zyxwvutsrqponmlkjihgfedcba";
321 info.expected_response = "shouldn't matter";
337 info.expected_response = "shouldn't matter";
354 info.expected_response = "shouldn't matter";
371 info.expected_response = "shouldn't matter";
388 info.expected_response = "abcdefghijklmnopqrstuvwxyz";
413 info1.expected_response
[all...]
H A Dhttp_pipelining_compatibility_client.h23 std::string expected_response; // The expected body of the response. member in struct:chrome_browser_net::RequestInfo
/external/chromium_org/content/browser/streams/
H A Dstream_url_request_job_unittest.cc66 const std::string& expected_response) {
67 TestRequest("GET", url, net::HttpRequestHeaders(), 200, expected_response);
74 const std::string& expected_response) {
88 EXPECT_EQ(expected_response, delegate.data_received());
65 TestSuccessRequest(const GURL& url, const std::string& expected_response) argument
70 TestRequest(const std::string& method, const GURL& url, const net::HttpRequestHeaders& extra_headers, int expected_status_code, const std::string& expected_response) argument
/external/chromium/chrome/browser/policy/
H A Ddevice_management_service_unittest.cc290 em::DeviceRegisterResponse expected_response; local
291 expected_response.set_device_management_token(kDMToken);
292 EXPECT_CALL(mock, HandleRegisterResponse(MessageEquals(expected_response)));
312 response_wrapper.mutable_register_response()->CopyFrom(expected_response);
325 em::DeviceUnregisterResponse expected_response; local
326 EXPECT_CALL(mock, HandleUnregisterResponse(MessageEquals(expected_response)));
354 response_wrapper.mutable_unregister_response()->CopyFrom(expected_response);
412 em::DeviceRegisterResponse expected_response; local
413 expected_response.set_device_management_token(kDMToken);
414 EXPECT_CALL(mock, HandleRegisterResponse(MessageEquals(expected_response)));
[all...]
H A Ddevice_management_service_browsertest.cc162 em::DevicePolicyResponse expected_response; local
/external/chromium_org/chrome/browser/policy/cloud/
H A Ddevice_management_service_unittest.cc390 em::DeviceManagementResponse expected_response; local
391 expected_response.mutable_register_response()->
394 MessageEquals(expected_response)));
410 ASSERT_TRUE(expected_response.SerializeToString(&response_data));
416 em::DeviceManagementResponse expected_response; local
417 expected_response.mutable_service_api_access_response()->set_auth_code(
420 MessageEquals(expected_response)));
437 ASSERT_TRUE(expected_response.SerializeToString(&response_data));
443 em::DeviceManagementResponse expected_response; local
444 expected_response
524 em::DeviceManagementResponse expected_response; local
[all...]
/external/chromium_org/net/websockets/
H A Dwebsocket_handshake_handler_unittest.cc530 char expected_response[] = { 0, 0, 0, 11 }; local
531 EXPECT_EQ(std::string(expected_response, 4), challenge());
555 char expected_response[] = { 0x36, 0x09, 0x65, 0x65 }; local
556 EXPECT_EQ(std::string(expected_response, 4), challenge());
562 char expected_response[] = { '\xFF', '\xFF', '\xFF', '\xFF' }; local
563 EXPECT_EQ(std::string(expected_response, 4), challenge());
/external/chromium_org/webkit/browser/blob/
H A Dblob_url_request_job_unittest.cc244 void TestSuccessRequest(const std::string& expected_response) { argument
246 expected_response_ = expected_response;
/external/chromium_org/third_party/mongoose/
H A Dmongoose.c2007 char ha2[32 + 1], expected_response[32 + 1]; local
2025 mg_md5(expected_response, ha1, ":", nonce, ":", nc,
2028 return mg_strcasecmp(response, expected_response) == 0;
/external/chromium_org/net/spdy/
H A Dspdy_network_transaction_unittest.cc1893 std::string expected_response; local
1894 expected_response += kUploadData;
1895 expected_response += kUploadData;
1896 expected_response += kUploadData;
1901 EXPECT_EQ(expected_response, out.response_data);
/external/chromium_org/net/url_request/
H A Durl_request_unittest.cc4814 const char* expected_response; member in struct:net::__anon9211
4824 EXPECT_EQ(tests[i].expected_response, d.data_received())

Completed in 664 milliseconds