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/build/android/pylib/host_driven/
H A Dtest_server.py105 expected_response = TEST_SERVER_CHECK_PARAMS[test_server_path]['response']
111 if d.startswith(expected_response):
/external/chromium_org/components/dom_distiller/core/
H A Ddistiller_url_fetcher_unittest.cc47 const std::string& expected_response) {
54 CHECK_EQ(expected_response, response_);
46 Fetch(const std::string& url, const std::string& expected_response) argument
/external/chromium_org/chrome/browser/net/
H A Dhttp_pipelining_compatibility_client.cc139 read_buffer_ = new net::IOBuffer(info_.expected_response.length());
150 if (response_.length() <= info_.expected_response.length()) {
152 } else if (response_.find(info_.expected_response) == 0) {
162 if (url_request_->Read(read_buffer_.get(), info_.expected_response.length(),
169 if (response_.length() != info_.expected_response.length()) {
170 if (info_.expected_response.find(response_) == 0) {
175 } else if (response_ == info_.expected_response) {
225 // Note that |info.expected_response| is only used to determine the correct
322 info.expected_response =
332 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.cc68 const std::string& expected_response) {
69 TestRequest("GET", url, net::HttpRequestHeaders(), 200, expected_response);
76 const std::string& expected_response) {
92 EXPECT_EQ(expected_response, delegate.data_received());
67 TestSuccessRequest(const GURL& url, const std::string& expected_response) argument
72 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/components/policy/core/common/cloud/
H A Ddevice_management_service_unittest.cc399 em::DeviceManagementResponse expected_response; local
400 expected_response.mutable_register_response()->
403 MessageEquals(expected_response)));
419 ASSERT_TRUE(expected_response.SerializeToString(&response_data));
425 em::DeviceManagementResponse expected_response; local
426 expected_response.mutable_service_api_access_response()->set_auth_code(
429 MessageEquals(expected_response)));
446 ASSERT_TRUE(expected_response.SerializeToString(&response_data));
452 em::DeviceManagementResponse expected_response; local
453 expected_response
533 em::DeviceManagementResponse expected_response; local
[all...]
/external/chromium_org/content/browser/fileapi/
H A Dblob_url_request_job_unittest.cc228 void TestSuccessRequest(const std::string& expected_response) { argument
230 expected_response_ = expected_response;
/external/chromium_org/net/spdy/
H A Dspdy_network_transaction_unittest.cc1949 std::string expected_response; local
1950 expected_response += kUploadData;
1951 expected_response += kUploadData;
1952 expected_response += kUploadData;
1957 EXPECT_EQ(expected_response, out.response_data);
/external/chromium_org/net/url_request/
H A Durl_request_unittest.cc5851 const char* expected_response; member in struct:net::__anon9908
5862 EXPECT_EQ(tests[i].expected_response, d.data_received())

Completed in 716 milliseconds