diff options
author | Thomas Wolf | 2018-04-01 07:07:16 +0000 |
---|---|---|
committer | Thomas Wolf | 2018-04-01 07:57:33 +0000 |
commit | 95885291b5857274c66ba123ad9d8922d918f754 (patch) | |
tree | 56ca98c33ad945804b3b7f2fc4dfbcfc38a933bc /org.eclipse.egit.ui.test | |
parent | 815ee43ce52548a7092cefff9fef95f6843e5ff5 (diff) | |
download | egit-95885291b5857274c66ba123ad9d8922d918f754.tar.gz egit-95885291b5857274c66ba123ad9d8922d918f754.tar.xz egit-95885291b5857274c66ba123ad9d8922d918f754.zip |
Add Repository: use "Add" instead of "Finish" for default button
Also disable the button initially.
Change-Id: If7ab3908000e075156efde4a45124ffb3c102d07
Signed-off-by: Thomas Wolf <thomas.wolf@paranor.ch>
Diffstat (limited to 'org.eclipse.egit.ui.test')
-rw-r--r-- | org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/view/repositories/GitRepositoriesViewRepoHandlingTest.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/view/repositories/GitRepositoriesViewRepoHandlingTest.java b/org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/view/repositories/GitRepositoriesViewRepoHandlingTest.java index 7cf458858f..ebf7c6fc14 100644 --- a/org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/view/repositories/GitRepositoriesViewRepoHandlingTest.java +++ b/org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/view/repositories/GitRepositoriesViewRepoHandlingTest.java @@ -290,7 +290,7 @@ public class GitRepositoriesViewRepoHandlingTest extends shell.activate(); SWTBotTreeItem item = shell.bot().tree().getAllItems()[0]; item.check(); - shell.bot().button(IDialogConstants.FINISH_LABEL).click(); + shell.bot().button(UIText.AddCommand_AddButtonLabel).click(); TestUtil.joinJobs(org.eclipse.egit.core.JobFamilies.AUTO_SHARE); refreshAndWait(); assertHasRepo(repositoryFile); |