[FIR builder] add test for vararg parameter without type

^KT-61422
This commit is contained in:
Dmitrii Gridin
2023-09-06 17:57:58 +02:00
committed by Space Team
parent 2566dabfce
commit c0c1966555
19 changed files with 228 additions and 0 deletions
@@ -347,11 +347,21 @@ public class LightTree2FirConverterTestCaseGenerated extends AbstractLightTree2F
runTest("compiler/fir/raw-fir/psi2fir/testData/rawBuilder/declarations/noParameterType/noParameterTypRefInPrimaryConstructor.kt");
}
@TestMetadata("noParameterTypRefInPrimaryConstructorWithVararg.kt")
public void testNoParameterTypRefInPrimaryConstructorWithVararg() throws Exception {
runTest("compiler/fir/raw-fir/psi2fir/testData/rawBuilder/declarations/noParameterType/noParameterTypRefInPrimaryConstructorWithVararg.kt");
}
@TestMetadata("noParameterTypRefInPrimaryConsturctorVal.kt")
public void testNoParameterTypRefInPrimaryConsturctorVal() throws Exception {
runTest("compiler/fir/raw-fir/psi2fir/testData/rawBuilder/declarations/noParameterType/noParameterTypRefInPrimaryConsturctorVal.kt");
}
@TestMetadata("noParameterTypRefInPrimaryConsturctorValWithVararg.kt")
public void testNoParameterTypRefInPrimaryConsturctorValWithVararg() throws Exception {
runTest("compiler/fir/raw-fir/psi2fir/testData/rawBuilder/declarations/noParameterType/noParameterTypRefInPrimaryConsturctorValWithVararg.kt");
}
@TestMetadata("noParameterTypRefInSecondaryConstructor.kt")
public void testNoParameterTypRefInSecondaryConstructor() throws Exception {
runTest("compiler/fir/raw-fir/psi2fir/testData/rawBuilder/declarations/noParameterType/noParameterTypRefInSecondaryConstructor.kt");
@@ -361,6 +371,16 @@ public class LightTree2FirConverterTestCaseGenerated extends AbstractLightTree2F
public void testNoParameterTypRefInSetter() throws Exception {
runTest("compiler/fir/raw-fir/psi2fir/testData/rawBuilder/declarations/noParameterType/noParameterTypRefInSetter.kt");
}
@TestMetadata("uncompletedTypRefInPrimaryConstructorWithVararg.kt")
public void testUncompletedTypRefInPrimaryConstructorWithVararg() throws Exception {
runTest("compiler/fir/raw-fir/psi2fir/testData/rawBuilder/declarations/noParameterType/uncompletedTypRefInPrimaryConstructorWithVararg.kt");
}
@TestMetadata("uncompletedTypRefInPrimaryConsturctorValWithVararg.kt")
public void testUncompletedTypRefInPrimaryConsturctorValWithVararg() throws Exception {
runTest("compiler/fir/raw-fir/psi2fir/testData/rawBuilder/declarations/noParameterType/uncompletedTypRefInPrimaryConsturctorValWithVararg.kt");
}
}
}