blob: c90239c9170af1e197f7969ae780f33a47a93911 [file] [log] [blame]
// Copyright 2013 The Flutter 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 "runner.h"
#include "third_party/icu/source/i18n/unicode/timezone.h"
namespace flutter_runner {
// This test has not been configured with tzdata files. This test shows that
// even without the data files, the runner continues initialization. It will
// use whatever the base data exists in icudtl.dat.
TEST(RunnerTZDataTest, LoadsWithoutTZDataPresent) {
bool success = Runner::SetupICUInternal();
ASSERT_TRUE(success) << "failed to load set up ICU data";
}
} // namespace flutter_runner