#include "chrome/browser/net/explicitly_allowed_network_ports_policy_handler.h"
#include <string>
#include "base/values.h"
#include "chrome/common/pref_names.h"
#include "components/policy/core/browser/policy_error_map.h"
#include "components/policy/core/common/policy_map.h"
#include "components/policy/core/common/policy_types.h"
#include "components/policy/policy_constants.h"
#include "components/prefs/pref_value_map.h"
#include "net/base/port_util.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace policy {
class ExplicitlyAllowedNetworkPortsPolicyHandlerTest : public testing::Test { … };
TEST_F(ExplicitlyAllowedNetworkPortsPolicyHandlerTest, Unset) { … }
TEST_F(ExplicitlyAllowedNetworkPortsPolicyHandlerTest, Empty) { … }
TEST_F(ExplicitlyAllowedNetworkPortsPolicyHandlerTest, Valid) { … }
TEST_F(ExplicitlyAllowedNetworkPortsPolicyHandlerTest, NotAList) { … }
TEST_F(ExplicitlyAllowedNetworkPortsPolicyHandlerTest, MixedTypes) { … }
TEST_F(ExplicitlyAllowedNetworkPortsPolicyHandlerTest, InvalidStrings) { … }
}