Home
last modified time | relevance | path

Searched refs:SetFakeResponse (Results 1 – 25 of 30) sorted by relevance

12

/external/chromium_org/components/precache/core/
Dprecache_fetcher_unittest.cc129 factory_.SetFakeResponse(GURL(kConfigURL), config.SerializeAsString(), in TEST_F()
131 factory_.SetFakeResponse(GURL(kManifestFetchFailureURL), "", in TEST_F()
134 factory_.SetFakeResponse(GURL(kBadManifestURL), "bad protobuf", net::HTTP_OK, in TEST_F()
136 factory_.SetFakeResponse(GURL(kGoodManifestURL), in TEST_F()
139 factory_.SetFakeResponse(GURL(kResourceFetchFailureURL), in TEST_F()
142 factory_.SetFakeResponse(GURL(kGoodResourceURL), "good", net::HTTP_OK, in TEST_F()
144 factory_.SetFakeResponse(GURL(kForcedStartingURLManifestURL), in TEST_F()
174 factory_.SetFakeResponse(GURL(kConfigURL), "", in TEST_F()
197 factory_.SetFakeResponse(GURL(kConfigURL), "bad protobuf", net::HTTP_OK, in TEST_F()
222 factory_.SetFakeResponse(GURL(kConfigURL), config.SerializeAsString(), in TEST_F()
[all …]
/external/chromium_org/chrome/service/cloud_print/
Dprinter_job_handler_unittest.cc506 factory_.SetFakeResponse(JobListURI(kJobFetchReasonStartup), in MakeJobFetchReturnNoJobs()
509 factory_.SetFakeResponse(JobListURI(kJobFetchReasonFailure), in MakeJobFetchReturnNoJobs()
512 factory_.SetFakeResponse(JobListURI(kJobFetchReasonRetry), in MakeJobFetchReturnNoJobs()
562 factory_.SetFakeResponse(TicketURI(job_num), in SetUpJobSuccessTest()
565 factory_.SetFakeResponse(DownloadURI(job_num), in SetUpJobSuccessTest()
569 factory_.SetFakeResponse(DoneURI(job_num), in SetUpJobSuccessTest()
573 factory_.SetFakeResponse(InProgressURI(job_num), in SetUpJobSuccessTest()
680 factory_.SetFakeResponse(JobListURI(kJobFetchReasonStartup), in TEST_F()
683 factory_.SetFakeResponse(JobListURI(kJobFetchReasonQueryMore), in TEST_F()
699 factory_.SetFakeResponse(JobListURI(kJobFetchReasonStartup), in TEST_F()
[all …]
/external/chromium_org/third_party/libaddressinput/chromium/
Dchrome_metadata_source_unittest.cc26 void SetFakeResponse(const std::string& payload, net::HttpStatusCode code) { in SetFakeResponse() function in autofill::ChromeMetadataSourceTest
27 fake_factory_.SetFakeResponse(url_, in SetFakeResponse()
76 SetFakeResponse(kFakePayload, net::HTTP_OK); in TEST_F()
85 SetFakeResponse(kFakePayload, net::HTTP_INTERNAL_SERVER_ERROR); in TEST_F()
94 SetFakeResponse(kFakePayload, net::HTTP_OK); in TEST_F()
/external/chromium_org/chrome/browser/signin/
Daccount_reconcilor_unittest.cc88 void SetFakeResponse(const std::string& url, in SetFakeResponse() function in AccountReconcilorTest
92 url_fetcher_factory_.SetFakeResponse(GURL(url), data, code, status); in SetFakeResponse()
241 SetFakeResponse(GaiaUrls::GetInstance()->list_accounts_url().spec(), in TEST_F()
263 SetFakeResponse(GaiaUrls::GetInstance()->list_accounts_url().spec(), "", in TEST_F()
281 SetFakeResponse(GaiaUrls::GetInstance()->list_accounts_url().spec(), in TEST_P()
316 SetFakeResponse(GaiaUrls::GetInstance()->list_accounts_url().spec(), in TEST_P()
341 SetFakeResponse(GaiaUrls::GetInstance()->list_accounts_url().spec(), in TEST_P()
366 SetFakeResponse(GaiaUrls::GetInstance()->list_accounts_url().spec(), in TEST_P()
396 SetFakeResponse(GaiaUrls::GetInstance()->list_accounts_url().spec(), in TEST_P()
428 SetFakeResponse( in TEST_P()
[all …]
Dsignin_browsertest.cc62 fake_factory_->SetFakeResponse( in SetUp()
65 fake_factory_->SetFakeResponse( in SetUp()
/external/chromium_org/chrome/browser/ui/webui/local_discovery/
Dlocal_discovery_ui_browsertest.cc373 fake_fetcher_factory().SetFakeResponse( in SetUpOnMainThread()
379 fake_fetcher_factory().SetFakeResponse( in SetUpOnMainThread()
385 fake_fetcher_factory().SetFakeResponse( in SetUpOnMainThread()
391 fake_fetcher_factory().SetFakeResponse( in SetUpOnMainThread()
397 fake_fetcher_factory().SetFakeResponse( in SetUpOnMainThread()
403 fake_fetcher_factory().SetFakeResponse( in SetUpOnMainThread()
413 fake_fetcher_factory().SetFakeResponse( in SetUpOnMainThread()
534 fake_fetcher_factory().SetFakeResponse( in IN_PROC_BROWSER_TEST_F()
540 fake_fetcher_factory().SetFakeResponse( in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/chrome/browser/chromeos/policy/
Dcloud_external_data_manager_base_unittest.cc124 void SetFakeResponse(const std::string& url,
242 void CloudExternalDataManagerBaseTest::SetFakeResponse( in SetFakeResponse() function in policy::CloudExternalDataManagerBaseTest
247 fetcher_factory_.SetFakeResponse( in SetFakeResponse()
294 SetFakeResponse(k10BytePolicyURL, k10ByteData, net::HTTP_OK, in TEST_F()
350 SetFakeResponse(k10BytePolicyURL, k10ByteData, net::HTTP_OK, in TEST_F()
352 SetFakeResponse(k20BytePolicyURL, k20ByteData, net::HTTP_OK, in TEST_F()
425 SetFakeResponse(k10BytePolicyURL, k10ByteData, net::HTTP_OK, in TEST_F()
444 SetFakeResponse(k20BytePolicyURL, std::string(), in TEST_F()
483 SetFakeResponse(k20BytePolicyURL, k10ByteData, net::HTTP_OK, in TEST_F()
663 SetFakeResponse(k10BytePolicyURL, k20ByteData, net::HTTP_OK, in TEST_F()
[all …]
/external/chromium_org/components/rappor/
Dlog_uploader_unittest.cc75 factory_.SetFakeResponse(GURL(kTestServerURL), in TEST_F()
89 factory_.SetFakeResponse(GURL(kTestServerURL), in TEST_F()
103 factory_.SetFakeResponse(GURL(kTestServerURL), in TEST_F()
124 factory_.SetFakeResponse(GURL(kTestServerURL), in TEST_F()
/external/chromium_org/chrome/browser/bitmap_fetcher/
Dbitmap_fetcher_browsertest.cc114 url_fetcher_factory_->SetFakeResponse( in IN_PROC_BROWSER_TEST_F()
166 url_fetcher_factory_->SetFakeResponse(url, in IN_PROC_BROWSER_TEST_F()
187 url_fetcher_factory_->SetFakeResponse(url, in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/components/dom_distiller/core/
Ddistiller_url_fetcher_unittest.cc34 factory_->SetFakeResponse( in SetUp()
39 factory_->SetFakeResponse( in SetUp()
/external/chromium_org/components/invalidation/
Dgcm_network_channel_unittest.cc248 url_fetcher_factory()->SetFakeResponse(GURL("http://test.url.com"), in TEST_F()
302 url_fetcher_factory()->SetFakeResponse(GURL("http://test.url.com"), in TEST_F()
348 url_fetcher_factory()->SetFakeResponse(GURL("http://test.url.com"), in TEST_F()
418 url_fetcher_factory()->SetFakeResponse(GURL("http://test.url.com"), in TEST_F()
436 url_fetcher_factory()->SetFakeResponse(GURL("http://test.url.com"), in TEST_F()
473 url_fetcher_factory()->SetFakeResponse(GURL("http://test.url.com"), in TEST_F()
/external/chromium_org/components/signin/core/browser/
Dmutable_profile_oauth2_token_service_unittest.cc45 factory_.SetFakeResponse(GaiaUrls::GetInstance()->oauth2_revoke_url(), in SetUp()
319 factory_.SetFakeResponse(GaiaUrls::GetInstance()->oauth2_token_url(), in TEST_F()
339 factory_.SetFakeResponse(GaiaUrls::GetInstance()->oauth2_token_url(), in TEST_F()
353 factory_.SetFakeResponse(GaiaUrls::GetInstance()->oauth2_token_url(), in TEST_F()
/external/chromium_org/chrome/browser/chromeos/login/
Deula_browsertest.cc65 factory.SetFakeResponse(GURL(kEULAURL), kFakeOnlineEULA, in IN_PROC_BROWSER_TEST_F()
86 factory.SetFakeResponse(GURL(kEULAURL), "", net::HTTP_INTERNAL_SERVER_ERROR, in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/components/suggestions/
Dsuggestions_service_unittest.cc228 factory_.SetFakeResponse(GURL(expected_url), in FetchSuggestionsDataNoTimeoutHelper()
315 factory_.SetFakeResponse(GURL(expected_url), "irrelevant", net::HTTP_OK, in TEST_F()
353 factory_.SetFakeResponse(GURL(expected_url), "irrelevant", in TEST_F()
445 factory_.SetFakeResponse(GURL(request_url), in TEST_F()
492 factory_.SetFakeResponse(GURL(request_url), "irrelevant", net::HTTP_OK, in TEST_F()
526 factory_.SetFakeResponse(GURL(request_url), in TEST_F()
/external/chromium_org/chrome/browser/sync/test/integration/
Dsync_test.cc557 fake_factory_->SetFakeResponse( in SetupMockGaiaResponses()
562 fake_factory_->SetFakeResponse( in SetupMockGaiaResponses()
567 fake_factory_->SetFakeResponse( in SetupMockGaiaResponses()
572 fake_factory_->SetFakeResponse( in SetupMockGaiaResponses()
577 fake_factory_->SetFakeResponse( in SetupMockGaiaResponses()
587 fake_factory_->SetFakeResponse( in SetupMockGaiaResponses()
594 fake_factory_->SetFakeResponse( in SetupMockGaiaResponses()
599 fake_factory_->SetFakeResponse( in SetupMockGaiaResponses()
610 fake_factory_->SetFakeResponse(GaiaUrls::GetInstance()->oauth2_token_url(), in SetOAuth2TokenResponse()
/external/chromium_org/chrome/browser/extensions/api/gcd_private/
Dgcd_private_apitest.cc288 url_fetcher_factory_.SetFakeResponse(GURL("http://1.2.3.4:9090/privet/info"), in IN_PROC_BROWSER_TEST_F()
293 url_fetcher_factory_.SetFakeResponse(GURL("http://1.2.3.4:9090/privet/ping"), in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/chrome/browser/chromeos/geolocation/
Dsimple_geolocation_unittest.cc71 factory_->SetFakeResponse(url, response_, response_code, status); in CreateURLFetcher()
84 factory_->SetFakeResponse(url_, in Initialize()
/external/chromium_org/chrome/browser/safe_browsing/
Ddownload_protection_service_unittest.cc444 factory.SetFakeResponse( in TEST_F()
538 factory.SetFakeResponse( in TEST_F()
581 factory.SetFakeResponse( in TEST_F()
629 factory.SetFakeResponse( in TEST_F()
647 factory.SetFakeResponse( in TEST_F()
667 factory.SetFakeResponse( in TEST_F()
692 factory.SetFakeResponse( in TEST_F()
714 factory.SetFakeResponse( in TEST_F()
735 factory.SetFakeResponse( in TEST_F()
785 factory.SetFakeResponse( in TEST_F()
[all …]
Dclient_side_detection_service_unittest.cc112 factory_->SetFakeResponse(GURL(ClientSideDetectionService::kClientModelUrl), in SetModelFetchResponse()
119 factory_->SetFakeResponse( in SetClientReportPhishingResponse()
128 factory_->SetFakeResponse( in SetClientReportMalwareResponse()
/external/chromium_org/chrome/browser/chromeos/timezone/
Dtimezone_unittest.cc109 factory_->SetFakeResponse(url, response_, response_code, status); in CreateURLFetcher()
122 factory_->SetFakeResponse(url_, in Initialize()
/external/chromium_org/chrome/browser/chromeos/
Dcustomization_wallpaper_downloader_browsertest.cc134 factory_->SetFakeResponse(url, response_data, response_code, status); in CreateURLFetcher()
147 factory_->SetFakeResponse(url_, in Initialize()
Dcustomization_document_unittest.cc278 factory_.SetFakeResponse(url, in AddExpectedManifest()
290 factory_.SetFakeResponse(url, in AddManifestNotFound()
/external/chromium_org/chrome/browser/ui/search/
Dinstant_extended_interactive_uitest.cc823 fake_factory()->SetFakeResponse(instant_url().Resolve("#q=flowers"), in IN_PROC_BROWSER_TEST_F()
840 fake_factory()->SetFakeResponse( in IN_PROC_BROWSER_TEST_F()
886 fake_factory()->SetFakeResponse(instant_url().Resolve("#q=flowers"), in IN_PROC_BROWSER_TEST_F()
902 fake_factory()->SetFakeResponse( in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/components/signin/ios/browser/
Dprofile_oauth2_token_service_ios_unittest.mm30 factory_.SetFakeResponse(GaiaUrls::GetInstance()->oauth2_revoke_url(),
/external/chromium_org/components/precache/content/
Dprecache_manager_unittest.cc153 factory_.SetFakeResponse(GURL(kConfigURL), "", in SetUp()

12