turn refs to super: process anonymous classes; infer type parameters

This commit is contained in:
anna
2010-02-08 21:23:09 +03:00
parent b0440edeca
commit 465bb913a9
6 changed files with 115 additions and 3 deletions
@@ -126,6 +126,14 @@ public class TurnRefsToSuperTest extends MultiFileTestCase {
doTest("IImpl", "I", false);
}
public void testAnonymousWithTypeArguments() throws Exception {
doTest("Clazz", "Intf", false);
}
public void testTypeArgumentsParam() throws Exception {
doTest("Clazz", "Intf", false);
}
private void doTest(@NonNls final String className, @NonNls final String superClassName, final boolean replaceInstanceOf) throws Exception {
doTest(new PerformAction() {
public void performAction(VirtualFile rootDir, VirtualFile rootAfter) throws Exception {