chromium/components/omnibox/browser/favicon_cache_unittest.cc

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

#include "components/omnibox/browser/favicon_cache.h"

#include "base/functional/bind.h"
#include "components/favicon/core/test/mock_favicon_service.h"
#include "components/variations/scoped_variations_ids_provider.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/skia/include/core/SkBitmap.h"
#include "ui/gfx/favicon_size.h"

_;
DoAll;
Return;

namespace {

favicon_base::FaviconImageResult GetDummyFaviconResult() {}

favicon_base::FaviconRawBitmapResult GetDummyRawFaviconResult() {}

void VerifyFetchedFaviconAndCount(int* count, const gfx::Image& favicon) {}

void VerifyFetchedFavicon(const gfx::Image& favicon) {}

void Fail(const gfx::Image& favicon) {}

}  // namespace

class FaviconCacheTest : public testing::Test {};

TEST_F(FaviconCacheTest, Basic) {}

TEST_F(FaviconCacheTest, Largest) {}

TEST_F(FaviconCacheTest, GetFaviconForIconUrl) {}

TEST_F(FaviconCacheTest, MultipleRequestsAreCoalesced) {}

TEST_F(FaviconCacheTest, SeparateOriginsAreCachedSeparately) {}

TEST_F(FaviconCacheTest, ClearIconsWithHistoryDeletions) {}

TEST_F(FaviconCacheTest, CacheNullFavicons) {}

TEST_F(FaviconCacheTest, ExpireNullFaviconsByHistory) {}

TEST_F(FaviconCacheTest, ObserveFaviconsChanged) {}