/external/chromium_org/google_apis/gaia/ |
D | oauth2_token_service_unittest.cc | 139 fetcher->SetResponseString(std::string()); in TEST_F() 159 fetcher->SetResponseString(GetValidTokenResponse("token", 3600)); in TEST_F() 188 fetcher->SetResponseString(GetValidTokenResponse("token", 3600)); in TEST_F() 214 fetcher->SetResponseString(GetValidTokenResponse("token2", 3600)); in TEST_F() 235 fetcher->SetResponseString(GetValidTokenResponse("token", 0)); in TEST_F() 254 fetcher->SetResponseString(std::string()); in TEST_F() 274 fetcher->SetResponseString(GetValidTokenResponse("token", 0)); in TEST_F() 292 fetcher->SetResponseString(GetValidTokenResponse("another token", 0)); in TEST_F() 315 fetcher->SetResponseString(GetValidTokenResponse("token", 3600)); in TEST_F() 330 fetcher->SetResponseString(GetValidTokenResponse("token", 3600)); in TEST_F() [all …]
|
D | oauth2_access_token_fetcher_impl_unittest.cc | 108 url_fetcher->SetResponseString(body); in SetupGetAccessToken() 213 url_fetcher.SetResponseString("foo"); in TEST_F() 224 url_fetcher.SetResponseString(kTokenResponseNoAccessToken); in TEST_F() 235 url_fetcher.SetResponseString(kValidTokenResponse); in TEST_F() 247 url_fetcher.SetResponseString(kTokenResponseNoAccessToken); in TEST_F() 257 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 | 429 url_fetcher->SetResponseString(std::string()); in TEST_F() 463 url_fetcher->SetResponseString("THIS_IS_A_BAD_RESPONSE"); in TEST_F() 475 backup_url_fetcher->SetResponseString(std::string()); in TEST_F() 511 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() 570 backup_url_fetcher->SetResponseString(std::string()); in TEST_F() 606 url_fetcher->SetResponseString(std::string()); in TEST_F() 668 backup_url_fetcher->SetResponseString(std::string()); in TEST_F() 716 backup_url_fetcher->SetResponseString(std::string()); in TEST_F() [all …]
|
D | incident_report_uploader_impl_unittest.cc | 61 fetcher->SetResponseString(response); in TEST_F()
|
/external/chromium_org/chrome/browser/local_discovery/ |
D | privet_url_fetcher_unittest.cc | 129 fetcher->SetResponseString(kSampleParsableJSON); in TEST_F() 148 fetcher->SetResponseString(kSampleParsableJSON); in TEST_F() 159 fetcher->SetResponseString(kSampleParsableJSON); in TEST_F() 172 fetcher->SetResponseString(kSampleParsableJSON); in TEST_F() 186 fetcher->SetResponseString(kSampleUnparsableJSON); in TEST_F() 246 fetcher->SetResponseString(kSampleJSONWithError); in TEST_F() 260 fetcher->SetResponseString(kSampleJSONWithError); in TEST_F()
|
D | gcd_api_flow_unittest.cc | 94 fetcher->SetResponseString(kSampleConfirmResponse); in TEST_F() 117 fetcher->SetResponseString(kFailedConfirmResponseBadJson); in TEST_F()
|
D | privet_local_printer_lister_unittest.cc | 129 fetcher->SetResponseString(response); in SuccessfulResponseToURL()
|
/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/signin/ |
D | account_service_flag_fetcher_unittest.cc | 72 fetcher->SetResponseString(std::string("SID=sid\nLSID=lsid\nAuth=auth\n")); in SendValidLoginResponse() 81 fetcher->SetResponseString(std::string()); in SendFailedLoginResponse() 90 fetcher->SetResponseString(BuildGetUserInfoResponse()); in SendValidGetUserInfoResponse() 99 fetcher->SetResponseString(std::string("allServicesIsMissing=true")); in SendInvalidGetUserInfoResponse() 108 fetcher->SetResponseString(std::string()); in SendFailedGetUserInfoResponse()
|
/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/autocomplete/ |
D | zero_suggest_provider_unittest.cc | 130 fetcher->SetResponseString(json_response); in TEST_F() 170 fetcher->SetResponseString(json_response2); in TEST_F() 215 fetcher->SetResponseString(empty_response); in TEST_F()
|
D | search_provider_unittest.cc | 439 fetcher->SetResponseString(json); in ForcedQueryTestHelper() 1074 fetcher->SetResponseString( in TEST_F() 1102 fetcher->SetResponseString("[\"a\",[\"a1\", \"a2\", \"a3\", \"a4\"]]"); in TEST_F() 1161 default_fetcher->SetResponseString(cases[i].default_provider_json); in TEST_F() 1168 keyword_fetcher->SetResponseString(cases[i].keyword_provider_json); in TEST_F() 1419 fetcher->SetResponseString(cases[i].json); in TEST_F() 1886 keyword_fetcher->SetResponseString(cases[i].json); in TEST_F() 1986 fetcher->SetResponseString(cases[i].json); in TEST_F() 2103 fetcher->SetResponseString(cases[i].json); in TEST_F() 2139 fetcher->SetResponseString( in TEST_F() [all …]
|
/external/chromium_org/components/domain_reliability/ |
D | uploader_unittest.cc | 80 fetcher->SetResponseString(""); in TEST_F() 103 fetcher->SetResponseString(""); in TEST_F()
|
/external/chromium_org/chrome/browser/chromeos/login/auth/ |
D | mock_url_fetchers.cc | 118 SetResponseString(base::StringPrintf("Error=%s\n" in CaptchaFetcher() 167 SetResponseString("Error=BadAuthentication"); in Start()
|
/external/chromium_org/chrome/browser/chromeos/login/ |
D | login_utils_browsertest.cc | 455 fetcher->SetResponseString(data); in PrepareDMServiceFetcher() 644 fetcher->SetResponseString(kOAuth2TokenPairData); in TEST_P() 651 fetcher->SetResponseString(kOAuth2AccessTokenData); in TEST_P() 690 fetcher->SetResponseString(kGaiaAccountDisabledResponse); in TEST_P()
|
/external/chromium_org/chrome/browser/extensions/ |
D | test_blacklist_state_fetcher.cc | 75 url_fetcher->SetResponseString(response_str); in HandleFetcher()
|
/external/chromium_org/content/browser/speech/ |
D | speech_recognizer_impl_unittest.cc | 267 fetcher->SetResponseString( in TEST_F() 324 fetcher->SetResponseString(std::string()); in TEST_F() 360 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/chrome/browser/chromeos/policy/ |
D | user_cloud_policy_manager_chromeos_unittest.cc | 244 fetcher->SetResponseString(kOAuth2TokenPairData); in IssueOAuthToken() 251 fetcher->SetResponseString(kOAuth2AccessTokenData); in IssueOAuthToken() 427 fetcher->SetResponseString("Error=BadAuthentication"); in TEST_F()
|
/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/net/url_request/ |
D | test_url_fetcher_factory.cc | 277 void TestURLFetcher::SetResponseString(const std::string& response) { in SetResponseString() function in net::TestURLFetcher 348 SetResponseString(response_data); in FakeURLFetcher()
|