[K/JS] Support KClass<*>.createInstance reflection method ^KT-58684 Fixed
This commit is contained in:
+12
@@ -9914,6 +9914,18 @@ public class FirJsBoxTestGenerated extends AbstractFirJsBoxTest {
|
||||
runTest("js/js.translator/testData/box/reflection/classJsName.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("createInstance.kt")
|
||||
public void testCreateInstance() throws Exception {
|
||||
runTest("js/js.translator/testData/box/reflection/createInstance.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("createInstanceByInstance.kt")
|
||||
public void testCreateInstanceByInstance() throws Exception {
|
||||
runTest("js/js.translator/testData/box/reflection/createInstanceByInstance.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("external.kt")
|
||||
public void testExternal() throws Exception {
|
||||
|
||||
+12
@@ -10020,6 +10020,18 @@ public class IrBoxJsES6TestGenerated extends AbstractIrBoxJsES6Test {
|
||||
runTest("js/js.translator/testData/box/reflection/classJsName.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("createInstance.kt")
|
||||
public void testCreateInstance() throws Exception {
|
||||
runTest("js/js.translator/testData/box/reflection/createInstance.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("createInstanceByInstance.kt")
|
||||
public void testCreateInstanceByInstance() throws Exception {
|
||||
runTest("js/js.translator/testData/box/reflection/createInstanceByInstance.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("external.kt")
|
||||
public void testExternal() throws Exception {
|
||||
|
||||
+12
@@ -9914,6 +9914,18 @@ public class IrBoxJsTestGenerated extends AbstractIrBoxJsTest {
|
||||
runTest("js/js.translator/testData/box/reflection/classJsName.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("createInstance.kt")
|
||||
public void testCreateInstance() throws Exception {
|
||||
runTest("js/js.translator/testData/box/reflection/createInstance.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("createInstanceByInstance.kt")
|
||||
public void testCreateInstanceByInstance() throws Exception {
|
||||
runTest("js/js.translator/testData/box/reflection/createInstanceByInstance.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("external.kt")
|
||||
public void testExternal() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user