@@ -62,12 +62,13 @@ final class MethodImportTests {
62
62
}
63
63
"""
64
64
65
- @Test func method_helloWorld( ) async throws {
65
+ @Test
66
+ func method_helloWorld( ) async throws {
66
67
let st = Swift2JavaTranslator (
67
68
javaPackage: " com.example.swift " ,
68
69
swiftModuleName: " __FakeModule "
69
70
)
70
- st. log. logLevel = . info
71
+ st. log. logLevel = . error
71
72
72
73
try await st. analyze ( swiftInterfacePath: " /fake/Fake.swiftinterface " , text: class_interfaceFile)
73
74
@@ -101,12 +102,13 @@ final class MethodImportTests {
101
102
)
102
103
}
103
104
104
- @Test func method_globalTakeInt( ) async throws {
105
+ @Test
106
+ func method_globalTakeInt( ) async throws {
105
107
let st = Swift2JavaTranslator (
106
108
javaPackage: " com.example.swift " ,
107
109
swiftModuleName: " __FakeModule "
108
110
)
109
- st. log. logLevel = . info
111
+ st. log. logLevel = . error
110
112
111
113
try await st. analyze ( swiftInterfacePath: " /fake/__FakeModule/SwiftFile.swiftinterface " , text: class_interfaceFile)
112
114
@@ -142,12 +144,13 @@ final class MethodImportTests {
142
144
)
143
145
}
144
146
145
- @Test func method_globalTakeIntLongString( ) async throws {
147
+ @Test
148
+ func method_globalTakeIntLongString( ) async throws {
146
149
let st = Swift2JavaTranslator (
147
150
javaPackage: " com.example.swift " ,
148
151
swiftModuleName: " __FakeModule "
149
152
)
150
- st. log. logLevel = . info
153
+ st. log. logLevel = . error
151
154
152
155
try await st. analyze ( swiftInterfacePath: " /fake/__FakeModule/SwiftFile.swiftinterface " , text: class_interfaceFile)
153
156
@@ -183,12 +186,13 @@ final class MethodImportTests {
183
186
)
184
187
}
185
188
186
- @Test func method_class_helloMemberFunction_self_memorySegment( ) async throws {
189
+ @Test
190
+ func method_class_helloMemberFunction_self_memorySegment( ) async throws {
187
191
let st = Swift2JavaTranslator (
188
192
javaPackage: " com.example.swift " ,
189
193
swiftModuleName: " __FakeModule "
190
194
)
191
- st. log. logLevel = . info
195
+ st. log. logLevel = . error
192
196
193
197
try await st. analyze ( swiftInterfacePath: " /fake/__FakeModule/SwiftFile.swiftinterface " , text: class_interfaceFile)
194
198
@@ -224,12 +228,13 @@ final class MethodImportTests {
224
228
)
225
229
}
226
230
227
- @Test func method_class_helloMemberFunction_self_wrapper( ) async throws {
231
+ @Test
232
+ func method_class_helloMemberFunction_self_wrapper( ) async throws {
228
233
let st = Swift2JavaTranslator (
229
234
javaPackage: " com.example.swift " ,
230
235
swiftModuleName: " __FakeModule "
231
236
)
232
- st. log. logLevel = . info
237
+ st. log. logLevel = . error
233
238
234
239
try await st. analyze ( swiftInterfacePath: " /fake/__FakeModule/SwiftFile.swiftinterface " , text: class_interfaceFile)
235
240
@@ -265,6 +270,7 @@ final class MethodImportTests {
265
270
)
266
271
}
267
272
273
+ @Test
268
274
func test_method_class_helloMemberFunction_self_wrapper( ) async throws {
269
275
let st = Swift2JavaTranslator (
270
276
javaPackage: " com.example.swift " ,
@@ -306,7 +312,8 @@ final class MethodImportTests {
306
312
)
307
313
}
308
314
309
- @Test func method_class_helloMemberFunction_wrapper( ) async throws {
315
+ @Test
316
+ func method_class_helloMemberFunction_wrapper( ) async throws {
310
317
let st = Swift2JavaTranslator (
311
318
javaPackage: " com.example.swift " ,
312
319
swiftModuleName: " __FakeModule "
@@ -339,7 +346,8 @@ final class MethodImportTests {
339
346
)
340
347
}
341
348
342
- @Test func method_class_makeInt_wrapper( ) async throws {
349
+ @Test
350
+ func method_class_makeInt_wrapper( ) async throws {
343
351
let st = Swift2JavaTranslator (
344
352
javaPackage: " com.example.swift " ,
345
353
swiftModuleName: " __FakeModule "
@@ -372,7 +380,8 @@ final class MethodImportTests {
372
380
)
373
381
}
374
382
375
- @Test func class_constructor( ) async throws {
383
+ @Test
384
+ func class_constructor( ) async throws {
376
385
let st = Swift2JavaTranslator (
377
386
javaPackage: " com.example.swift " ,
378
387
swiftModuleName: " __FakeModule "
0 commit comments