#include "net/tools/tld_cleanup/tld_cleanup_util.h"
#include "base/files/file_path.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace net::tld_cleanup {
ElementsAre;
Pair;
std::string SetupData(const std::string& icann_domains,
const std::string& private_domains) { … }
TEST(TldCleanupUtilTest, TwoRealTldsSuccessfullyRead) { … }
TEST(TldCleanupUtilTest, TwoRealTldsSuccessfullyRead_WindowsEndings) { … }
TEST(TldCleanupUtilTest, RealTldAutomaticallyAddedForSubdomain) { … }
TEST(TldCleanupUtilTest, PrivateTldMarkedAsPrivate) { … }
TEST(TldCleanupUtilTest, PrivateDomainMarkedAsPrivate) { … }
TEST(TldCleanupUtilTest, ExtraTldRuleIsNotMarkedPrivate) { … }
TEST(TldCleanupUtilTest, WildcardAndExceptionParsedCorrectly) { … }
TEST(TldCleanupUtilTest, RuleSerialization) { … }
}