diff options
author | Matthew Piggott | 2011-02-22 19:39:23 +0000 |
---|---|---|
committer | Pascal Rapicault | 2011-02-23 02:22:33 +0000 |
commit | b62dc9729bc82c238c0988210e2f370382e74c7d (patch) | |
tree | 5af4f8f7fb4cdc65c77e3f941ed5f6eb346ee571 /org.eclipse.m2e.integration.tests.common | |
parent | 37025615d813ce7d0d7fd6e4333b8691696ebefe (diff) | |
download | m2e-core-b62dc9729bc82c238c0988210e2f370382e74c7d.tar.gz m2e-core-b62dc9729bc82c238c0988210e2f370382e74c7d.tar.xz m2e-core-b62dc9729bc82c238c0988210e2f370382e74c7d.zip |
Modified UIIntegrationTestCase for new Exclude Artifact Refactoring
Diffstat (limited to 'org.eclipse.m2e.integration.tests.common')
-rw-r--r-- | org.eclipse.m2e.integration.tests.common/src/org/eclipse/m2e/integration/tests/common/UIIntegrationTestCase.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/org.eclipse.m2e.integration.tests.common/src/org/eclipse/m2e/integration/tests/common/UIIntegrationTestCase.java b/org.eclipse.m2e.integration.tests.common/src/org/eclipse/m2e/integration/tests/common/UIIntegrationTestCase.java index 6b265767..cf11adc3 100644 --- a/org.eclipse.m2e.integration.tests.common/src/org/eclipse/m2e/integration/tests/common/UIIntegrationTestCase.java +++ b/org.eclipse.m2e.integration.tests.common/src/org/eclipse/m2e/integration/tests/common/UIIntegrationTestCase.java @@ -1256,12 +1256,12 @@ public abstract class UIIntegrationTestCase { showView("org.eclipse.m2e.core.views.MavenRepositoryView"); } - protected void excludeArtifact(String projectName, String jarName) throws Exception { + protected void excludeArtifact(String projectName, String jarName, String plugin) throws Exception { SWTBotTree tree = selectProject(projectName); findItem(tree.expandNode(projectName).expandNode("Maven Dependencies"), StringStartsWith.startsWith(jarName)) .select(); ContextMenuHelper.clickContextMenu(tree, "Maven", "Exclude Maven Artifact..."); - SWTBotShell shell = bot.shell("Exclude Maven Artifact"); + SWTBotShell shell = bot.shell("Exclude Artifacts: " + plugin); try { shell.activate(); bot.button("OK").click(); |