Added test to check default params in declaration (issue KT-23239)

This commit is contained in:
Roman Artemev
2018-03-16 20:43:41 +03:00
parent 7d72fe07bb
commit a121a4a6b2
7 changed files with 170 additions and 0 deletions
@@ -13168,11 +13168,29 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
doTest(fileName);
}
@TestMetadata("inheritedFromExpectedMethod.kt")
public void testInheritedFromExpectedMethod() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/multiplatform/defaultArguments/inheritedFromExpectedMethod.kt");
doTest(fileName);
}
@TestMetadata("inheritedInExpectedDeclarations.kt")
public void testInheritedInExpectedDeclarations() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/multiplatform/defaultArguments/inheritedInExpectedDeclarations.kt");
doTest(fileName);
}
@TestMetadata("inlineFunctionWithDefaultLambda.kt")
public void testInlineFunctionWithDefaultLambda() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/multiplatform/defaultArguments/inlineFunctionWithDefaultLambda.kt");
doTest(fileName);
}
@TestMetadata("kt23239.kt")
public void testKt23239() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/multiplatform/defaultArguments/kt23239.kt");
doTest(fileName);
}
}
}