Advance UIKit rewrite with AMap integration and core UI modules.
Integrate高德 SDK with simulator-safe build flags, add map views for operating area and punch points, refactor main tabs and key feature screens to UIKit with Diffable lists, and document Swift concurrency defaults in AGENTS.md. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@ -9,6 +9,7 @@ import XCTest
|
||||
@testable import suixinkan_ios
|
||||
|
||||
/// 主导航路由测试,覆盖 AppRoute 的跨页面导航策略。
|
||||
@MainActor
|
||||
final class NavigationRouterTests: XCTestCase {
|
||||
/// 测试通过 NavigationStack push 的子页面默认隐藏底部 TabBar。
|
||||
func testPushedRoutesHideTabBarByDefault() {
|
||||
|
||||
@ -212,6 +212,7 @@ private enum PilotTestError: LocalizedError {
|
||||
var errorDescription: String? { "测试错误" }
|
||||
}
|
||||
|
||||
@MainActor
|
||||
private func fillValidForm(_ viewModel: PilotCertificationViewModel) {
|
||||
viewModel.name = "航拍摄影师"
|
||||
viewModel.certType = .caac
|
||||
|
||||
@ -10,6 +10,7 @@ import XCTest
|
||||
@testable import suixinkan_ios
|
||||
|
||||
/// 推送链路测试,覆盖 APNs token、payload 解析、token 上报和通知路由。
|
||||
@MainActor
|
||||
final class PushNotificationTests: XCTestCase {
|
||||
func testAPNsDeviceTokenUsesLowercaseHexString() {
|
||||
let token = APNsDeviceToken.hexString(from: Data([0x00, 0x0f, 0x10, 0xab, 0xff]))
|
||||
|
||||
Reference in New Issue
Block a user