Examples of confirmPopup()


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

    commitDialogTester.commit();
    NoFilesToCommitPopup noFilesToCommitPopup = CommitDialogTester
        .openCommitDialogExpectNoFilesToCommit(PROJ1);
    repo.getConfig().setBoolean(ConfigConstants.CONFIG_GERRIT_SECTION,
        null, ConfigConstants.CONFIG_KEY_CREATECHANGEID, false);
    commitDialogTester = noFilesToCommitPopup.confirmPopup();
    assertTrue(commitDialogTester.getCommitMessage().indexOf("Change-Id") > 0);
  }

  @Test
  public void testLaunchedWithAmend() throws Exception {
View Full Code Here

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

    RevCommit oldHeadCommit = TestUtil.getHeadCommit(repository);
    commitOneFileChange("Again another Change");
    ObjectId headCommitId = TestUtil.getHeadCommit(repository).getId();
    NoFilesToCommitPopup noFilesToCommitPopup = CommitDialogTester
        .openCommitDialogExpectNoFilesToCommit(PROJ1);
    CommitDialogTester commitDialogTester = noFilesToCommitPopup.confirmPopup();
    assertTrue(commitDialogTester.getCommitMessage().indexOf("Change-Id") > 0);
    assertTrue(commitDialogTester.getCommitMessage().indexOf("Signed-off-by") > 0);
    assertTrue(commitDialogTester.getAmend());
    assertTrue(commitDialogTester.getSignedOff());
    assertTrue(commitDialogTester.getInsertChangeId());
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.