T-iOS-1: ios/ XcodeGen project (iOS 17, Swift 6 strict concurrency, ATS per PLAN §5.2), 5 SPM package shells, CI skeleton T-iOS-2: Origin spike vs real server — URLSessionWebSocketTask custom Origin CONFIRMED (no Starscream); 16MiB replay + EMSGSIZE(40) errno correction written back to plan T-iOS-3: WireProtocol frozen contract, 59 tests, 100% line coverage, cross-impl vectors vs src/protocol.ts via tsx T-iOS-4: FakeTransport/FakeClock/FakeHTTPTransport doubles Verify: independent agent re-ran all acceptance — 6/6 PASS
14 lines
435 B
Swift
14 lines
435 B
Swift
import Testing
|
|
import WireProtocol
|
|
|
|
/// T-iOS-1 scaffold placeholder — real integration tests against a live Node
|
|
/// server land in T-iOS-2 (OriginSpikeTests) and T-iOS-16 (CI harness).
|
|
@Test("脚手架:IntegrationTests 包可编译并能 import WireProtocol")
|
|
func integrationTestsScaffoldCompiles() {
|
|
// Arrange / Act
|
|
let contract = WireProtocolPackage.packageName
|
|
|
|
// Assert
|
|
#expect(contract == "WireProtocol")
|
|
}
|