src/base/fuchsia/time_zone_data_unittest.cc
TEST_F(TimeZoneDataTest, TestLoadingTimeZoneDataFromKnownConfigs) {
  ASSERT_TRUE(base::DirectoryExists(base::FilePath(kTzDataDirPath)));
  SetIcuTimeZoneDataDirForTesting(kTzDataDirPath);

  EXPECT_TRUE(InitializeICU());
  std::string actual;
  GetActualRevision(&actual);
  EXPECT_EQ("2019a", actual) << "If ICU no longer supports this tzdata "
                                "version, tzdata version needs to be upgraded";
}
// Verifies that the current version of the ICU library in use can load ICU
// data in a specific version format (in this case 44).  Designed to fail if
// the ICU library version used in Chromium drifts from version 44 so much that
// the library is no longer able to load the old tzdata.  If the test fails,
// this could be a sign that all platforms Chromium runs on need to upgrade the
// ICU library versions.
Verifies that the current version of the ICU library in use can load ICU
data in a specific version format (in this case 44).  Designed to fail if
the ICU library version used in Chromium drifts from version 44 so much that
the library is no longer able to load the old tzdata.  If the test fails,
this could be a sign that all platforms Chromium runs on need to upgrade the
ICU library versions.
Verifies that the current version of the ICU library in use can load ICU data in a specific version format ( in this case 44 ) . Designed to fail if the ICU library version used in Chromium drifts from version 44 so much that the library is no longer able to load the old tzdata . If the test fails this could be a sign that all platforms Chromium runs on need to upgrade the ICU library versions .
TEST_F(TimeZoneDataTest, TestLoadingTimeZoneDataFromKnownConfigs) {
  ASSERT_TRUE(base::DirectoryExists(base::FilePath(kTzDataDirPath)));
  SetIcuTimeZoneDataDirForTesting(kTzDataDirPath);
  EXPECT_TRUE(InitializeICU());
  std::string actual;
  GetActualRevision(&actual);
  EXPECT_EQ("2019a", actual) << "If ICU no longer supports this tzdata "
                                "version, tzdata version needs to be upgraded";
}
TEST_F ( TimeZoneDataTest , TestLoadingTimeZoneDataFromKnownConfigs ) { ASSERT_TRUE ( base :: DirectoryExists ( base :: FilePath ( kTzDataDirPath ) ) ) ; SetIcuTimeZoneDataDirForTesting ( kTzDataDirPath ) ; EXPECT_TRUE ( InitializeICU ( ) ) ; std :: string actual ; GetActualRevision ( & actual ) ; EXPECT_EQ ( " " , actual ) << " " " " ; }
Verifies that the current version of the ICU library in use can load ICU
data in a specific version format (in this case 44).
Verifies that the current version of the ICU library in use can load ICU data in a specific version format ( in this case 44 ) .