Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Piggott2011-02-22 19:39:23 +0000
committerPascal Rapicault2011-02-23 02:22:33 +0000
commitb62dc9729bc82c238c0988210e2f370382e74c7d (patch)
tree5af4f8f7fb4cdc65c77e3f941ed5f6eb346ee571 /org.eclipse.m2e.integration.tests.common
parent37025615d813ce7d0d7fd6e4333b8691696ebefe (diff)
downloadm2e-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.java4
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();

Back to the top