check for list size: skiped varargs parameter (16666)

This commit is contained in:
anna
2009-10-29 12:40:06 +03:00
parent ce47db97bc
commit d2ba61a99e
4 changed files with 29 additions and 1 deletions
@@ -129,6 +129,10 @@ public class ChangeSignatureTest extends LightCodeInsightTestCase {
}, false);
}
public void testRemoveVarargParameter() throws Exception {
doTest(null, null, null, new ParameterInfoImpl[]{new ParameterInfoImpl(0)}, new ThrownExceptionInfo[0], false);
}
public void testEnumConstructor() throws Exception {
doTest(null, new ParameterInfoImpl[] {
new ParameterInfoImpl(-1, "i", PsiType.INT, "10")