chromium/components/content_settings/core/browser/content_settings_utils_unittest.cc

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

#ifdef UNSAFE_BUFFERS_BUILD
// TODO(crbug.com/40285824): Remove this and convert code to safer constructs.
#pragma allow_unsafe_buffers
#endif

#include "components/content_settings/core/browser/content_settings_utils.h"

#include <stddef.h>

#include <string>

#include "base/test/scoped_feature_list.h"
#include "base/test/task_environment.h"
#include "base/time/time.h"
#include "components/content_settings/core/common/content_settings.h"
#include "components/content_settings/core/common/content_settings_types.h"
#include "components/content_settings/core/common/features.h"
#include "components/content_settings/core/test/content_settings_test_utils.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace content_settings {

namespace {

// clang-format off
const char* const kContentSettingNames[] =;
// clang-format on

static_assert;

}  // namespace

TEST(ContentSettingsUtilsTest, ParsePatternString) {}

TEST(ContentSettingsUtilsTest, ContentSettingsStringMap) {}

TEST(ContentSettingsUtilsTest, IsMorePermissive) {}

#if !BUILDFLAG(IS_IOS) && !BUILDFLAG(IS_ANDROID)
TEST(ContentSettingsUtilsTest, CanBeAutoRevoked) {}
#endif  // !BUILDFLAG(IS_IOS) && !BUILDFLAG(IS_ANDROID)

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

TEST_P(ContentSettingsUtilsFlagTest, GetCoarseVisitedTime) {}

INSTANTIATE_TEST_SUITE_P();

}  // namespace content_settings