Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Sohn2015-06-09 03:07:34 -0400
committerMatthias Sohn2015-06-09 03:07:59 -0400
commit57212261117d9fdcb655e2258f046fce0edd1340 (patch)
tree827fec9d0377ad2bda0fd3d558b021e35843f869
parent712d3a2bff24f66fd971aae4f0d588f49f79dcc3 (diff)
downloadegit-57212261117d9fdcb655e2258f046fce0edd1340.tar.gz
egit-57212261117d9fdcb655e2258f046fce0edd1340.tar.xz
egit-57212261117d9fdcb655e2258f046fce0edd1340.zip
Fix GitRepositoriesViewHandlingTest.testAddRepoButton()
This test was broken by 712d3a2b since now RepositorySearchDialog doesn't preselect all repositories anymore. Change-Id: I5b9dc4b0664dae7c08257071db65151c8903bd19 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
-rw-r--r--org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/view/repositories/GitRepositoriesViewRepoHandlingTest.java2
1 files changed, 2 insertions, 0 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 2d8117908..69d9ca576 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
@@ -270,6 +270,8 @@ public class GitRepositoriesViewRepoHandlingTest extends
shell.bot().textWithLabel(UIText.RepositorySearchDialog_directory)
.setText(getTestDirectory().getPath());
shell.bot().button(UIText.RepositorySearchDialog_Search).click();
+ SWTBotTreeItem item = shell.bot().tree().getAllItems()[0];
+ item.check();
shell.bot().button(IDialogConstants.FINISH_LABEL).click();
refreshAndWait();
assertHasRepo(repositoryFile);

Back to the top