blob: aa82136c79ff6f78ebdbcbe0088331d8404ca723 [file] [log] [blame]
// Copyright 2019 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <gtest/gtest.h>
#include "src/lib/fxl/logging.h"
#include "src/lib/fxl/test/test_settings.h"
#include "src/lib/icu_data/cpp/icu_data.h"
int main(int argc, char **argv) {
if (!fxl::SetTestSettings(argc, argv)) {
if (icu_data::Initialize() != ZX_OK) {
FX_LOGS(ERROR) << "Unable to set common ICU data. "
<< "Timezone data unavailable.";
return 1;
testing::InitGoogleTest(&argc, argv);
return RUN_ALL_TESTS();