Lines Matching defs:URLFetcherTest
73 class URLFetcherTest : public testing::Test, public URLFetcher::Delegate {
75 URLFetcherTest() : fetcher_(NULL) { }
123 void URLFetcherTest::CreateFetcher(const GURL& url) {
130 void URLFetcherTest::OnURLFetchComplete(const URLFetcher* source,
151 // Version of URLFetcherTest that does a POST instead
152 class URLFetcherPostTest : public URLFetcherTest {
165 // Version of URLFetcherTest that tests headers.
166 class URLFetcherHeadersTest : public URLFetcherTest {
177 // Version of URLFetcherTest that tests overload protection.
178 class URLFetcherProtectTest : public URLFetcherTest {
192 // Version of URLFetcherTest that tests overload protection, when responses
194 class URLFetcherProtectTestPassedThrough : public URLFetcherTest {
208 // Version of URLFetcherTest that tests bad HTTPS requests.
209 class URLFetcherBadHTTPSTest : public URLFetcherTest {
225 // Version of URLFetcherTest that tests request cancellation on shutdown.
226 class URLFetcherCancelTest : public URLFetcherTest {
279 // Version of URLFetcherTest that tests retying the same request twice.
280 class URLFetcherMultipleAttemptTest : public URLFetcherTest {
294 // could make URLFetcherTest refcounted and use PostTask(FROM_HERE.. ) to call
295 // CreateFetcher() directly, but the ownership of the URLFetcherTest is a bit
300 FetcherWrapperTask(URLFetcherTest* test, const GURL& url)
307 URLFetcherTest* test_;
327 URLFetcherTest::OnURLFetchComplete(source, url, status, response_code,
342 URLFetcherTest::OnURLFetchComplete(source, url, status, response_code,
381 URLFetcherTest::OnURLFetchComplete(source, url, status, response_code,
443 // This part is different from URLFetcherTest::OnURLFetchComplete
451 // The rest is the same as URLFetcherTest::OnURLFetchComplete.
514 TEST_F(URLFetcherTest, SameThreadsTest) {
528 TEST_F(URLFetcherTest, DISABLED_DifferentThreadsTest) {
530 TEST_F(URLFetcherTest, DifferentThreadsTest) {
736 TEST_F(URLFetcherTest, CancelAll) {