Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Wolf2019-11-20 13:10:23 +0000
committerMichael Keppler2019-11-22 07:07:05 +0000
commit05039da1aeb7fee99633432758632c956caabaa8 (patch)
tree2142450848c6dd0067306d6699c72f831ae1c92a /org.eclipse.egit.ui.test/src
parent45bc68761130dda2ddbd806ab23f8922d932b74b (diff)
downloadegit-05039da1aeb7fee99633432758632c956caabaa8.tar.gz
egit-05039da1aeb7fee99633432758632c956caabaa8.tar.xz
egit-05039da1aeb7fee99633432758632c956caabaa8.zip
Branch selection dialog improvements
This dialog can be invoked via the BranchActionHandler, which is a default handler. Make sure the dialogs say in which repository they operate; it may not be obvious if invoked via Quick Access. Pre-select the current branch, if any, in the dialog, so that when clicking "New branch..." there is a default base set. Also give the BranchActionHandler a description. Bug: 553223 Change-Id: I0aaf4a6788382201310dbcd1ff4f154577720db6 Signed-off-by: Thomas Wolf <thomas.wolf@paranor.ch>
Diffstat (limited to 'org.eclipse.egit.ui.test/src')
-rw-r--r--org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/test/team/actions/BranchAndResetActionTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/test/team/actions/BranchAndResetActionTest.java b/org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/test/team/actions/BranchAndResetActionTest.java
index 11c05b3059..245d49ad3c 100644
--- a/org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/test/team/actions/BranchAndResetActionTest.java
+++ b/org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/test/team/actions/BranchAndResetActionTest.java
@@ -494,7 +494,7 @@ public class BranchAndResetActionTest extends LocalRepositoryTestCase {
throws IOException, Exception {
SWTBotShell dialog = openCheckoutBranchDialog();
TableCollection tc = dialog.bot().tree().selection();
- assertEquals("Wrong selection count", 0, tc.rowCount());
+ assertEquals("Wrong selection count", 1, tc.rowCount());
TestUtil.navigateTo(dialog.bot().tree(), nodeTexts).select();
tc = dialog.bot().tree().selection();

Back to the top