Package org.eclipse.egit.ui.common.CommitDialogTester

Examples of org.eclipse.egit.ui.common.CommitDialogTester.NoFilesToCommitPopup.cancelPopup()


  @Test
  public void testOpenCommitWithoutChanged() throws Exception {
    NoFilesToCommitPopup popup = CommitDialogTester
        .openCommitDialogExpectNoFilesToCommit(PROJ1);
    popup.cancelPopup();
  }

  @Test
  public void testCommitSingleFile() throws Exception {
    setTestFileContent("I have changed this");
View Full Code Here


    commitDialogTester.commit();
    TestUtil.checkHeadCommit(lookupRepository(repositoryFile),
        TestUtil.TESTAUTHOR, TestUtil.TESTCOMMITTER, "The new commit");
    NoFilesToCommitPopup popup = CommitDialogTester
        .openCommitDialogExpectNoFilesToCommit(PROJ1);
    popup.cancelPopup();
  }

  @Test
  public void testAmendWithChangeIdPreferenceOff() throws Exception {
    Repository repo = lookupRepository(repositoryFile);
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.