move inner to upper level: don't make enum constructor public (IDEA-74036)

This commit is contained in:
anna
2011-09-08 13:10:17 +02:00
parent 3ce19cfe19
commit 2b83ce0999
7 changed files with 47 additions and 1 deletions

View File

@@ -76,6 +76,10 @@ public class MoveInnerTest extends MultiFileTestCase {
doTest(createAction("p.A.E", "E", false, null, false, false, null));
}
public void testEnumConstructorVisibility() throws Exception { // IDEADEV-28619
doTest(createAction("p.A.E", "E", false, null, false, false, "p2"));
}
public void testQualifyThisHierarchy() throws Exception {
final String innerClassName = "pack1.DImpl.MyRunnable";
doTest(new MyPerformAction(innerClassName, "MyRunnable", false, "d",