[Wasm] WasmExport implementation

This commit is contained in:
Igor Yakovlev
2023-07-05 12:55:10 +02:00
committed by Space Team
parent 58639951f6
commit b5eafb9eb7
15 changed files with 149 additions and 10 deletions
@@ -151,6 +151,12 @@ public class FirWasmCodegenWasmJsInteropTestGenerated extends AbstractFirWasmCod
runTest("compiler/testData/codegen/boxWasmJsInterop/vararg.kt");
}
@Test
@TestMetadata("wasmExport.kt")
public void testWasmExport() throws Exception {
runTest("compiler/testData/codegen/boxWasmJsInterop/wasmExport.kt");
}
@Test
@TestMetadata("wasmImport.kt")
public void testWasmImport() throws Exception {
@@ -151,6 +151,12 @@ public class K1WasmCodegenWasmJsInteropTestGenerated extends AbstractK1WasmCodeg
runTest("compiler/testData/codegen/boxWasmJsInterop/vararg.kt");
}
@Test
@TestMetadata("wasmExport.kt")
public void testWasmExport() throws Exception {
runTest("compiler/testData/codegen/boxWasmJsInterop/wasmExport.kt");
}
@Test
@TestMetadata("wasmImport.kt")
public void testWasmImport() throws Exception {
@@ -85,6 +85,12 @@ public class DiagnosticsWasmTestGenerated extends AbstractDiagnosticsWasmTest {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/wasmTests/wasmInterop"), Pattern.compile("^(.+)\\.kt$"), null, true);
}
@Test
@TestMetadata("wasmExport.kt")
public void testWasmExport() throws Exception {
runTest("compiler/testData/diagnostics/wasmTests/wasmInterop/wasmExport.kt");
}
@Test
@TestMetadata("wasmImport.kt")
public void testWasmImport() throws Exception {