forked from flutter/engine
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[fuchsia] Migrate unittests to CFv2 (flutter#32878)
- Loading branch information
Showing
18 changed files
with
132 additions
and
337 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
shell/platform/fuchsia/dart-pkg/zircon/test/meta/channel_test.cml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
program: { | ||
data: "data/channel_test", | ||
}, | ||
} |
10 changes: 0 additions & 10 deletions
10
shell/platform/fuchsia/dart-pkg/zircon/test/meta/channel_test.cmx
This file was deleted.
Oops, something went wrong.
15 changes: 0 additions & 15 deletions
15
shell/platform/fuchsia/dart_runner/meta/dart_zircon_test.cmx
This file was deleted.
Oops, something went wrong.
20 changes: 0 additions & 20 deletions
20
shell/platform/fuchsia/dart_runner/vmservice/meta/vmservice.cmx
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
34 changes: 0 additions & 34 deletions
34
shell/platform/fuchsia/flutter/meta/flutter_runner_tests.cmx
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
shell/platform/fuchsia/flutter/runner_tzdata_missing_unittest.cc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
// 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.