chromium/content/browser/manifest/manifest_icon_downloader_unittest.cc

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

#include "content/public/browser/manifest_icon_downloader.h"

#include <string>
#include <vector>

#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/skia/include/core/SkBitmap.h"
#include "ui/gfx/image/image_unittest_util.h"

namespace content {

class ManifestIconDownloaderTest : public testing::TestWithParam<bool> {};

TEST_P(ManifestIconDownloaderTest, NoIcons) {}

TEST_P(ManifestIconDownloaderTest, ExactIsChosen) {}

TEST_P(ManifestIconDownloaderTest, BiggerIsChosen) {}

TEST_P(ManifestIconDownloaderTest, SmallerBelowMinimumIsIgnored) {}

TEST_P(ManifestIconDownloaderTest, SmallerAboveMinimumIsChosen) {}

TEST_P(ManifestIconDownloaderTest, ExactIsPreferredOverBigger) {}

TEST_P(ManifestIconDownloaderTest, ExactIsPreferredOverSmaller) {}

TEST_P(ManifestIconDownloaderTest, BiggerIsPreferredOverCloserSmaller) {}

TEST_P(ManifestIconDownloaderTest, ClosestToExactIsChosen) {}

TEST_P(ManifestIconDownloaderTest, MixedReturnsBiggestClosest) {}

TEST_P(ManifestIconDownloaderTest, MixedCanReturnMiddle) {}

TEST_P(ManifestIconDownloaderTest, SquareIsPickedOverNonSquare) {}

TEST_P(ManifestIconDownloaderTest, MostSquareNonSquareIsPicked) {}

TEST_P(ManifestIconDownloaderTest, NonSquareBelowMinimumIsNotPicked) {}

TEST_P(ManifestIconDownloaderTest, ImproperWidthtoHeightRatioIsNotPicked) {}

INSTANTIATE_TEST_SUITE_P();

}  // namespace content