Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Wolf2018-04-01 03:58:29 -0400
committerThomas Wolf2018-04-01 03:58:29 -0400
commit263705d39d6dcb28911fb7451e4ea57dfd55a1e1 (patch)
treec9e7e6095c121b370c4f0c41b174ef7c8c51e772 /org.eclipse.egit.ui.test/src/org/eclipse/egit
parent95885291b5857274c66ba123ad9d8922d918f754 (diff)
downloadegit-263705d39d6dcb28911fb7451e4ea57dfd55a1e1.tar.gz
egit-263705d39d6dcb28911fb7451e4ea57dfd55a1e1.tar.xz
egit-263705d39d6dcb28911fb7451e4ea57dfd55a1e1.zip
Create Repository: use "Create" instead of "Finish" for default button
Change-Id: I6b53aeb24c03ad68e8770ed25fb19c591e737514 Signed-off-by: Thomas Wolf <thomas.wolf@paranor.ch>
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/GitRepositoriesViewRepoHandlingTest.java6
1 files changed, 4 insertions, 2 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 ebf7c6fc1..afbab29a5 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
@@ -340,7 +340,8 @@ public class GitRepositoriesViewRepoHandlingTest extends
IPath newPath = new Path(getTestDirectory().getPath());
shell.bot().textWithLabel(UIText.CreateRepositoryPage_DirectoryLabel)
.setText(newPath.append("NewRepository").toOSString());
- shell.bot().button(IDialogConstants.FINISH_LABEL).click();
+ shell.bot().button(UIText.CreateRepositoryCommand_CreateButtonLabel)
+ .click();
refreshAndWait();
File repoFile = new File(newPath.append("NewRepository").toFile(),
Constants.DOT_GIT);
@@ -358,7 +359,8 @@ public class GitRepositoriesViewRepoHandlingTest extends
shell.bot().textWithLabel(UIText.CreateRepositoryPage_DirectoryLabel)
.setText(newPath.toOSString());
shell.bot().checkBox(UIText.CreateRepositoryPage_BareCheckbox).select();
- shell.bot().button(IDialogConstants.FINISH_LABEL).click();
+ shell.bot().button(UIText.CreateRepositoryCommand_CreateButtonLabel)
+ .click();
refreshAndWait();
repoFile = newPath.toFile();
myRepoViewUtil.getRootItem(getOrOpenView().bot().tree(), repoFile);

Back to the top