File tree Expand file tree Collapse file tree 3 files changed +12
-12
lines changed Expand file tree Collapse file tree 3 files changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -102,8 +102,8 @@ final class FunctionDescriptorTests {
102
102
}
103
103
104
104
@Test
105
- func FunctionDescriptor_class_counter_get( ) async throws {
106
- try await variableAccessorDescriptorTest ( " counter " , . get) { output in
105
+ func FunctionDescriptor_class_counter_get( ) throws {
106
+ try variableAccessorDescriptorTest ( " counter " , . get) { output in
107
107
assertOutput (
108
108
output,
109
109
expected:
@@ -117,8 +117,8 @@ final class FunctionDescriptorTests {
117
117
}
118
118
}
119
119
@Test
120
- func FunctionDescriptor_class_counter_set( ) async throws {
121
- try await variableAccessorDescriptorTest ( " counter " , . set) { output in
120
+ func FunctionDescriptor_class_counter_set( ) throws {
121
+ try variableAccessorDescriptorTest ( " counter " , . set) { output in
122
122
assertOutput (
123
123
output,
124
124
expected:
@@ -195,4 +195,4 @@ extension FunctionDescriptorTests {
195
195
try body ( getOutput)
196
196
}
197
197
198
- }
198
+ }
Original file line number Diff line number Diff line change @@ -34,14 +34,14 @@ final class VariableImportTests {
34
34
"""
35
35
36
36
@Test ( " Import: var counter: Int " )
37
- func variable_( ) async throws {
37
+ func variable_( ) throws {
38
38
let st = Swift2JavaTranslator (
39
39
javaPackage: " com.example.swift " ,
40
40
swiftModuleName: " __FakeModule "
41
41
)
42
42
st. log. logLevel = . error
43
43
44
- try await st. analyze ( swiftInterfacePath: " /fake/Fake.swiftinterface " , text: class_interfaceFile)
44
+ try st. analyze ( swiftInterfacePath: " /fake/Fake.swiftinterface " , text: class_interfaceFile)
45
45
46
46
let identifier = " counterInt "
47
47
let varDecl : ImportedVariable ? =
@@ -168,4 +168,4 @@ final class VariableImportTests {
168
168
"""
169
169
)
170
170
}
171
- }
171
+ }
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ var jvm: JavaVirtualMachine {
24
24
}
25
25
26
26
class BasicRuntimeTests : XCTestCase {
27
- func testJavaObjectManagement( ) async throws {
27
+ func testJavaObjectManagement( ) throws {
28
28
if isLinux {
29
29
throw XCTSkip ( " Attempts to refcount a null pointer on Linux " )
30
30
}
@@ -54,7 +54,7 @@ class BasicRuntimeTests: XCTestCase {
54
54
XCTAssert ( url. javaHolder === urlAgain. javaHolder)
55
55
}
56
56
57
- func testJavaExceptionsInSwift( ) async throws {
57
+ func testJavaExceptionsInSwift( ) throws {
58
58
if isLinux {
59
59
throw XCTSkip ( " Attempts to refcount a null pointer on Linux " )
60
60
}
@@ -68,7 +68,7 @@ class BasicRuntimeTests: XCTestCase {
68
68
}
69
69
}
70
70
71
- func testStaticMethods( ) async throws {
71
+ func testStaticMethods( ) throws {
72
72
if isLinux {
73
73
throw XCTSkip ( " Attempts to refcount a null pointer on Linux " )
74
74
}
@@ -79,7 +79,7 @@ class BasicRuntimeTests: XCTestCase {
79
79
XCTAssert ( urlConnectionClass. getDefaultAllowUserInteraction ( ) == false )
80
80
}
81
81
82
- func testClassInstanceLookup( ) async throws {
82
+ func testClassInstanceLookup( ) throws {
83
83
let environment = try jvm. environment ( )
84
84
85
85
do {
You can’t perform that action at this time.
0 commit comments