replace duplicates when pull methods up

This commit is contained in:
anna
2011-06-20 19:15:03 +04:00
parent 91d3996e1c
commit e32cc3c855
9 changed files with 141 additions and 33 deletions

View File

@@ -94,6 +94,10 @@ public class PullUpTest extends LightCodeInsightTestCase {
doTest(new RefactoringTestUtil.MemberDescriptor("method", PsiMethod.class, true));
}
public void testReplaceDuplicatesInInheritors() throws Exception {
doTest(new RefactoringTestUtil.MemberDescriptor("foo", PsiMethod.class, false));
}
public void testGenericsInImplements() throws Exception {
doTest(false, new RefactoringTestUtil.MemberDescriptor("I", PsiClass.class));
}