chromium/chrome/browser/bitmap_fetcher/bitmap_fetcher_service_unittest.cc

// Copyright 2014 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "chrome/browser/bitmap_fetcher/bitmap_fetcher_service.h"

#include <stddef.h>

#include "chrome/browser/bitmap_fetcher/bitmap_fetcher.h"
#include "chrome/test/base/testing_profile.h"
#include "content/public/test/browser_task_environment.h"
#include "net/traffic_annotation/network_traffic_annotation_test_helper.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/skia/include/core/SkBitmap.h"

namespace {

class TestService : public BitmapFetcherService {};

}  // namespace

class BitmapFetcherServiceTest : public testing::Test {};

TEST_F(BitmapFetcherServiceTest, RequestInvalidUrl) {}

TEST_F(BitmapFetcherServiceTest, CancelInvalidRequest) {}

TEST_F(BitmapFetcherServiceTest, OnlyFirstRequestCreatesFetcher) {}

TEST_F(BitmapFetcherServiceTest, CompletedFetchNotifiesAllObservers) {}

TEST_F(BitmapFetcherServiceTest, CancelRequest) {}

TEST_F(BitmapFetcherServiceTest, FailedNullRequestsAreHandled) {}

TEST_F(BitmapFetcherServiceTest, FailedRequestsDontEnterCache) {}