Search in sources :

Example 1 with MoveHelper

use of org.eclipse.egit.core.internal.rebase.RebaseInteractivePlan.MoveHelper in project egit by eclipse.

the class RebaseInteractivePlanTest method setUp.

@Override
@Before
public void setUp() throws Exception {
    super.setUp();
    gitDir = new File(project.getProject().getLocationURI().getPath(), Constants.DOT_GIT);
    testRepository = new TestRepository(gitDir);
    testRepository.connect(project.getProject());
    plan = RebaseInteractivePlan.getPlan(testRepository.getRepository());
    toDoElements = new ArrayList<PlanElement>();
    moveHelper = new RebaseInteractivePlan.MoveHelper(toDoElements, plan);
}
Also used : TestRepository(org.eclipse.egit.core.test.TestRepository) RebaseInteractivePlan(org.eclipse.egit.core.internal.rebase.RebaseInteractivePlan) MoveHelper(org.eclipse.egit.core.internal.rebase.RebaseInteractivePlan.MoveHelper) File(java.io.File) PlanElement(org.eclipse.egit.core.internal.rebase.RebaseInteractivePlan.PlanElement) Before(org.junit.Before)

Aggregations

File (java.io.File)1 RebaseInteractivePlan (org.eclipse.egit.core.internal.rebase.RebaseInteractivePlan)1 MoveHelper (org.eclipse.egit.core.internal.rebase.RebaseInteractivePlan.MoveHelper)1 PlanElement (org.eclipse.egit.core.internal.rebase.RebaseInteractivePlan.PlanElement)1 TestRepository (org.eclipse.egit.core.test.TestRepository)1 Before (org.junit.Before)1