diff options
author | Adrian Goerler | 2011-07-01 11:59:59 +0000 |
---|---|---|
committer | Adrian Goerler | 2011-07-01 11:59:59 +0000 |
commit | 3c8a0b052aa47526ca8cd8c8332e1d08a49614b2 (patch) | |
tree | bc6f8ea850aa0a4bc310a7ed6b0aabb99b449c09 /org.eclipse.egit.ui.test | |
parent | bb1dc5c2a21999c5d0190a4a907b64db0de09556 (diff) | |
download | egit-3c8a0b052aa47526ca8cd8c8332e1d08a49614b2.tar.gz egit-3c8a0b052aa47526ca8cd8c8332e1d08a49614b2.tar.xz egit-3c8a0b052aa47526ca8cd8c8332e1d08a49614b2.zip |
Clarify difference btw. remove and delete repository
Bug: 347073
Change-Id: Ic9ccd5c9f827a84c6a434c6a07bf5fbdeede7f46
Signed-off-by: Adrian Goerler <adrian.goerler@sap.com>
Diffstat (limited to 'org.eclipse.egit.ui.test')
-rw-r--r-- | org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/view/repositories/GitRepositoriesViewRepoHandlingTest.java | 9 |
1 files changed, 5 insertions, 4 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 011e77b195..432bfe4afe 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 @@ -48,6 +48,7 @@ import org.junit.runner.RunWith; public class GitRepositoriesViewRepoHandlingTest extends GitRepositoriesViewTestBase { + private static final String REMOVE_REPOSITORY_CONTEXT_MENU_LABEL = "RepoViewRemove.label"; private static File repositoryFile; @BeforeClass @@ -131,7 +132,7 @@ public class GitRepositoriesViewRepoHandlingTest extends SWTBotTree tree = getOrOpenView().bot().tree(); tree.getAllItems()[0].select(); ContextMenuHelper.clickContextMenu(tree, myUtil - .getPluginLocalizedValue("RemoveRepositoryCommand")); + .getPluginLocalizedValue(REMOVE_REPOSITORY_CONTEXT_MENU_LABEL)); refreshAndWait(); assertEmpty(); } @@ -150,7 +151,7 @@ public class GitRepositoriesViewRepoHandlingTest extends SWTBotTree tree = getOrOpenView().bot().tree(); tree.getAllItems()[0].select(); ContextMenuHelper.clickContextMenu(tree, myUtil - .getPluginLocalizedValue("RemoveRepositoryCommand")); + .getPluginLocalizedValue(REMOVE_REPOSITORY_CONTEXT_MENU_LABEL)); SWTBotShell shell = bot .shell(UIText.RepositoriesView_ConfirmProjectDeletion_WindowTitle); shell.activate(); @@ -175,7 +176,7 @@ public class GitRepositoriesViewRepoHandlingTest extends SWTBotTree tree = getOrOpenView().bot().tree(); tree.getAllItems()[0].select(); ContextMenuHelper.clickContextMenu(tree, myUtil - .getPluginLocalizedValue("RemoveRepositoryCommand")); + .getPluginLocalizedValue(REMOVE_REPOSITORY_CONTEXT_MENU_LABEL)); SWTBotShell shell = bot .shell(UIText.RepositoriesView_ConfirmProjectDeletion_WindowTitle); shell.activate(); @@ -199,7 +200,7 @@ public class GitRepositoriesViewRepoHandlingTest extends SWTBotTree tree = getOrOpenView().bot().tree(); tree.getAllItems()[0].select(); ContextMenuHelper.clickContextMenu(tree, myUtil - .getPluginLocalizedValue("RemoveRepositoryCommand")); + .getPluginLocalizedValue(REMOVE_REPOSITORY_CONTEXT_MENU_LABEL)); SWTBotShell shell = bot .shell(UIText.RepositoriesView_ConfirmProjectDeletion_WindowTitle); shell.activate(); |