#include "components/policy/core/common/policy_proto_decoders.h"
#include "base/json/json_reader.h"
#include "base/strings/string_number_conversions.h"
#include "components/policy/core/common/cloud/cloud_policy_constants.h"
#include "components/policy/core/common/cloud/test/policy_builder.h"
#include "components/policy/core/common/policy_map.h"
#include "components/policy/policy_constants.h"
#include "components/policy/proto/cloud_policy.pb.h"
#include "components/strings/grit/components_strings.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace policy {
class PolicyProtoDecodersTest : public testing::Test { … };
TEST_F(PolicyProtoDecodersTest, BooleanPolicy) { … }
TEST_F(PolicyProtoDecodersTest, IntegerPolicy) { … }
TEST_F(PolicyProtoDecodersTest, StringPolicy) { … }
TEST_F(PolicyProtoDecodersTest, StringListPolicy) { … }
TEST_F(PolicyProtoDecodersTest, PolicyWithOptionUnset) { … }
TEST_F(PolicyProtoDecodersTest, PolicyWithOptionRecommended) { … }
TEST_F(PolicyProtoDecodersTest, IntegerPolicyWithValueLowerThanMinLimit) { … }
TEST_F(PolicyProtoDecodersTest, IntegerPolicyWithValueUpperThanMaxLimit) { … }
TEST_F(PolicyProtoDecodersTest, JsonPolicy) { … }
TEST_F(PolicyProtoDecodersTest, InvalidJsonPolicy) { … }
TEST_F(PolicyProtoDecodersTest, PolicyWithAnyFilter) { … }
TEST_F(PolicyProtoDecodersTest, PolicyWithTrueFilter) { … }
TEST_F(PolicyProtoDecodersTest, PolicyWithFalseFilter) { … }
}