/external/chromium_org/chrome/browser/local_discovery/ |
D | privet_url_fetcher_unittest.cc | 96 fetcher->SetResponseString(kSampleParsableJSON); in TEST_F() 115 fetcher->SetResponseString(kSampleParsableJSON); in TEST_F() 126 fetcher->SetResponseString(kSampleParsableJSON); in TEST_F() 139 fetcher->SetResponseString(kSampleParsableJSON); in TEST_F() 150 fetcher->SetResponseString(kSampleParsableJSON); in TEST_F() 163 fetcher->SetResponseString(kSampleParsableJSON); in TEST_F() 177 fetcher->SetResponseString(kSampleUnparsableJSON); in TEST_F() 224 fetcher->SetResponseString(kSampleJSONWithError); in TEST_F()
|
D | privet_confirm_api_flow_unittest.cc | 117 fetcher->SetResponseString(kSampleConfirmResponse); in TEST_F() 147 fetcher->SetResponseString(kSampleConfirmResponse); in TEST_F() 192 fetcher->SetResponseString(kFailedConfirmResponse); in TEST_F() 220 fetcher->SetResponseString(kFailedConfirmResponseBadJson); in TEST_F()
|
D | cloud_print_account_manager_unittest.cc | 74 fetcher->SetResponseString(kSampleResponse); in TEST_F() 92 fetcher->SetResponseString(kSampleResponseFailure); in TEST_F()
|
D | privet_http_unittest.cc | 224 fetcher->SetResponseString(response); in SuccessfulResponseToURL() 441 fetcher->SetResponseString(kSampleInfoResponse); in TEST_F() 460 fetcher->SetResponseString(kSampleInfoResponse); in TEST_F() 517 fetcher->SetResponseString(response); in SuccessfulResponseToURL()
|
D | privet_local_printer_lister_unittest.cc | 154 fetcher->SetResponseString(response); in SuccessfulResponseToURL()
|
/external/chromium_org/google_apis/gaia/ |
D | oauth2_token_service_unittest.cc | 123 fetcher->SetResponseString(std::string()); in TEST_F() 143 fetcher->SetResponseString(GetValidTokenResponse("token", 3600)); in TEST_F() 172 fetcher->SetResponseString(GetValidTokenResponse("token", 3600)); in TEST_F() 198 fetcher->SetResponseString(GetValidTokenResponse("token2", 3600)); in TEST_F() 219 fetcher->SetResponseString(GetValidTokenResponse("token", 0)); in TEST_F() 238 fetcher->SetResponseString(std::string()); in TEST_F() 258 fetcher->SetResponseString(GetValidTokenResponse("token", 0)); in TEST_F() 276 fetcher->SetResponseString(GetValidTokenResponse("another token", 0)); in TEST_F() 299 fetcher->SetResponseString(GetValidTokenResponse("token", 3600)); in TEST_F() 314 fetcher->SetResponseString(GetValidTokenResponse("token", 3600)); in TEST_F() [all …]
|
D | oauth2_access_token_fetcher_unittest.cc | 109 url_fetcher->SetResponseString(body); in SetupGetAccessToken() 209 url_fetcher.SetResponseString("foo"); in TEST_F() 219 url_fetcher.SetResponseString(kTokenResponseNoAccessToken); in TEST_F() 229 url_fetcher.SetResponseString(kValidTokenResponse); in TEST_F() 240 url_fetcher.SetResponseString(kTokenResponseNoAccessToken); in TEST_F() 249 url_fetcher.SetResponseString(kValidFailureTokenResponse); in TEST_F()
|
D | oauth2_mint_token_flow_unittest.cc | 282 url_fetcher.SetResponseString(std::string()); in TEST_F() 289 url_fetcher.SetResponseString("foo"); in TEST_F() 296 url_fetcher.SetResponseString(kTokenResponseNoAccessToken); in TEST_F() 303 url_fetcher.SetResponseString(kValidTokenResponse); in TEST_F() 310 url_fetcher.SetResponseString(kIssueAdviceResponseNoDescription); in TEST_F() 317 url_fetcher.SetResponseString(kIssueAdviceResponseNoDetail); in TEST_F() 324 url_fetcher.SetResponseString(kValidIssueAdviceResponse); in TEST_F()
|
/external/chromium_org/chrome/browser/safe_browsing/ |
D | protocol_manager_unittest.cc | 381 url_fetcher->SetResponseString(std::string()); in TEST_F() 415 url_fetcher->SetResponseString("THIS_IS_A_BAD_RESPONSE"); in TEST_F() 427 backup_url_fetcher->SetResponseString(std::string()); in TEST_F() 463 url_fetcher->SetResponseString(std::string()); in TEST_F() 474 backup_url_fetcher->SetResponseString(std::string()); in TEST_F() 510 url_fetcher->SetResponseString(std::string()); in TEST_F() 522 backup_url_fetcher->SetResponseString(std::string()); in TEST_F() 558 url_fetcher->SetResponseString(std::string()); in TEST_F() 620 backup_url_fetcher->SetResponseString(std::string()); in TEST_F() 668 backup_url_fetcher->SetResponseString(std::string()); in TEST_F() [all …]
|
/external/chromium_org/components/policy/core/common/cloud/ |
D | external_policy_data_updater_unittest.cc | 134 fetcher->SetResponseString(kExternalPolicyDataPayload); in TEST_F() 398 fetcher->SetResponseString("Invalid external policy data"); in TEST_F() 429 fetcher->SetResponseString(kExternalPolicyDataPayload); in TEST_F() 460 fetcher->SetResponseString(kExternalPolicyDataPayload); in TEST_F() 596 fetcher->SetResponseString(kExternalPolicyDataPayload); in TEST_F() 624 fetcher->SetResponseString(kExternalPolicyDataPayload); in TEST_F() 647 fetcher->SetResponseString(kExternalPolicyDataPayload); in TEST_F() 691 fetcher->SetResponseString(kExternalPolicyDataPayload); in TEST_F() 719 fetcher->SetResponseString(kExternalPolicyDataPayload); in TEST_F() 742 fetcher->SetResponseString(kExternalPolicyDataPayload); in TEST_F() [all …]
|
D | external_policy_data_fetcher_unittest.cc | 131 fetcher->SetResponseString(kExternalPolicyDataPayload); in TEST_F() 327 fetcher->SetResponseString(kExternalPolicyDataPayload); in TEST_F() 359 fetcher->SetResponseString(kExternalPolicyDataPayload); in TEST_F() 380 fetcher->SetResponseString(kExternalPolicyDataPayload); in TEST_F() 412 fetcher->SetResponseString(kExternalPolicyDataPayload); in TEST_F() 433 fetcher->SetResponseString(kExternalPolicyDataPayload); in TEST_F() 481 fetcher->SetResponseString(kExternalPolicyDataPayload); in TEST_F()
|
D | user_info_fetcher_unittest.cc | 75 url_fetcher->SetResponseString(kUserInfoResponse); in TEST_F()
|
D | component_cloud_policy_updater_unittest.cc | 140 fetcher->SetResponseString(kTestPolicy); in TEST_F() 289 fetcher->SetResponseString(kTestPolicy); in TEST_F()
|
/external/chromium_org/chrome/browser/extensions/api/push_messaging/ |
D | obfuscated_gaia_id_fetcher_unittest.cc | 83 url_fetcher.SetResponseString(kGoodData); in TEST() 97 url_fetcher.SetResponseString(kDictionaryMissingIdData); in TEST()
|
/external/chromium_org/chrome/browser/net/gaia/ |
D | gaia_oauth_fetcher_unittest.cc | 162 test_fetcher.SetResponseString(data); in TEST_F() 197 test_fetcher.SetResponseString(data); in TEST_F() 227 test_fetcher.SetResponseString(data); in TEST_F()
|
/external/chromium_org/chrome/browser/chromeos/login/ |
D | mock_url_fetchers.cc | 118 SetResponseString(base::StringPrintf("Error=%s\n" in CaptchaFetcher() 167 SetResponseString("Error=BadAuthentication"); in Start()
|
D | login_utils_browsertest.cc | 429 fetcher->SetResponseString(data); in PrepareDMServiceFetcher() 615 fetcher->SetResponseString(kOAuth2TokenPairData); in TEST_P() 622 fetcher->SetResponseString(kOAuth2AccessTokenData); in TEST_P() 661 fetcher->SetResponseString(kGaiaAccountDisabledResponse); in TEST_P()
|
/external/chromium_org/net/quic/ |
D | quic_http_stream_test.cc | 238 void SetResponseString(const std::string& status, const std::string& body) { in SetResponseString() function in net::test::QuicHttpStreamTest 397 SetResponseString("404 Not Found", std::string()); in TEST_F() 486 SetResponseString("200 OK", "hello world!"); in TEST_F() 536 SetResponseString("200 OK", std::string()); in TEST_F() 598 SetResponseString("200 OK", std::string()); in TEST_F() 648 SetResponseString("404 OK", "hello world!"); in TEST_F() 693 SetResponseString("404 OK", "hello world!"); in TEST_F()
|
/external/chromium_org/chrome/browser/autocomplete/ |
D | search_provider_unittest.cc | 427 fetcher->SetResponseString(json); in ForcedQueryTestHelper() 1041 fetcher->SetResponseString( in TEST_F() 1069 fetcher->SetResponseString("[\"a\",[\"a1\", \"a2\", \"a3\", \"a4\"]]"); in TEST_F() 1128 default_fetcher->SetResponseString(cases[i].default_provider_json); in TEST_F() 1135 keyword_fetcher->SetResponseString(cases[i].keyword_provider_json); in TEST_F() 1400 fetcher->SetResponseString(cases[i].json); in TEST_F() 1659 fetcher->SetResponseString(cases[i].json); in TEST_F() 2142 keyword_fetcher->SetResponseString(cases[i].json); in TEST_F() 2608 keyword_fetcher->SetResponseString(cases[i].json); in TEST_F() 2708 fetcher->SetResponseString(cases[i].json); in TEST_F() [all …]
|
/external/chromium_org/net/url_request/ |
D | test_url_fetcher_factory.cc | 237 void TestURLFetcher::SetResponseString(const std::string& response) { in SetResponseString() function in net::TestURLFetcher 308 SetResponseString(response_data); in FakeURLFetcher()
|
/external/chromium_org/content/browser/speech/ |
D | speech_recognizer_impl_unittest.cc | 251 fetcher->SetResponseString( in TEST_F() 310 fetcher->SetResponseString(std::string()); in TEST_F() 347 fetcher->SetResponseString("Internal Server Error"); in TEST_F()
|
D | google_one_shot_remote_engine_unittest.cc | 73 fetcher->SetResponseString(http_response); in CreateAndTestRequest()
|
/external/chromium_org/content/browser/geolocation/ |
D | network_location_provider_unittest.cc | 384 fetcher->SetResponseString(kNoFixNetworkResponse); in TEST_F() 413 fetcher->SetResponseString(kReferenceNetworkResponse); in TEST_F() 452 fetcher->SetResponseString(std::string()); in TEST_F()
|
/external/chromium_org/chrome/browser/chromeos/policy/ |
D | user_cloud_policy_manager_chromeos_unittest.cc | 234 fetcher->SetResponseString(kOAuth2TokenPairData); in IssueOAuthToken() 241 fetcher->SetResponseString(kOAuth2AccessTokenData); in IssueOAuthToken() 418 fetcher->SetResponseString("Error=BadAuthentication"); in TEST_F()
|
/external/chromium_org/chrome/browser/chromeos/attestation/ |
D | attestation_ca_client_unittest.cc | 48 fetcher->SetResponseString(fetcher->upload_data() + "_response"); in SendResponse()
|