#include <optional>
#include <ostream>
#include <string>
#include <vector>
#include "base/containers/contains.h"
#include "base/strings/string_util.h"
#include "base/test/scoped_feature_list.h"
#include "base/values.h"
#include "build/build_config.h"
#include "chrome/browser/spellchecker/spellcheck_language_blocklist_policy_handler.h"
#include "chrome/browser/spellchecker/spellcheck_language_policy_handler.h"
#include "chrome/common/pref_names.h"
#include "components/policy/core/common/policy_map.h"
#include "components/policy/policy_constants.h"
#include "components/prefs/pref_value_map.h"
#include "components/spellcheck/browser/pref_names.h"
#include "components/spellcheck/common/spellcheck_features.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace policy {
struct TestCase { … };
std::ostream& operator<<(std::ostream& out, const TestCase& test_case) { … }
class SpellcheckLanguagePolicyHandlersTest
: public testing::TestWithParam<TestCase> { … };
TEST_P(SpellcheckLanguagePolicyHandlersTest, ApplyPolicySettings) { … }
INSTANTIATE_TEST_SUITE_P(…);
}