File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ let jvm = try! JavaVirtualMachine(vmOptions: [])
22
22
23
23
@MainActor
24
24
class BasicRuntimeTests : XCTestCase {
25
- func testJavaObjectManagement( ) throws {
25
+ func testJavaObjectManagement( ) async throws {
26
26
if isLinux {
27
27
throw XCTSkip ( " Attempts to refcount a null pointer on Linux " )
28
28
}
@@ -51,7 +51,7 @@ class BasicRuntimeTests: XCTestCase {
51
51
XCTAssert ( url. javaHolder === urlAgain. javaHolder)
52
52
}
53
53
54
- func testJavaExceptionsInSwift( ) throws {
54
+ func testJavaExceptionsInSwift( ) async throws {
55
55
if isLinux {
56
56
throw XCTSkip ( " Attempts to refcount a null pointer on Linux " )
57
57
}
@@ -63,7 +63,7 @@ class BasicRuntimeTests: XCTestCase {
63
63
}
64
64
}
65
65
66
- func testStaticMethods( ) throws {
66
+ func testStaticMethods( ) async throws {
67
67
if isLinux {
68
68
throw XCTSkip ( " Attempts to refcount a null pointer on Linux " )
69
69
}
@@ -72,7 +72,7 @@ class BasicRuntimeTests: XCTestCase {
72
72
XCTAssert ( urlConnectionClass. getDefaultAllowUserInteraction ( ) == false )
73
73
}
74
74
75
- func testClassInstanceLookup( ) throws {
75
+ func testClassInstanceLookup( ) async throws {
76
76
do {
77
77
_ = try JavaClass < Nonexistent > ( in: jvm. environment)
78
78
} catch {
You can’t perform that action at this time.
0 commit comments