[K/JS] Fix autoboxing for inlined function ^KT-60785 Fixed

This commit is contained in:
Artem Kobzar
2023-08-11 09:19:51 +00:00
committed by Space Team
parent 7ae443ad7f
commit 4dc0d68288
7 changed files with 77 additions and 6 deletions
@@ -872,6 +872,12 @@ public class FirJsBoxTestGenerated extends AbstractFirJsBoxTest {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("js/js.translator/testData/box/coroutines"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.JS_IR, true);
}
@Test
@TestMetadata("boxingUnboxingInsideTheSuspendFunction.kt")
public void testBoxingUnboxingInsideTheSuspendFunction() throws Exception {
runTest("js/js.translator/testData/box/coroutines/boxingUnboxingInsideTheSuspendFunction.kt");
}
@Test
@TestMetadata("debugStatement.kt")
public void testDebugStatement() throws Exception {
@@ -872,6 +872,12 @@ public class FirJsES6BoxTestGenerated extends AbstractFirJsES6BoxTest {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("js/js.translator/testData/box/coroutines"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.JS_IR_ES6, true);
}
@Test
@TestMetadata("boxingUnboxingInsideTheSuspendFunction.kt")
public void testBoxingUnboxingInsideTheSuspendFunction() throws Exception {
runTest("js/js.translator/testData/box/coroutines/boxingUnboxingInsideTheSuspendFunction.kt");
}
@Test
@TestMetadata("debugStatement.kt")
public void testDebugStatement() throws Exception {
@@ -872,6 +872,12 @@ public class IrBoxJsES6TestGenerated extends AbstractIrBoxJsES6Test {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("js/js.translator/testData/box/coroutines"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.JS_IR_ES6, true);
}
@Test
@TestMetadata("boxingUnboxingInsideTheSuspendFunction.kt")
public void testBoxingUnboxingInsideTheSuspendFunction() throws Exception {
runTest("js/js.translator/testData/box/coroutines/boxingUnboxingInsideTheSuspendFunction.kt");
}
@Test
@TestMetadata("debugStatement.kt")
public void testDebugStatement() throws Exception {
@@ -872,6 +872,12 @@ public class IrBoxJsTestGenerated extends AbstractIrBoxJsTest {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("js/js.translator/testData/box/coroutines"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.JS_IR, true);
}
@Test
@TestMetadata("boxingUnboxingInsideTheSuspendFunction.kt")
public void testBoxingUnboxingInsideTheSuspendFunction() throws Exception {
runTest("js/js.translator/testData/box/coroutines/boxingUnboxingInsideTheSuspendFunction.kt");
}
@Test
@TestMetadata("debugStatement.kt")
public void testDebugStatement() throws Exception {