[Analysis API] add more tests for vararg parameters

^KT-61422
This commit is contained in:
Dmitrii Gridin
2023-09-06 16:34:31 +02:00
committed by Space Team
parent f1e5a9b223
commit 3a577e1c31
50 changed files with 2577 additions and 0 deletions
@@ -371,6 +371,72 @@ public class Fe10IdeNormalAnalysisSourceModuleSymbolByPsiTestGenerated extends A
runTest("analysis/analysis-api/testData/symbols/symbolByPsi/valueParameters/vararg.kt");
}
@Test
@TestMetadata("varargInAnnotationPrimaryConstructor.kt")
public void testVarargInAnnotationPrimaryConstructor() throws Exception {
runTest("analysis/analysis-api/testData/symbols/symbolByPsi/valueParameters/varargInAnnotationPrimaryConstructor.kt");
}
@Test
@TestMetadata("varargInAnnotationPrimaryConstructorAsProperty.kt")
public void testVarargInAnnotationPrimaryConstructorAsProperty() throws Exception {
runTest("analysis/analysis-api/testData/symbols/symbolByPsi/valueParameters/varargInAnnotationPrimaryConstructorAsProperty.kt");
}
@Test
@TestMetadata("varargInAnnotationPrimaryConstructorAsPropertyWithoutType.kt")
public void testVarargInAnnotationPrimaryConstructorAsPropertyWithoutType() throws Exception {
runTest("analysis/analysis-api/testData/symbols/symbolByPsi/valueParameters/varargInAnnotationPrimaryConstructorAsPropertyWithoutType.kt");
}
@Test
@TestMetadata("varargInAnnotationPrimaryConstructorWithoutType.kt")
public void testVarargInAnnotationPrimaryConstructorWithoutType() throws Exception {
runTest("analysis/analysis-api/testData/symbols/symbolByPsi/valueParameters/varargInAnnotationPrimaryConstructorWithoutType.kt");
}
@Test
@TestMetadata("varargInPrimaryConstructor.kt")
public void testVarargInPrimaryConstructor() throws Exception {
runTest("analysis/analysis-api/testData/symbols/symbolByPsi/valueParameters/varargInPrimaryConstructor.kt");
}
@Test
@TestMetadata("varargInPrimaryConstructorAsProperty.kt")
public void testVarargInPrimaryConstructorAsProperty() throws Exception {
runTest("analysis/analysis-api/testData/symbols/symbolByPsi/valueParameters/varargInPrimaryConstructorAsProperty.kt");
}
@Test
@TestMetadata("varargInPrimaryConstructorAsPropertyWithoutType.kt")
public void testVarargInPrimaryConstructorAsPropertyWithoutType() throws Exception {
runTest("analysis/analysis-api/testData/symbols/symbolByPsi/valueParameters/varargInPrimaryConstructorAsPropertyWithoutType.kt");
}
@Test
@TestMetadata("varargInPrimaryConstructorAsPropertyWithoutType2.kt")
public void testVarargInPrimaryConstructorAsPropertyWithoutType2() throws Exception {
runTest("analysis/analysis-api/testData/symbols/symbolByPsi/valueParameters/varargInPrimaryConstructorAsPropertyWithoutType2.kt");
}
@Test
@TestMetadata("varargInPrimaryConstructorWithoutType.kt")
public void testVarargInPrimaryConstructorWithoutType() throws Exception {
runTest("analysis/analysis-api/testData/symbols/symbolByPsi/valueParameters/varargInPrimaryConstructorWithoutType.kt");
}
@Test
@TestMetadata("varargInSecondaryConstructor.kt")
public void testVarargInSecondaryConstructor() throws Exception {
runTest("analysis/analysis-api/testData/symbols/symbolByPsi/valueParameters/varargInSecondaryConstructor.kt");
}
@Test
@TestMetadata("varargInSecondaryConstructorWithoutType.kt")
public void testVarargInSecondaryConstructorWithoutType() throws Exception {
runTest("analysis/analysis-api/testData/symbols/symbolByPsi/valueParameters/varargInSecondaryConstructorWithoutType.kt");
}
@Test
@TestMetadata("varargWithoutType.kt")
public void testVarargWithoutType() throws Exception {