Add annotation for default parameter value

This commit is contained in:
Leonid Stashevsky
2017-10-04 14:03:23 +03:00
parent 62e87c873c
commit 0348561cd2
48 changed files with 1827 additions and 39 deletions
@@ -18224,6 +18224,78 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/signatureAnnotations"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true);
}
@TestMetadata("defaultAndNamedCombination.kt")
public void testDefaultAndNamedCombination() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/signatureAnnotations/defaultAndNamedCombination.kt");
doTest(fileName);
}
@TestMetadata("defaultBoxTypes.kt")
public void testDefaultBoxTypes() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/signatureAnnotations/defaultBoxTypes.kt");
doTest(fileName);
}
@TestMetadata("defaultEnumType.kt")
public void testDefaultEnumType() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/signatureAnnotations/defaultEnumType.kt");
doTest(fileName);
}
@TestMetadata("defaultLongLiteral.kt")
public void testDefaultLongLiteral() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/signatureAnnotations/defaultLongLiteral.kt");
doTest(fileName);
}
@TestMetadata("defaultMultipleParams.kt")
public void testDefaultMultipleParams() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/signatureAnnotations/defaultMultipleParams.kt");
doTest(fileName);
}
@TestMetadata("defaultNull.kt")
public void testDefaultNull() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/signatureAnnotations/defaultNull.kt");
doTest(fileName);
}
@TestMetadata("defaultNullableBoxTypes.kt")
public void testDefaultNullableBoxTypes() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/signatureAnnotations/defaultNullableBoxTypes.kt");
doTest(fileName);
}
@TestMetadata("defaultOverrides.kt")
public void testDefaultOverrides() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/signatureAnnotations/defaultOverrides.kt");
doTest(fileName);
}
@TestMetadata("defaultPrimitiveTypes.kt")
public void testDefaultPrimitiveTypes() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/signatureAnnotations/defaultPrimitiveTypes.kt");
doTest(fileName);
}
@TestMetadata("defaultValueInConstructor.kt")
public void testDefaultValueInConstructor() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/signatureAnnotations/defaultValueInConstructor.kt");
doTest(fileName);
}
@TestMetadata("defaultWithJavaBase.kt")
public void testDefaultWithJavaBase() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/signatureAnnotations/defaultWithJavaBase.kt");
doTest(fileName);
}
@TestMetadata("defaultWithKotlinBase.kt")
public void testDefaultWithKotlinBase() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/signatureAnnotations/defaultWithKotlinBase.kt");
doTest(fileName);
}
@TestMetadata("reorderedParameterNames.kt")
public void testReorderedParameterNames() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/signatureAnnotations/reorderedParameterNames.kt");