[WasmJs] Add support for external class reflection
Fix #KT-64890
This commit is contained in:
Generated
+12
@@ -24,6 +24,12 @@ public class FirWasmJsCodegenInteropTestGenerated extends AbstractFirWasmJsCodeg
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxWasmJsInterop"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.WASM, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("associatedExternalObject.kt")
|
||||
public void testAssociatedExternalObject() {
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/associatedExternalObject.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("callingWasmDirectly.kt")
|
||||
public void testCallingWasmDirectly() {
|
||||
@@ -162,6 +168,12 @@ public class FirWasmJsCodegenInteropTestGenerated extends AbstractFirWasmJsCodeg
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/nullableExternRefs.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("reflectionOnExternals.kt")
|
||||
public void testReflectionOnExternals() {
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/reflectionOnExternals.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("types.kt")
|
||||
public void testTypes() {
|
||||
|
||||
+12
@@ -24,6 +24,12 @@ public class K1WasmCodegenWasmJsInteropTestGenerated extends AbstractK1WasmCodeg
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxWasmJsInterop"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.WASM, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("associatedExternalObject.kt")
|
||||
public void testAssociatedExternalObject() {
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/associatedExternalObject.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("callingWasmDirectly.kt")
|
||||
public void testCallingWasmDirectly() {
|
||||
@@ -162,6 +168,12 @@ public class K1WasmCodegenWasmJsInteropTestGenerated extends AbstractK1WasmCodeg
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/nullableExternRefs.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("reflectionOnExternals.kt")
|
||||
public void testReflectionOnExternals() {
|
||||
runTest("compiler/testData/codegen/boxWasmJsInterop/reflectionOnExternals.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("types.kt")
|
||||
public void testTypes() {
|
||||
|
||||
Reference in New Issue
Block a user