feat: Add build info and localization for entry app

- Introduced buildinfo.json5 to enable impeller feature.
- Added Chinese localization strings in string.json for module description and entry ability.
- Created Ability.test.ets for unit testing of ability functionalities.
- Implemented List.test.ets to run the ability tests.
- Developed TestAbility.ets to manage test execution and lifecycle events.
- Created Index.ets as a testability page with UI components.
- Added OpenHarmonyTestRunner.ts for managing test execution in OpenHarmony.
- Defined module.json5 for entry_test module configuration.
- Established color.json and string.json for base resources.
- Included icon.png for the test module.
- Created test_pages.json to define testability page sources.
- Configured hvigor and oh-package.json5 for project setup.
- Updated pubspec.yaml and related files to downgrade Dart SDK to 3.11.0 and adjust dependencies.
- Added PowerShell script to enable OpenHarmony Flutter toolchain.
- Updated multiple package pubspec.yaml files to align with Dart SDK version 3.11.0 and adjust dependencies accordingly.
This commit is contained in:
Guangfei.Zhao
2026-09-02 23:23:43 +08:00
parent 681688dfae
commit f2dabe6b91
53 changed files with 655 additions and 69 deletions
+5 -4
View File
@@ -9,7 +9,7 @@ resolution: workspace
# "需要" 登录信息,但它拿的是 core_auth 的会话状态,不是 feature_auth 的页面
# - 这里不直接出现 go_router(路由类型由 core_router re-export,见 04)
environment:
sdk: ^3.12.0
sdk: ^3.11.0
dependencies:
core_analytics: ^0.1.0
@@ -20,8 +20,9 @@ dependencies:
core_ui: ^0.1.0
flutter:
sdk: flutter
flutter_riverpod: ^3.3.2
riverpod_annotation: ^4.0.3
flutter_riverpod: 3.2.1
# 与 riverpod_generator 4.0.3 配套,兼容 Harmony Flutter 固定的 meta 1.17.0。
riverpod_annotation: 4.0.2
dev_dependencies:
build_runner: ^2.4.13
@@ -29,4 +30,4 @@ dev_dependencies:
flutter_test:
sdk: flutter
mocktail: ^1.0.5
riverpod_generator: ^4.0.4
riverpod_generator: 4.0.3