Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Weiser2017-08-01 07:27:16 -0400
committerThomas Wolf2017-08-07 06:31:59 -0400
commit7a044d2a5d4a259c6bd6d87192657cb6dce22b87 (patch)
treebaf0c6f585546f69856fceddb3320df789dfd818 /org.eclipse.egit.ui.test/src/org/eclipse/egit
parent7bd43750ccd792743e2567930baf2705629af17a (diff)
downloadegit-7a044d2a5d4a259c6bd6d87192657cb6dce22b87.tar.gz
egit-7a044d2a5d4a259c6bd6d87192657cb6dce22b87.tar.xz
egit-7a044d2a5d4a259c6bd6d87192657cb6dce22b87.zip
Use verbs in UnmergedBranchDialog
* adds "&Delete" button label String * updates test Bug: 519519 Change-Id: I3f55b92a4110d60d461feb962755397f423d2516 Signed-off-by: David Weiser <david.weiser@vogella.com>
Diffstat (limited to 'org.eclipse.egit.ui.test/src/org/eclipse/egit')
-rw-r--r--org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/view/repositories/GitRepositoriesViewBranchHandlingTest.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/view/repositories/GitRepositoriesViewBranchHandlingTest.java b/org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/view/repositories/GitRepositoriesViewBranchHandlingTest.java
index a206aaed6..99b3baebd 100644
--- a/org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/view/repositories/GitRepositoriesViewBranchHandlingTest.java
+++ b/org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/view/repositories/GitRepositoriesViewBranchHandlingTest.java
@@ -207,7 +207,8 @@ public class GitRepositoriesViewBranchHandlingTest extends
SWTBotShell confirmPopup = bot
.shell(UIText.UnmergedBranchDialog_Title);
confirmPopup.activate();
- confirmPopup.bot().button(IDialogConstants.OK_LABEL).click();
+ confirmPopup.bot().button(UIText.UnmergedBranchDialog_deleteButtonLabel)
+ .click();
refreshAndWait();
localItem = myRepoViewUtil.getLocalBranchesItem(view.bot().tree(),
repositoryFile);

Back to the top