Package org.eclipse.egit.core.internal.rebase.RebaseInteractivePlan

Examples of org.eclipse.egit.core.internal.rebase.RebaseInteractivePlan.PlanElement


    assertEquals(element1, toDoElements.get(0));
  }

  @Test
  public void moveDownTestTwoElements() throws Exception {
    PlanElement element1 = createPlanElement(false);
    PlanElement element2 = createPlanElement(false);
    toDoElements.add(element1);
    toDoElements.add(element2);
    moveHelper.moveTodoEntryDown(element1);
    assertEquals(element2, toDoElements.get(0));
    assertEquals(element1, toDoElements.get(1));
View Full Code Here


    assertEquals(element2, toDoElements.get(1));
  }

  @Test
  public void moveDownTestThreeElementsWithOneComment() throws Exception {
    PlanElement element1 = createPlanElement(false);
    PlanElement element2 = createPlanElement(true);
    PlanElement element3 = createPlanElement(false);
    toDoElements.add(element1);
    toDoElements.add(element2);
    toDoElements.add(element3);
    moveHelper.moveTodoEntryDown(element1);
    assertEquals(element2, toDoElements.get(0));
View Full Code Here

TOP

Related Classes of org.eclipse.egit.core.internal.rebase.RebaseInteractivePlan.PlanElement

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.