Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordj2011-11-09 14:40:08 -0500
committerdj2011-11-09 14:40:08 -0500
commit6030e4a58a30c424bc716fdcbb6202f42a99e93f (patch)
tree92b741d735a55b3a3a82ba68294f4d17b3f62690
parent4a859168334c2d481bb37932b113135831e73a72 (diff)
downloadrt.equinox.p2-6030e4a58a30c424bc716fdcbb6202f42a99e93f.tar.gz
rt.equinox.p2-6030e4a58a30c424bc716fdcbb6202f42a99e93f.tar.xz
rt.equinox.p2-6030e4a58a30c424bc716fdcbb6202f42a99e93f.zip
Added more test data.
-rw-r--r--bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/planner/Bug362692.java5
-rw-r--r--bundles/org.eclipse.equinox.p2.tests/testData/bug362692/p2/org.eclipse.equinox.p2.engine/profileRegistry/bootProfile.profile/1320769530050.profile.gzbin0 -> 1368665 bytes
2 files changed, 3 insertions, 2 deletions
diff --git a/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/planner/Bug362692.java b/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/planner/Bug362692.java
index 5a09fc590..ec0ab9495 100644
--- a/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/planner/Bug362692.java
+++ b/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/planner/Bug362692.java
@@ -57,10 +57,11 @@ public class Bug362692 extends AbstractPlannerTest {
boolean already = false;
for (Iterator<IInstallableUnit> iter = allIUs.iterator(); iter.hasNext();) {
IInstallableUnit iu = iter.next();
+ //toAdd.add(iu);
queryResult = getProfile().query(QueryUtil.createIUQuery(iu.getId(), iu.getVersion()), new NullProgressMonitor());
- if (queryResult.isEmpty())
+ if (queryResult.isEmpty()) {
toAdd.add(iu);
- else {
+ } else {
System.out.println("Already installed: " + iu.getId() + " " + iu.getVersion());
already = true;
}
diff --git a/bundles/org.eclipse.equinox.p2.tests/testData/bug362692/p2/org.eclipse.equinox.p2.engine/profileRegistry/bootProfile.profile/1320769530050.profile.gz b/bundles/org.eclipse.equinox.p2.tests/testData/bug362692/p2/org.eclipse.equinox.p2.engine/profileRegistry/bootProfile.profile/1320769530050.profile.gz
new file mode 100644
index 000000000..eeee8ed5d
--- /dev/null
+++ b/bundles/org.eclipse.equinox.p2.tests/testData/bug362692/p2/org.eclipse.equinox.p2.engine/profileRegistry/bootProfile.profile/1320769530050.profile.gz
Binary files differ

Back to the top