Package org.eclipse.egit.ui.common

Examples of org.eclipse.egit.ui.common.CompareEditorTester.save()


      public void run() {
        CommonUtils.runCommand("org.eclipse.compare.copyLeftToRight",
            null);
      }
    });
    compareEditor.save();


    // then file FILE1 should be in index
    Repository repo = lookupRepository(repositoryFile);
    Status status = new Git(repo).status().call();
View Full Code Here


      public void run() {
        CommonUtils.runCommand("org.eclipse.compare.copyRightToLeft",
            null);
      }
    });
    compareEditor.save();

    // then file FILE1 should be unchanged in working tree
    Repository repo = lookupRepository(repositoryFile);
    Status status = new Git(repo).status().call();
    assertThat(Long.valueOf(status.getModified().size()),
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.