src/net/base/lookup_string_in_fixed_set_unittest.cc
TEST(LookupStringInFixedSetTest, Dafsa1EnumerateLanguage) {
  auto language = EnumerateDafsaLanguage(test1::kDafsa);

  // These are the lines of effective_tld_names_unittest1.gperf, in sorted
  // order.
  std::vector<std::string> expected_language = {
      "ac.jp, 0",       "b.c, 1",     "bar.baz.com, 0", "bar.jp, 2",
      "baz.bar.jp, 2",  "c, 2",       "jp, 0",          "no, 0",
      "pref.bar.jp, 1", "priv.no, 4", "private, 4",     "xn--fiqs8s, 0",
  };

  EXPECT_EQ(expected_language, language);
}
// Validates that the generated DAFSA contains exactly the same information as
// effective_tld_names_unittest1.gperf.
Validates that the generated DAFSA contains exactly the same information as
effective_tld_names_unittest1.gperf.
Validates that the generated DAFSA contains exactly the same information as effective_tld_names_unittest1 . gperf .
TEST(LookupStringInFixedSetTest, Dafsa1EnumerateLanguage) {
  auto language = EnumerateDafsaLanguage(test1::kDafsa);
  std::vector<std::string> expected_language = {
      "ac.jp, 0",       "b.c, 1",     "bar.baz.com, 0", "bar.jp, 2",
      "baz.bar.jp, 2",  "c, 2",       "jp, 0",          "no, 0",
      "pref.bar.jp, 1", "priv.no, 4", "private, 4",     "xn--fiqs8s, 0",
  };
  EXPECT_EQ(expected_language, language);
}
TEST ( LookupStringInFixedSetTest , Dafsa1EnumerateLanguage ) { auto language = EnumerateDafsaLanguage ( test1 :: kDafsa ) ; std :: vector < std :: string > expected_language = { " " , " " , " " , " " , " " , " " , " " , " " , " " , " " , " " , " " , } ; EXPECT_EQ ( expected_language , language ) ; }
Validates that the generated DAFSA contains exactly the same information as
effective_tld_names_unittest1.gperf.
Validates that the generated DAFSA contains exactly the same information as effective_tld_names_unittest1 . gperf .
// These are the lines of effective_tld_names_unittest1.gperf, in sorted // order.