chromium/extensions/common/manifest_handlers/extension_manifests_icon_variants_unittest.cc

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

#include "base/strings/stringprintf.h"
#include "base/test/scoped_feature_list.h"
#include "base/version_info/channel.h"
#include "extensions/common/extension_features.h"
#include "extensions/common/features/feature_channel.h"
#include "extensions/common/manifest_constants.h"
#include "extensions/common/manifest_test.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace extensions {

class IconVariantsManifestTest : public ManifestTest {};

// Parse `icon_variants` in manifest.json.
TEST_F(IconVariantsManifestTest, Success) {}

struct WarningTestCase {};

// Cases that could generate warnings after parsing successfully.
TEST_F(IconVariantsManifestTest, SuccessWithOptionalWarning) {}

// Check cases where there could be multiple warnings.
TEST_F(IconVariantsManifestTest, SuccessWithOptionalWarnings) {}

// Cases that cause errors and prevent the extension from loading.
TEST_F(IconVariantsManifestTest, Errors) {}

IconVariantsFeatureFreeManifestTest;

// Test that icon_variants doesn't create an error, even in the event of
// warnings.
TEST_F(IconVariantsFeatureFreeManifestTest, Warnings) {}

}  // namespace extensions