Flutter Engine
The Flutter Engine
shell
platform
fuchsia
flutter
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
10
namespace
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.
15
TEST
(RunnerTZDataTest, LoadsWithoutTZDataPresent) {
16
bool
success = Runner::SetupICUInternal();
17
ASSERT_TRUE(success) <<
"failed to load set up ICU data"
;
18
}
19
20
}
// namespace flutter_runner
flutter_runner
Definition:
accessibility_bridge.cc:20
flutter_runner::TEST
TEST(RunnerTZDataTest, LoadsWithoutTZDataPresent)
Definition:
runner_tzdata_missing_unittest.cc:15
runner.h
Generated on Sun Jun 23 2024 21:55:15 for Flutter Engine by
1.9.4