use of org.eclipse.egit.ui.test.JobJoiner in project egit by eclipse.
the class PushBranchWizardTester method finish.
public void finish() {
JobJoiner jobJoiner = JobJoiner.startListening(JobFamilies.PUSH, 60, TimeUnit.SECONDS);
wizard.button(UIText.PushBranchWizard_pushButton).click();
jobJoiner.join();
}
use of org.eclipse.egit.ui.test.JobJoiner in project egit by eclipse.
the class PushTagsWizardTester method finish.
public void finish() {
JobJoiner jobJoiner = JobJoiner.startListening(JobFamilies.PUSH, 60, TimeUnit.SECONDS);
wizard.button(IDialogConstants.FINISH_LABEL).click();
jobJoiner.join();
}
use of org.eclipse.egit.ui.test.JobJoiner in project egit by eclipse.
the class PushToUpstreamTest method pushToUpstream.
private void pushToUpstream() {
SWTBotTree project = selectProject();
JobJoiner joiner = JobJoiner.startListening(JobFamilies.PUSH, 20, TimeUnit.SECONDS);
ContextMenuHelper.clickContextMenu(project, getPushToUpstreamMenuPath());
TestUtil.openJobResultDialog(joiner.join());
SWTBotShell resultDialog = TestUtil.botForShellStartingWith("Push Results");
resultDialog.close();
}
use of org.eclipse.egit.ui.test.JobJoiner in project egit by eclipse.
the class StagingViewTester method stageFile.
public void stageFile(String path) {
SWTBotTree unstagedTree = stagingView.bot().tree(0);
TestUtil.waitUntilTreeHasNodeContainsText(stagingView.bot(), unstagedTree, path, 10000);
TestUtil.getNode(unstagedTree.getAllItems(), path).select();
JobJoiner jobJoiner = JobJoiner.startListening(org.eclipse.egit.core.JobFamilies.INDEX_DIFF_CACHE_UPDATE, 30, TimeUnit.SECONDS);
ContextMenuHelper.clickContextMenu(unstagedTree, UIText.StagingView_StageItemMenuLabel);
jobJoiner.join();
}
use of org.eclipse.egit.ui.test.JobJoiner in project egit by eclipse.
the class StagingViewTester method commit.
public void commit() throws Exception {
JobJoiner jobJoiner = JobJoiner.startListening(JobFamilies.COMMIT, 30, TimeUnit.SECONDS);
stagingView.bot().button(UIText.StagingView_Commit).click();
jobJoiner.join();
}
Aggregations