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 {
102102 }
103103
104104 @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
107107 assertOutput (
108108 output,
109109 expected:
@@ -117,8 +117,8 @@ final class FunctionDescriptorTests {
117117 }
118118 }
119119 @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
122122 assertOutput (
123123 output,
124124 expected:
@@ -195,4 +195,4 @@ extension FunctionDescriptorTests {
195195 try body ( getOutput)
196196 }
197197
198- }
198+ }
Original file line number Diff line number Diff line change @@ -34,14 +34,14 @@ final class VariableImportTests {
3434 """
3535
3636 @Test ( " Import: var counter: Int " )
37- func variable_( ) async throws {
37+ func variable_( ) throws {
3838 let st = Swift2JavaTranslator (
3939 javaPackage: " com.example.swift " ,
4040 swiftModuleName: " __FakeModule "
4141 )
4242 st. log. logLevel = . error
4343
44- try await st. analyze ( swiftInterfacePath: " /fake/Fake.swiftinterface " , text: class_interfaceFile)
44+ try st. analyze ( swiftInterfacePath: " /fake/Fake.swiftinterface " , text: class_interfaceFile)
4545
4646 let identifier = " counterInt "
4747 let varDecl : ImportedVariable ? =
@@ -168,4 +168,4 @@ final class VariableImportTests {
168168 """
169169 )
170170 }
171- }
171+ }
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ var jvm: JavaVirtualMachine {
2424}
2525
2626class BasicRuntimeTests : XCTestCase {
27- func testJavaObjectManagement( ) async throws {
27+ func testJavaObjectManagement( ) throws {
2828 if isLinux {
2929 throw XCTSkip ( " Attempts to refcount a null pointer on Linux " )
3030 }
@@ -54,7 +54,7 @@ class BasicRuntimeTests: XCTestCase {
5454 XCTAssert ( url. javaHolder === urlAgain. javaHolder)
5555 }
5656
57- func testJavaExceptionsInSwift( ) async throws {
57+ func testJavaExceptionsInSwift( ) throws {
5858 if isLinux {
5959 throw XCTSkip ( " Attempts to refcount a null pointer on Linux " )
6060 }
@@ -68,7 +68,7 @@ class BasicRuntimeTests: XCTestCase {
6868 }
6969 }
7070
71- func testStaticMethods( ) async throws {
71+ func testStaticMethods( ) throws {
7272 if isLinux {
7373 throw XCTSkip ( " Attempts to refcount a null pointer on Linux " )
7474 }
@@ -79,7 +79,7 @@ class BasicRuntimeTests: XCTestCase {
7979 XCTAssert ( urlConnectionClass. getDefaultAllowUserInteraction ( ) == false )
8080 }
8181
82- func testClassInstanceLookup( ) async throws {
82+ func testClassInstanceLookup( ) throws {
8383 let environment = try jvm. environment ( )
8484
8585 do {
You can’t perform that action at this time.
0 commit comments