[JS IR] Fix IrGetClass for Throwable successors

- add test
This commit is contained in:
Roman Artemev
2019-11-26 23:52:50 +03:00
committed by romanart
parent 757ddd9179
commit 4759c16428
4 changed files with 24 additions and 1 deletions
@@ -6698,6 +6698,11 @@ public class IrBoxJsTestGenerated extends AbstractIrBoxJsTest {
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/reflection"), Pattern.compile("^([^_](.+))\\.kt$"), TargetBackend.JS_IR, true);
}
@TestMetadata("classJsName.kt")
public void testClassJsName() throws Exception {
runTest("js/js.translator/testData/box/reflection/classJsName.kt");
}
@TestMetadata("external.kt")
public void testExternal() throws Exception {
runTest("js/js.translator/testData/box/reflection/external.kt");
@@ -6728,6 +6728,11 @@ public class BoxJsTestGenerated extends AbstractBoxJsTest {
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("js/js.translator/testData/box/reflection"), Pattern.compile("^([^_](.+))\\.kt$"), TargetBackend.JS, true);
}
@TestMetadata("classJsName.kt")
public void testClassJsName() throws Exception {
runTest("js/js.translator/testData/box/reflection/classJsName.kt");
}
@TestMetadata("external.kt")
public void testExternal() throws Exception {
runTest("js/js.translator/testData/box/reflection/external.kt");