1 // Copyright 2019 The Chromium Authors
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "base/i18n/icu_util.h"
7 #include "build/build_config.h"
8 #include "testing/gtest/include/gtest/gtest.h"
10 #if !BUILDFLAG(IS_NACL) && (ICU_UTIL_DATA_IMPL == ICU_UTIL_DATA_FILE) && \
11 (BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_ANDROID))
13 namespace base::i18n {
15 class IcuUtilTest : public testing::Test {
17 void SetUp() override { ResetGlobalsForTesting(); }
20 TEST_F(IcuUtilTest, InitializeIcuSucceeds) {
21 bool success = InitializeICU();
26 } // namespace base::i18n