[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
@@ -378,12 +378,24 @@ public class FirOutOfContentRootLazyBodiesCalculatorTestGenerated extends Abstra
runTest("compiler/fir/raw-fir/psi2fir/testData/rawBuilder/declarations/noParameterType/noParameterTypRefInPrimaryConstructor.kt");
}
@Test
@TestMetadata("noParameterTypRefInPrimaryConstructorWithVararg.kt")
public void testNoParameterTypRefInPrimaryConstructorWithVararg() throws Exception {
runTest("compiler/fir/raw-fir/psi2fir/testData/rawBuilder/declarations/noParameterType/noParameterTypRefInPrimaryConstructorWithVararg.kt");
}
@Test
@TestMetadata("noParameterTypRefInPrimaryConsturctorVal.kt")
public void testNoParameterTypRefInPrimaryConsturctorVal() throws Exception {
runTest("compiler/fir/raw-fir/psi2fir/testData/rawBuilder/declarations/noParameterType/noParameterTypRefInPrimaryConsturctorVal.kt");
}
@Test
@TestMetadata("noParameterTypRefInPrimaryConsturctorValWithVararg.kt")
public void testNoParameterTypRefInPrimaryConsturctorValWithVararg() throws Exception {
runTest("compiler/fir/raw-fir/psi2fir/testData/rawBuilder/declarations/noParameterType/noParameterTypRefInPrimaryConsturctorValWithVararg.kt");
}
@Test
@TestMetadata("noParameterTypRefInSecondaryConstructor.kt")
public void testNoParameterTypRefInSecondaryConstructor() throws Exception {
@@ -395,6 +407,18 @@ public class FirOutOfContentRootLazyBodiesCalculatorTestGenerated extends Abstra
public void testNoParameterTypRefInSetter() throws Exception {
runTest("compiler/fir/raw-fir/psi2fir/testData/rawBuilder/declarations/noParameterType/noParameterTypRefInSetter.kt");
}
@Test
@TestMetadata("uncompletedTypRefInPrimaryConstructorWithVararg.kt")
public void testUncompletedTypRefInPrimaryConstructorWithVararg() throws Exception {
runTest("compiler/fir/raw-fir/psi2fir/testData/rawBuilder/declarations/noParameterType/uncompletedTypRefInPrimaryConstructorWithVararg.kt");
}
@Test
@TestMetadata("uncompletedTypRefInPrimaryConsturctorValWithVararg.kt")
public void testUncompletedTypRefInPrimaryConsturctorValWithVararg() throws Exception {
runTest("compiler/fir/raw-fir/psi2fir/testData/rawBuilder/declarations/noParameterType/uncompletedTypRefInPrimaryConsturctorValWithVararg.kt");
}
}
}
@@ -378,12 +378,24 @@ public class FirSourceLazyBodiesCalculatorTestGenerated extends AbstractFirSourc
runTest("compiler/fir/raw-fir/psi2fir/testData/rawBuilder/declarations/noParameterType/noParameterTypRefInPrimaryConstructor.kt");
}
@Test
@TestMetadata("noParameterTypRefInPrimaryConstructorWithVararg.kt")
public void testNoParameterTypRefInPrimaryConstructorWithVararg() throws Exception {
runTest("compiler/fir/raw-fir/psi2fir/testData/rawBuilder/declarations/noParameterType/noParameterTypRefInPrimaryConstructorWithVararg.kt");
}
@Test
@TestMetadata("noParameterTypRefInPrimaryConsturctorVal.kt")
public void testNoParameterTypRefInPrimaryConsturctorVal() throws Exception {
runTest("compiler/fir/raw-fir/psi2fir/testData/rawBuilder/declarations/noParameterType/noParameterTypRefInPrimaryConsturctorVal.kt");
}
@Test
@TestMetadata("noParameterTypRefInPrimaryConsturctorValWithVararg.kt")
public void testNoParameterTypRefInPrimaryConsturctorValWithVararg() throws Exception {
runTest("compiler/fir/raw-fir/psi2fir/testData/rawBuilder/declarations/noParameterType/noParameterTypRefInPrimaryConsturctorValWithVararg.kt");
}
@Test
@TestMetadata("noParameterTypRefInSecondaryConstructor.kt")
public void testNoParameterTypRefInSecondaryConstructor() throws Exception {
@@ -395,6 +407,18 @@ public class FirSourceLazyBodiesCalculatorTestGenerated extends AbstractFirSourc
public void testNoParameterTypRefInSetter() throws Exception {
runTest("compiler/fir/raw-fir/psi2fir/testData/rawBuilder/declarations/noParameterType/noParameterTypRefInSetter.kt");
}
@Test
@TestMetadata("uncompletedTypRefInPrimaryConstructorWithVararg.kt")
public void testUncompletedTypRefInPrimaryConstructorWithVararg() throws Exception {
runTest("compiler/fir/raw-fir/psi2fir/testData/rawBuilder/declarations/noParameterType/uncompletedTypRefInPrimaryConstructorWithVararg.kt");
}
@Test
@TestMetadata("uncompletedTypRefInPrimaryConsturctorValWithVararg.kt")
public void testUncompletedTypRefInPrimaryConsturctorValWithVararg() throws Exception {
runTest("compiler/fir/raw-fir/psi2fir/testData/rawBuilder/declarations/noParameterType/uncompletedTypRefInPrimaryConsturctorValWithVararg.kt");
}
}
}