File tree Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,6 @@ func assertOutput(
3838 column: Int = #column
3939) throws {
4040 var config = config ?? Configuration ( )
41- config. logLevel = . trace
4241 config. swiftModule = swiftModuleName
4342 let translator = Swift2JavaTranslator ( config: config)
4443 translator. dependenciesClasses = Array ( javaClassLookupTable. keys)
Original file line number Diff line number Diff line change @@ -43,6 +43,10 @@ struct JNIModuleTests {
4343
4444 package com.example.swift;
4545
46+ import org.swift.swiftkit.core.*;
47+ import org.swift.swiftkit.core.util.*;
48+ import org.swift.swiftkit.core.annotations.*;
49+
4650 public final class SwiftModule {
4751 static final String LIB_NAME = " SwiftModule " ;
4852
Original file line number Diff line number Diff line change @@ -111,8 +111,6 @@ final class JNIUnsignedNumberTests {
111111 expectedChunks: [
112112 // we do not import in wrap mode
113113 """
114- package com.example.swift;
115-
116114 public final class SwiftModule {
117115 static final String LIB_NAME = " SwiftModule " ;
118116
@@ -147,7 +145,7 @@ final class JNIUnsignedNumberTests {
147145 @Unsigned
148146 public static int unsignedLong(@Unsigned long first, @Unsigned int second) {
149147 return SwiftModule.$unsignedLong(first, second);
150- } // printJavaBindingWrapperMethod(_:_:) @ JExtractSwiftLib/JNISwift2JavaGenerator+JavaBindingsPrinting.swift:265
148+ }
151149 private static native int $unsignedLong(long first, int second);
152150 """ ,
153151 ]
You can’t perform that action at this time.
0 commit comments