[JS] Keep interfaces

^KT-54173 fixed
This commit is contained in:
Ilya Goncharov
2022-09-29 16:12:19 +00:00
committed by Space Team
parent 41c9ffb060
commit 7d8636aac4
6 changed files with 87 additions and 2 deletions
@@ -7290,6 +7290,12 @@ public class FirJsTestGenerated extends AbstractFirJsTest {
runTest("js/js.translator/testData/box/keep/keepClass.kt");
}
@Test
@TestMetadata("keepInterface.kt")
public void testKeepInterface() throws Exception {
runTest("js/js.translator/testData/box/keep/keepInterface.kt");
}
@Test
@TestMetadata("keepMethod.kt")
public void testKeepMethod() throws Exception {
@@ -7313,6 +7319,12 @@ public class FirJsTestGenerated extends AbstractFirJsTest {
public void testKeepOverriddenMethod() throws Exception {
runTest("js/js.translator/testData/box/keep/keepOverriddenMethod.kt");
}
@Test
@TestMetadata("keepVarAnonymousClass.kt")
public void testKeepVarAnonymousClass() throws Exception {
runTest("js/js.translator/testData/box/keep/keepVarAnonymousClass.kt");
}
}
@Nested
@@ -7290,6 +7290,12 @@ public class IrBoxJsTestGenerated extends AbstractIrBoxJsTest {
runTest("js/js.translator/testData/box/keep/keepClass.kt");
}
@Test
@TestMetadata("keepInterface.kt")
public void testKeepInterface() throws Exception {
runTest("js/js.translator/testData/box/keep/keepInterface.kt");
}
@Test
@TestMetadata("keepMethod.kt")
public void testKeepMethod() throws Exception {
@@ -7313,6 +7319,12 @@ public class IrBoxJsTestGenerated extends AbstractIrBoxJsTest {
public void testKeepOverriddenMethod() throws Exception {
runTest("js/js.translator/testData/box/keep/keepOverriddenMethod.kt");
}
@Test
@TestMetadata("keepVarAnonymousClass.kt")
public void testKeepVarAnonymousClass() throws Exception {
runTest("js/js.translator/testData/box/keep/keepVarAnonymousClass.kt");
}
}
@Nested