IR JS: support findAssociatedObject feature (KT-37418 fixed)

This commit is contained in:
Anton Bannykh
2020-04-16 17:33:44 +03:00
parent f4b6e1bff6
commit 442331acc9
14 changed files with 354 additions and 5 deletions
@@ -6751,6 +6751,16 @@ public class IrBoxJsTestGenerated extends AbstractIrBoxJsTest {
runTest("js/js.translator/testData/box/reflection/external.kt");
}
@TestMetadata("findAssociatedObject.kt")
public void testFindAssociatedObject() throws Exception {
runTest("js/js.translator/testData/box/reflection/findAssociatedObject.kt");
}
@TestMetadata("findAssociatedObject_oldBE.kt")
public void testFindAssociatedObject_oldBE() throws Exception {
runTest("js/js.translator/testData/box/reflection/findAssociatedObject_oldBE.kt");
}
@TestMetadata("kClass.kt")
public void testKClass() throws Exception {
runTest("js/js.translator/testData/box/reflection/kClass.kt");
@@ -6781,6 +6781,16 @@ public class BoxJsTestGenerated extends AbstractBoxJsTest {
runTest("js/js.translator/testData/box/reflection/external.kt");
}
@TestMetadata("findAssociatedObject.kt")
public void testFindAssociatedObject() throws Exception {
runTest("js/js.translator/testData/box/reflection/findAssociatedObject.kt");
}
@TestMetadata("findAssociatedObject_oldBE.kt")
public void testFindAssociatedObject_oldBE() throws Exception {
runTest("js/js.translator/testData/box/reflection/findAssociatedObject_oldBE.kt");
}
@TestMetadata("jsClass.kt")
public void testJsClass() throws Exception {
runTest("js/js.translator/testData/box/reflection/jsClass.kt");