[JS IR] Add tests with reified generic and with KType on DCE to leave class

This commit is contained in:
Ilya Goncharov
2021-05-11 14:08:46 +03:00
committed by TeamCityServer
parent f0b3ee0e35
commit 507516e44d
5 changed files with 117 additions and 0 deletions
@@ -7116,6 +7116,11 @@ public class IrBoxJsES6TestGenerated extends AbstractIrBoxJsES6Test {
runTest("js/js.translator/testData/box/reflection/kClassOnReifiedTypeInLambda-advanced.kt");
}
@TestMetadata("kClassReifiedWithJsCall.kt")
public void testKClassReifiedWithJsCall() throws Exception {
runTest("js/js.translator/testData/box/reflection/kClassReifiedWithJsCall.kt");
}
@TestMetadata("kClassSimpleName.kt")
public void testKClassSimpleName() throws Exception {
runTest("js/js.translator/testData/box/reflection/kClassSimpleName.kt");
@@ -7131,6 +7136,11 @@ public class IrBoxJsES6TestGenerated extends AbstractIrBoxJsES6Test {
runTest("js/js.translator/testData/box/reflection/kClassWithJsCall.kt");
}
@TestMetadata("kTypeWithJsCall.kt")
public void testKTypeWithJsCall() throws Exception {
runTest("js/js.translator/testData/box/reflection/kTypeWithJsCall.kt");
}
@TestMetadata("primitiveKClassOnReifiedType.kt")
public void testPrimitiveKClassOnReifiedType() throws Exception {
runTest("js/js.translator/testData/box/reflection/primitiveKClassOnReifiedType.kt");
@@ -7116,6 +7116,11 @@ public class IrBoxJsTestGenerated extends AbstractIrBoxJsTest {
runTest("js/js.translator/testData/box/reflection/kClassOnReifiedTypeInLambda-advanced.kt");
}
@TestMetadata("kClassReifiedWithJsCall.kt")
public void testKClassReifiedWithJsCall() throws Exception {
runTest("js/js.translator/testData/box/reflection/kClassReifiedWithJsCall.kt");
}
@TestMetadata("kClassSimpleName.kt")
public void testKClassSimpleName() throws Exception {
runTest("js/js.translator/testData/box/reflection/kClassSimpleName.kt");
@@ -7131,6 +7136,11 @@ public class IrBoxJsTestGenerated extends AbstractIrBoxJsTest {
runTest("js/js.translator/testData/box/reflection/kClassWithJsCall.kt");
}
@TestMetadata("kTypeWithJsCall.kt")
public void testKTypeWithJsCall() throws Exception {
runTest("js/js.translator/testData/box/reflection/kTypeWithJsCall.kt");
}
@TestMetadata("primitiveKClassOnReifiedType.kt")
public void testPrimitiveKClassOnReifiedType() throws Exception {
runTest("js/js.translator/testData/box/reflection/primitiveKClassOnReifiedType.kt");
@@ -7141,6 +7141,11 @@ public class BoxJsTestGenerated extends AbstractBoxJsTest {
runTest("js/js.translator/testData/box/reflection/kClassOnReifiedTypeInLambda-advanced.kt");
}
@TestMetadata("kClassReifiedWithJsCall.kt")
public void testKClassReifiedWithJsCall() throws Exception {
runTest("js/js.translator/testData/box/reflection/kClassReifiedWithJsCall.kt");
}
@TestMetadata("kClassSimpleName.kt")
public void testKClassSimpleName() throws Exception {
runTest("js/js.translator/testData/box/reflection/kClassSimpleName.kt");
@@ -7156,6 +7161,11 @@ public class BoxJsTestGenerated extends AbstractBoxJsTest {
runTest("js/js.translator/testData/box/reflection/kClassWithJsCall.kt");
}
@TestMetadata("kTypeWithJsCall.kt")
public void testKTypeWithJsCall() throws Exception {
runTest("js/js.translator/testData/box/reflection/kTypeWithJsCall.kt");
}
@TestMetadata("primitiveKClassOnReifiedType.kt")
public void testPrimitiveKClassOnReifiedType() throws Exception {
runTest("js/js.translator/testData/box/reflection/primitiveKClassOnReifiedType.kt");