Flutter Engine
The Flutter Engine
tools
fuchsia
build_fuchsia_artifacts_test.py
Go to the documentation of this file.
1
#!/usr/bin/env vpython3
2
3
import
unittest
4
5
import
build_fuchsia_artifacts
6
7
8
class
BuildFuchsiaArtifactsTest
(unittest.TestCase):
9
10
def
test_read_fuchsia_target_api_level
(self):
11
# It's expected to update this test each time the fuchsia_target_api_level
12
# in //flutter/build/config/fuchsia/gn_configs.gni is changed, so we don't
13
# accidentally publish the artifacts with an incorrect api level suffix.
14
self.assertEqual(
build_fuchsia_artifacts.ReadTargetAPILevel
(),
'18'
)
15
16
17
if
__name__ ==
'__main__'
:
18
unittest.main()
build_fuchsia_artifacts_test.BuildFuchsiaArtifactsTest
Definition:
build_fuchsia_artifacts_test.py:8
build_fuchsia_artifacts_test.BuildFuchsiaArtifactsTest.test_read_fuchsia_target_api_level
def test_read_fuchsia_target_api_level(self)
Definition:
build_fuchsia_artifacts_test.py:10
build_fuchsia_artifacts.ReadTargetAPILevel
def ReadTargetAPILevel()
Definition:
build_fuchsia_artifacts.py:180
Generated on Sun Jun 23 2024 21:56:53 for Flutter Engine by
1.9.4