Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Sohn2016-05-30 20:22:13 +0000
committerMatthias Sohn2016-05-31 11:19:03 +0000
commit731c6831299213ceaec40d85be6e8a47b7146e97 (patch)
tree01c7ec04788ea71a51cfaa5d892959a6c8870a9a /org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/test
parente5f719a2df244c80412c66da3f3d27b84001fccb (diff)
downloadegit-731c6831299213ceaec40d85be6e8a47b7146e97.tar.gz
egit-731c6831299213ceaec40d85be6e8a47b7146e97.tar.xz
egit-731c6831299213ceaec40d85be6e8a47b7146e97.zip
Enable copying source branch in "Create Branch" dialog to clipboard
Bug: 494943 Change-Id: Ib7db01442c1e6ead995b3c363f43a1512f38611b Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Diffstat (limited to 'org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/test')
-rw-r--r--org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/test/team/actions/BranchAndResetActionTest.java4
1 files changed, 2 insertions, 2 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 6e2ad4139..bec7c1c63 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
@@ -59,8 +59,8 @@ import org.eclipse.swtbot.swt.finder.SWTBot;
import org.eclipse.swtbot.swt.finder.junit.SWTBotJunit4ClassRunner;
import org.eclipse.swtbot.swt.finder.utils.TableCollection;
import org.eclipse.swtbot.swt.finder.waits.ICondition;
-import org.eclipse.swtbot.swt.finder.widgets.SWTBotLabel;
import org.eclipse.swtbot.swt.finder.widgets.SWTBotShell;
+import org.eclipse.swtbot.swt.finder.widgets.SWTBotStyledText;
import org.eclipse.swtbot.swt.finder.widgets.SWTBotToolbarDropDownButton;
import org.eclipse.swtbot.swt.finder.widgets.SWTBotTree;
import org.eclipse.swtbot.swt.finder.widgets.SWTBotTreeItem;
@@ -326,7 +326,7 @@ public class BranchAndResetActionTest extends LocalRepositoryTestCase {
TestUtil.getChildNode(tags, "SomeTag").select();
sourceSelectionDialog.bot().button(IDialogConstants.OK_LABEL).click();
- SWTBotLabel sourceLabel = createBranchDialog.bot().label(3);
+ SWTBotStyledText sourceLabel = createBranchDialog.bot().styledText(0);
assertEquals("SomeTag", sourceLabel.getText());
createBranchDialog.bot().textWithId("BranchName")

Back to the top