Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Kaegi2010-03-05 12:06:29 -0500
committerSimon Kaegi2010-03-05 12:06:29 -0500
commit11310103f4665624bdc756b870e2abfb6e0d44a5 (patch)
tree26dd2f6e4dae497e907121a5e3ad90de15e46684 /bundles/org.eclipse.equinox.p2.tests.ui
parentf0a701f74d7b17cc84d1d23836f6db4d60ec37cf (diff)
downloadrt.equinox.p2-11310103f4665624bdc756b870e2abfb6e0d44a5.tar.gz
rt.equinox.p2-11310103f4665624bdc756b870e2abfb6e0d44a5.tar.xz
rt.equinox.p2-11310103f4665624bdc756b870e2abfb6e0d44a5.zip
Bug 304280 - [api] PhaseSet is still API
Diffstat (limited to 'bundles/org.eclipse.equinox.p2.tests.ui')
-rw-r--r--bundles/org.eclipse.equinox.p2.tests.ui/src/org/eclipse/equinox/p2/tests/ui/AbstractProvisioningUITest.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/bundles/org.eclipse.equinox.p2.tests.ui/src/org/eclipse/equinox/p2/tests/ui/AbstractProvisioningUITest.java b/bundles/org.eclipse.equinox.p2.tests.ui/src/org/eclipse/equinox/p2/tests/ui/AbstractProvisioningUITest.java
index d48948f0c..0cdf00266 100644
--- a/bundles/org.eclipse.equinox.p2.tests.ui/src/org/eclipse/equinox/p2/tests/ui/AbstractProvisioningUITest.java
+++ b/bundles/org.eclipse.equinox.p2.tests.ui/src/org/eclipse/equinox/p2/tests/ui/AbstractProvisioningUITest.java
@@ -10,6 +10,8 @@
*******************************************************************************/
package org.eclipse.equinox.p2.tests.ui;
+import org.eclipse.equinox.p2.engine.PhaseSetFactory;
+
import org.eclipse.equinox.p2.metadata.MetadataFactory;
import org.eclipse.equinox.p2.metadata.MetadataFactory.InstallableUnitDescription;
@@ -144,7 +146,7 @@ public abstract class AbstractProvisioningUITest extends AbstractProvisioningTes
IProvisioningPlan plan = getSession().getPlanner().getProvisioningPlan(req, new ProvisioningContext(new URI[] {}), getMonitor());
if (plan.getStatus().getSeverity() == IStatus.ERROR || plan.getStatus().getSeverity() == IStatus.CANCEL)
return plan.getStatus();
- return getSession().performProvisioningPlan(plan, new DefaultPhaseSet(), new ProvisioningContext(), getMonitor());
+ return getSession().performProvisioningPlan(plan, PhaseSetFactory.createDefaultPhaseSet(), new ProvisioningContext(), getMonitor());
}
protected IInstallableUnit createNamedIU(String id, String name, Version version, boolean isCategory) {

Back to the top