[JS IR] Add test in external js fun with default args

^KT-40090 fixed
This commit is contained in:
Ilya Goncharov
2020-11-18 19:26:19 +03:00
parent 8eb2ae18dc
commit 5c731c6c04
3 changed files with 35 additions and 0 deletions
@@ -10077,6 +10077,11 @@ public class IrJsCodegenBoxES6TestGenerated extends AbstractIrJsCodegenBoxES6Tes
public void testAllFilesPresentInExternal() throws Exception {
KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/external"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR_ES6, true);
}
@TestMetadata("jsWithDefaultArg.kt")
public void testJsWithDefaultArg() throws Exception {
runTest("compiler/testData/codegen/box/external/jsWithDefaultArg.kt");
}
}
@TestMetadata("compiler/testData/codegen/box/fakeOverride")
@@ -10077,6 +10077,11 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
public void testAllFilesPresentInExternal() throws Exception {
KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/external"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
}
@TestMetadata("jsWithDefaultArg.kt")
public void testJsWithDefaultArg() throws Exception {
runTest("compiler/testData/codegen/box/external/jsWithDefaultArg.kt");
}
}
@TestMetadata("compiler/testData/codegen/box/fakeOverride")