summaryrefslogtreecommitdiffstatsabout
diff options
context:
space:
mode:
authorMatthew Piggott2011-02-22 14:39:23 (EST)
committer Pascal Rapicault2011-02-22 21:22:33 (EST)
commitb62dc9729bc82c238c0988210e2f370382e74c7d (patch)
tree5af4f8f7fb4cdc65c77e3f941ed5f6eb346ee571
parent37025615d813ce7d0d7fd6e4333b8691696ebefe (diff)
downloadm2e-core-b62dc9729bc82c238c0988210e2f370382e74c7d.zip
m2e-core-b62dc9729bc82c238c0988210e2f370382e74c7d.tar.gz
m2e-core-b62dc9729bc82c238c0988210e2f370382e74c7d.tar.bz2
Modified UIIntegrationTestCase for new Exclude Artifact Refactoring
-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 6b26576..cf11adc 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();