Author: adietish
Date: 2012-01-20 05:11:03 -0500 (Fri, 20 Jan 2012)
New Revision: 37997
Modified:
trunk/openshift/tests/org.jboss.tools.openshift.express.test/src/org/jboss/tools/openshift/express/test/OpenShiftMavenProfileTests.java
Log:
[JBIDE-10479] added monitor when saving pom
Modified:
trunk/openshift/tests/org.jboss.tools.openshift.express.test/src/org/jboss/tools/openshift/express/test/OpenShiftMavenProfileTests.java
===================================================================
---
trunk/openshift/tests/org.jboss.tools.openshift.express.test/src/org/jboss/tools/openshift/express/test/OpenShiftMavenProfileTests.java 2012-01-20
10:05:57 UTC (rev 37996)
+++
trunk/openshift/tests/org.jboss.tools.openshift.express.test/src/org/jboss/tools/openshift/express/test/OpenShiftMavenProfileTests.java 2012-01-20
10:11:03 UTC (rev 37997)
@@ -322,7 +322,7 @@
public void pomHasOpenShiftProfileAfterAdd() throws CoreException {
OpenShiftMavenProfile profile = new OpenShiftMavenProfile(pomWithoutOpenShiftProfile,
PLUGIN_ID);
profile.addToPom(nonOpenShiftProject.getName());
- profile.savePom();
+ profile.savePom(new NullProgressMonitor());
profile = new OpenShiftMavenProfile(pomWithoutOpenShiftProfile, PLUGIN_ID);
assertTrue(profile.existsInPom());
}
@@ -332,7 +332,7 @@
OpenShiftMavenProfile profile = new OpenShiftMavenProfile(nonOpenShiftProfilesProject,
PLUGIN_ID);
boolean added = profile.addToPom(nonOpenShiftProfilesProject.getName());
assertTrue(added);
- profile.savePom();
+ profile.savePom(new NullProgressMonitor());
profile = new OpenShiftMavenProfile(nonOpenShiftProfilesProject, PLUGIN_ID);
assertTrue(profile.existsInPom());
}
@@ -342,7 +342,7 @@
OpenShiftMavenProfile profile = new OpenShiftMavenProfile(nonOpenShiftProfilesProject,
PLUGIN_ID);
boolean added = profile.addToPom(nonOpenShiftProfilesProject.getName());
assertTrue(added);
- profile.savePom();
+ profile.savePom(new NullProgressMonitor());
String pomContent = toString(nonOpenShiftProfilesProject.getFile(POM_FILENAME));
assertTrue(pomContent.indexOf("<id>openshift</id>") >= 0);
}
Show replies by date