Add Android imports for some new tests in #3308 that require it (#3334)

My Android CI [just broke because it couldn't find these newly used C
symbols in the NIO
tests](https://github.com/finagolfin/swift-android-sdk/actions/runs/16768316992/job/47477878652#step:19:242),
this patch [fixed it
again](https://github.com/finagolfin/swift-android-sdk/actions/runs/16787226279/job/47540691932).
Unsure why this only affects Android, likely the module leaks postulated
before.
This commit is contained in:
finagolfin authored and GitHub committed 2025-08-07 10:40:51 +01:00
1 parent 1c30f0f205
commit 4151adfff5
2 files changed
+8

No files matched your search

@@ -18,6 +18,10 @@ import XCTest
@testable import NIOEmbedded
#if canImport(Android)
import Android
#endif
@available(macOS 10.15, iOS 13, tvOS 13, watchOS 6, *)
class AsyncTestingChannelTests: XCTestCase {
func testSingleHandlerInit() async throws {
@@ -19,6 +19,10 @@ import XCTest
@testable import NIOEmbedded
#if canImport(Android)
import Android
#endif
final class ChannelLifecycleHandler: ChannelInboundHandler, Sendable {
public typealias InboundIn = Any