mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-05 01:50:56 +07:00
[tests] Restore branch tests after 908db51805c0e20a99609dd2f3f39317b41a0844
GitOrigin-RevId: b87dc1e3b880307e727038df0bae176fc9edda30
This commit is contained in:
committed by
intellij-monorepo-bot
parent
604aa1da07
commit
4b0cea56f4
@@ -2,6 +2,7 @@
|
||||
package com.intellij.refactoring;
|
||||
|
||||
import com.intellij.JavaTestUtil;
|
||||
import com.intellij.openapi.util.registry.Registry;
|
||||
|
||||
/**
|
||||
* @author ven
|
||||
@@ -13,4 +14,12 @@ public class MoveJavaFileTest extends MoveFileTestCase {
|
||||
}
|
||||
|
||||
public void testPackageInfo() { doTest("pack2", "pack1/package-info.java"); }
|
||||
|
||||
public static class BranchTest extends MoveJavaFileTest {
|
||||
@Override
|
||||
protected void setUp() throws Exception {
|
||||
super.setUp();
|
||||
Registry.get("run.refactorings.in.model.branch").setValue(true, getTestRootDisposable());
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -28,12 +28,4 @@ public abstract class MoveFileTestCase extends LightMultiFileTestCase {
|
||||
assertNotNull(psiFile);
|
||||
});
|
||||
}
|
||||
|
||||
public static class BranchTest extends MoveFileTestCase {
|
||||
@Override
|
||||
protected void setUp() throws Exception {
|
||||
super.setUp();
|
||||
Registry.get("run.refactorings.in.model.branch").setValue(true, getTestRootDisposable());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user