#include "chrome/browser/net/convert_explicitly_allowed_network_ports_pref.h"
#include <memory>
#include <string>
#include "chrome/common/pref_names.h"
#include "components/prefs/pref_registry_simple.h"
#include "components/prefs/testing_pref_service.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
ElementsAre;
IsEmpty;
class ConvertExplicitlyAllowedNetworkPortsPrefTest : public ::testing::Test { … };
TEST_F(ConvertExplicitlyAllowedNetworkPortsPrefTest, EmptyList) { … }
TEST_F(ConvertExplicitlyAllowedNetworkPortsPrefTest, ValidList) { … }
TEST_F(ConvertExplicitlyAllowedNetworkPortsPrefTest, ListOfBools) { … }
TEST_F(ConvertExplicitlyAllowedNetworkPortsPrefTest, MixedTypesList) { … }
TEST_F(ConvertExplicitlyAllowedNetworkPortsPrefTest, OutOfRangeIntegers) { … }