Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
runner_tzdata_missing_unittest.cc
Go to the documentation of this file.
1// Copyright 2013 The Flutter Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#include <gtest/gtest.h>
6
7#include "runner.h"
8#include "third_party/icu/source/i18n/unicode/timezone.h"
9
10namespace flutter_runner {
11
12// This test has not been configured with tzdata files. This test shows that
13// even without the data files, the runner continues initialization. It will
14// use whatever the base data exists in icudtl.dat.
15TEST(RunnerTZDataTest, LoadsWithoutTZDataPresent) {
16 bool success = Runner::SetupICUInternal();
17 ASSERT_TRUE(success) << "failed to load set up ICU data";
18}
19
20} // namespace flutter_runner
#define TEST(S, s, D, expected)