OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:fetcher1
(Results
1 - 2
of
2
) sorted by null
/external/chromium_org/net/test/embedded_test_server/
embedded_test_server_unittest.cc
205
scoped_ptr<URLFetcher>
fetcher1
= scoped_ptr<URLFetcher>(
local
209
fetcher1
->SetRequestContext(request_context_getter_.get());
222
fetcher1
->Start();
227
EXPECT_EQ(URLRequestStatus::SUCCESS,
fetcher1
->GetStatus().status());
228
EXPECT_EQ(HTTP_OK,
fetcher1
->GetResponseCode());
229
EXPECT_EQ("Raspberry chocolate", GetContentFromFetcher(*
fetcher1
));
230
EXPECT_EQ("text/html", GetContentTypeFromFetcher(*
fetcher1
));
/external/chromium_org/google_apis/gaia/
oauth2_token_service_unittest.cc
386
net::TestURLFetcher*
fetcher1
= factory_.GetFetcherByID(0);
local
387
ASSERT_TRUE(
fetcher1
);
407
fetcher1
->set_response_code(net::HTTP_OK);
408
fetcher1
->SetResponseString(GetValidTokenResponse("first token", 3600));
409
fetcher1
->delegate()->OnURLFetchComplete(
fetcher1
);
Completed in 42 milliseconds