IDEA-54902 Layout after Change signature is broken

Corresponding test is added
This commit is contained in:
Denis Zhdanov
2010-05-14 19:08:40 +04:00
parent b6c2c42dbe
commit 8e5f41d550
@@ -204,6 +204,10 @@ public class ChangeSignatureTest extends LightCodeInsightTestCase {
doTest(null, new ParameterInfoImpl[]{new ParameterInfoImpl(-1, "i", PsiType.INT, "0")}, false);
}
public void testReorderMultilineMethodParameters() throws Exception {
doTest(null, new ParameterInfoImpl[] {new ParameterInfoImpl(1), new ParameterInfoImpl(0)}, false);
}
private void doTest(String newReturnType, ParameterInfoImpl[] parameterInfos, final boolean generateDelegate) throws Exception {
doTest(null, null, newReturnType, parameterInfos, new ThrownExceptionInfo[0], generateDelegate);
}