[JS IR] Add reflection tests
This commit is contained in:
committed by
Space Team
parent
c13cc38758
commit
85b2daf41d
+18
@@ -10208,12 +10208,24 @@ public class FirJsBoxTestGenerated extends AbstractFirJsBoxTest {
|
||||
runTest("js/js.translator/testData/box/reflection/kClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kClassCompanion.kt")
|
||||
public void testKClassCompanion() throws Exception {
|
||||
runTest("js/js.translator/testData/box/reflection/kClassCompanion.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kClassIsInstance.kt")
|
||||
public void testKClassIsInstance() throws Exception {
|
||||
runTest("js/js.translator/testData/box/reflection/kClassIsInstance.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kClassLambda.kt")
|
||||
public void testKClassLambda() throws Exception {
|
||||
runTest("js/js.translator/testData/box/reflection/kClassLambda.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kClassOnReifiedType.kt")
|
||||
public void testKClassOnReifiedType() throws Exception {
|
||||
@@ -10244,6 +10256,12 @@ public class FirJsBoxTestGenerated extends AbstractFirJsBoxTest {
|
||||
runTest("js/js.translator/testData/box/reflection/kClassSimpleName.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kClassSuspendFunction.kt")
|
||||
public void testKClassSuspendFunction() throws Exception {
|
||||
runTest("js/js.translator/testData/box/reflection/kClassSuspendFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kClassToAndFromJsClass.kt")
|
||||
public void testKClassToAndFromJsClass() throws Exception {
|
||||
|
||||
+18
@@ -10314,12 +10314,24 @@ public class FirJsES6BoxTestGenerated extends AbstractFirJsES6BoxTest {
|
||||
runTest("js/js.translator/testData/box/reflection/kClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kClassCompanion.kt")
|
||||
public void testKClassCompanion() throws Exception {
|
||||
runTest("js/js.translator/testData/box/reflection/kClassCompanion.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kClassIsInstance.kt")
|
||||
public void testKClassIsInstance() throws Exception {
|
||||
runTest("js/js.translator/testData/box/reflection/kClassIsInstance.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kClassLambda.kt")
|
||||
public void testKClassLambda() throws Exception {
|
||||
runTest("js/js.translator/testData/box/reflection/kClassLambda.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kClassOnReifiedType.kt")
|
||||
public void testKClassOnReifiedType() throws Exception {
|
||||
@@ -10350,6 +10362,12 @@ public class FirJsES6BoxTestGenerated extends AbstractFirJsES6BoxTest {
|
||||
runTest("js/js.translator/testData/box/reflection/kClassSimpleName.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kClassSuspendFunction.kt")
|
||||
public void testKClassSuspendFunction() throws Exception {
|
||||
runTest("js/js.translator/testData/box/reflection/kClassSuspendFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kClassToAndFromJsClass.kt")
|
||||
public void testKClassToAndFromJsClass() throws Exception {
|
||||
|
||||
+18
@@ -10314,12 +10314,24 @@ public class IrBoxJsES6TestGenerated extends AbstractIrBoxJsES6Test {
|
||||
runTest("js/js.translator/testData/box/reflection/kClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kClassCompanion.kt")
|
||||
public void testKClassCompanion() throws Exception {
|
||||
runTest("js/js.translator/testData/box/reflection/kClassCompanion.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kClassIsInstance.kt")
|
||||
public void testKClassIsInstance() throws Exception {
|
||||
runTest("js/js.translator/testData/box/reflection/kClassIsInstance.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kClassLambda.kt")
|
||||
public void testKClassLambda() throws Exception {
|
||||
runTest("js/js.translator/testData/box/reflection/kClassLambda.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kClassOnReifiedType.kt")
|
||||
public void testKClassOnReifiedType() throws Exception {
|
||||
@@ -10350,6 +10362,12 @@ public class IrBoxJsES6TestGenerated extends AbstractIrBoxJsES6Test {
|
||||
runTest("js/js.translator/testData/box/reflection/kClassSimpleName.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kClassSuspendFunction.kt")
|
||||
public void testKClassSuspendFunction() throws Exception {
|
||||
runTest("js/js.translator/testData/box/reflection/kClassSuspendFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kClassToAndFromJsClass.kt")
|
||||
public void testKClassToAndFromJsClass() throws Exception {
|
||||
|
||||
+18
@@ -10208,12 +10208,24 @@ public class IrBoxJsTestGenerated extends AbstractIrBoxJsTest {
|
||||
runTest("js/js.translator/testData/box/reflection/kClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kClassCompanion.kt")
|
||||
public void testKClassCompanion() throws Exception {
|
||||
runTest("js/js.translator/testData/box/reflection/kClassCompanion.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kClassIsInstance.kt")
|
||||
public void testKClassIsInstance() throws Exception {
|
||||
runTest("js/js.translator/testData/box/reflection/kClassIsInstance.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kClassLambda.kt")
|
||||
public void testKClassLambda() throws Exception {
|
||||
runTest("js/js.translator/testData/box/reflection/kClassLambda.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kClassOnReifiedType.kt")
|
||||
public void testKClassOnReifiedType() throws Exception {
|
||||
@@ -10244,6 +10256,12 @@ public class IrBoxJsTestGenerated extends AbstractIrBoxJsTest {
|
||||
runTest("js/js.translator/testData/box/reflection/kClassSimpleName.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kClassSuspendFunction.kt")
|
||||
public void testKClassSuspendFunction() throws Exception {
|
||||
runTest("js/js.translator/testData/box/reflection/kClassSuspendFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kClassToAndFromJsClass.kt")
|
||||
public void testKClassToAndFromJsClass() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user