Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Lay2010-08-27 13:55:39 +0000
committerStefan Lay2010-08-27 13:55:39 +0000
commit86e4d3d31e2b9beb4e69e18f3f8be5b9647b4355 (patch)
treecf26f980578e7007dfda9a57a1677f47d9e91045 /org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/test/history
parentcd1f104f9876e2ae560fbc0a834a78e8134d731a (diff)
downloadegit-86e4d3d31e2b9beb4e69e18f3f8be5b9647b4355.tar.gz
egit-86e4d3d31e2b9beb4e69e18f3f8be5b9647b4355.tar.xz
egit-86e4d3d31e2b9beb4e69e18f3f8be5b9647b4355.zip
Fix UI tests after Tag dialog change
The title label of the Tag dialog was changed. UI tests are adapted with this change. Change-Id: I3fac60a3e1015e610007efd668969afe937095a0 Signed-off-by: Stefan Lay <stefan.lay@sap.com>
Diffstat (limited to 'org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/test/history')
-rw-r--r--org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/test/history/HistoryViewTest.java5
1 files changed, 1 insertions, 4 deletions
diff --git a/org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/test/history/HistoryViewTest.java b/org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/test/history/HistoryViewTest.java
index f9ce7a5d2..fbb913c7d 100644
--- a/org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/test/history/HistoryViewTest.java
+++ b/org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/test/history/HistoryViewTest.java
@@ -29,7 +29,6 @@ import org.eclipse.jface.dialogs.IDialogConstants;
import org.eclipse.jgit.lib.Constants;
import org.eclipse.jgit.lib.Repository;
import org.eclipse.jgit.revwalk.RevCommit;
-import org.eclipse.osgi.util.NLS;
import org.eclipse.swt.widgets.Display;
import org.eclipse.swtbot.eclipse.finder.widgets.SWTBotPerspective;
import org.eclipse.swtbot.eclipse.finder.widgets.SWTBotView;
@@ -292,9 +291,7 @@ public class HistoryViewTest extends LocalRepositoryTestCase {
ContextMenuHelper.clickContextMenu(table,
UIText.GitHistoryPage_CreateTagMenuLabel);
- SWTBotShell dialog = bot.shell(NLS.bind(
- UIText.CreateTagDialog_CreateTagOnCommitTitle, commit[0]
- .getId().name()));
+ SWTBotShell dialog = bot.shell(UIText.CreateTagDialog_NewTag);
dialog.bot().textWithLabel(UIText.CreateTagDialog_tagName).setText(
"NewTag");
dialog.bot().textWithLabel(UIText.CreateTagDialog_tagMessage).setText(

Back to the top