File tree Expand file tree Collapse file tree 1 file changed +23
-0
lines changed
Tests/SkipAndroidSDKBridgeTests Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Original file line number Diff line number Diff line change 1+ // Copyright 2024 Skip
2+ //
3+ // This is free software: you can redistribute and/or modify it
4+ // under the terms of the GNU Lesser General Public License 3.0
5+ // as published by the Free Software Foundation https://fsf.org
6+
7+ import XCTest
8+ import OSLog
9+ import Foundation
10+ @testable import SkipAndroidSDKBridge
11+
12+ let logger : Logger = Logger ( subsystem: " SkipAndroidBridge " , category: " Tests " )
13+
14+ @available ( macOS 13 , * )
15+ final class AndroidSDKBridgeTests : XCTestCase {
16+ func testAndroidSDKBridge( ) throws {
17+ if !isJava {
18+ XCTAssertNil ( AndroidContext . shared, " AndroidContext.shared should be nil from unbridged Swift " )
19+ } else {
20+ XCTAssertNotNil ( AndroidContext . shared, " AndroidContext.shared should be non-nil in Kotlin " )
21+ }
22+ }
23+ }
You can’t perform that action at this time.
0 commit comments