Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rapicault2010-05-13 02:11:45 +0000
committerPascal Rapicault2010-05-13 02:11:45 +0000
commitc2880f5cdeeee60b134559b864b8c697d8ad7f92 (patch)
treeeaf0c1f6b9dc5f2208eb6d593ad7ce759a09fd2d /bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox
parent4dead546dc74b9375d6897df679f90f8605e5205 (diff)
downloadrt.equinox.p2-c2880f5cdeeee60b134559b864b8c697d8ad7f92.tar.gz
rt.equinox.p2-c2880f5cdeeee60b134559b864b8c697d8ad7f92.tar.xz
rt.equinox.p2-c2880f5cdeeee60b134559b864b8c697d8ad7f92.zip
*** empty log message ***
Diffstat (limited to 'bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox')
-rw-r--r--bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/planner/Bug300572Small2.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/planner/Bug300572Small2.java b/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/planner/Bug300572Small2.java
index c88d5d7fa..62874b174 100644
--- a/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/planner/Bug300572Small2.java
+++ b/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/planner/Bug300572Small2.java
@@ -81,6 +81,7 @@ public class Bug300572Small2 extends AbstractProvisioningTest {
IProvisioningPlan plan1 = planner.getProvisioningPlan(req1, null, null);
assertEquals(IStatus.OK, plan1.getStatus().getSeverity());
assertContains(plan1.getAdditions().query(QueryUtil.ALL_UNITS, null), p1);
+ assertFalse(plan1.getAdditions().query(QueryUtil.createIUQuery("hello", Version.create("1.0.1.200911201237")), null).isEmpty());
assertOK("plan execution", engine.perform(plan1, null));
ProfileChangeRequest req2 = new ProfileChangeRequest(profile1);
@@ -89,6 +90,7 @@ public class Bug300572Small2 extends AbstractProvisioningTest {
IProvisioningPlan plan2 = planner.getProvisioningPlan(req2, null, null);
assertOK("Planning for installing P2", plan2.getStatus());
assertContains(plan2.getAdditions().query(QueryUtil.ALL_UNITS, null), p2);
+ assertFalse(plan2.getAdditions().query(QueryUtil.createIUQuery("hello", Version.create("1.0.2.201001211536")), null).isEmpty());
}
}

Back to the top