chromium/components/policy/core/browser/policy_error_map_unittest.cc

// Copyright 2021 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/policy/core/browser/policy_error_map.h"

#include "base/memory/raw_ptr.h"
#include "components/strings/grit/components_strings.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/base/resource/resource_bundle.h"

namespace policy {
namespace {
constexpr char kPolicyWithError[] =;
constexpr char kPolicyWithoutError[] =;
}  // namespace

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

TEST_P(PolicyErrorMapTestResourceBundle, CheckForErrorsWithoutFatalErrors) {}

TEST_P(PolicyErrorMapTestResourceBundle, CheckForErrorsWithFatalErrors) {}

INSTANTIATE_TEST_SUITE_P();

TEST(PolicyErrorMapTest, GetErrorMessages) {}

TEST(PolicyErrorMapTest, GetErrorMessagesWithReplacement) {}

TEST(PolicyErrorMapTest, GetErrorMessagesWithTwoReplacements) {}

TEST(PolicyErrorMapTest, GetErrorMessagesWithThreeReplacements) {}

TEST(PolicyErrorMapTest, GetErrorMessagesWithNonAsciiReplacement) {}

TEST(PolicyErrorMapTest, GetErrorMessagesWithBadUnicodeReplacement) {}

TEST(PolicyErrorMapTest, GetErrorsWithNonfatalError) {}

TEST(PolicyErrorMapTest, GetErrorsWithFatalError) {}

}  // namespace policy