Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoland Grunberg2017-02-03 18:30:27 +0000
committerAlexander Kurtakov2017-07-03 17:20:25 +0000
commit92928dfaa2124188bb30149d1bf706a6f5e7f897 (patch)
treeaf98a1e3cb21b00b7bad7d17c24b867053e60fff /bundles/org.eclipse.equinox.p2.tests/testData
parentd6c862cc5a2b20d5577e41baf513d01fbf6f80ac (diff)
downloadrt.equinox.p2-92928dfaa2124188bb30149d1bf706a6f5e7f897.tar.gz
rt.equinox.p2-92928dfaa2124188bb30149d1bf706a6f5e7f897.tar.xz
rt.equinox.p2-92928dfaa2124188bb30149d1bf706a6f5e7f897.zip
Bug 512312: Droplets should correctly detect feature group IUs.I20170703-2000
This issue has been mostly addressed by 7c95455. The logic for detection of feature groups was wrongly comparing a string and a boolean for equality as well as being computed more times than necessary. Change-Id: Icd714e39b798fba748d88c3aea2845649aa9fee1 Signed-off-by: Roland Grunberg <rgrunber@redhat.com>
Diffstat (limited to 'bundles/org.eclipse.equinox.p2.tests/testData')
-rw-r--r--bundles/org.eclipse.equinox.p2.tests/testData/testRepos/foo-droplet/eclipse/features/org.foo.bar.feature_1.0.0/build.properties3
-rw-r--r--bundles/org.eclipse.equinox.p2.tests/testData/testRepos/foo-droplet/eclipse/features/org.foo.bar.feature_1.0.0/feature.xml27
-rw-r--r--bundles/org.eclipse.equinox.p2.tests/testData/testRepos/foo-droplet/eclipse/fragment.info3
-rw-r--r--bundles/org.eclipse.equinox.p2.tests/testData/testRepos/foo-droplet/eclipse/plugins/org.foo.bar_1.0.0.jarbin0 -> 380 bytes
4 files changed, 33 insertions, 0 deletions
diff --git a/bundles/org.eclipse.equinox.p2.tests/testData/testRepos/foo-droplet/eclipse/features/org.foo.bar.feature_1.0.0/build.properties b/bundles/org.eclipse.equinox.p2.tests/testData/testRepos/foo-droplet/eclipse/features/org.foo.bar.feature_1.0.0/build.properties
new file mode 100644
index 000000000..2694532b6
--- /dev/null
+++ b/bundles/org.eclipse.equinox.p2.tests/testData/testRepos/foo-droplet/eclipse/features/org.foo.bar.feature_1.0.0/build.properties
@@ -0,0 +1,3 @@
+bin.includes = feature.xml,\
+ build.properties
+src.includes = feature.xml
diff --git a/bundles/org.eclipse.equinox.p2.tests/testData/testRepos/foo-droplet/eclipse/features/org.foo.bar.feature_1.0.0/feature.xml b/bundles/org.eclipse.equinox.p2.tests/testData/testRepos/foo-droplet/eclipse/features/org.foo.bar.feature_1.0.0/feature.xml
new file mode 100644
index 000000000..f9513f307
--- /dev/null
+++ b/bundles/org.eclipse.equinox.p2.tests/testData/testRepos/foo-droplet/eclipse/features/org.foo.bar.feature_1.0.0/feature.xml
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<feature
+ id="org.foo.bar.feature"
+ label="%featureName"
+ version="1.0.0"
+ provider-name="%providerName">
+
+ <description>
+ %description
+ </description>
+
+ <copyright>
+ %copyright
+ </copyright>
+
+ <license url="%licenseURL">
+ %license
+ </license>
+
+ <plugin
+ id="org.foo.bar"
+ download-size="217"
+ install-size="449"
+ version="1.0.0"
+ unpack="false"/>
+
+</feature>
diff --git a/bundles/org.eclipse.equinox.p2.tests/testData/testRepos/foo-droplet/eclipse/fragment.info b/bundles/org.eclipse.equinox.p2.tests/testData/testRepos/foo-droplet/eclipse/fragment.info
new file mode 100644
index 000000000..658caecd3
--- /dev/null
+++ b/bundles/org.eclipse.equinox.p2.tests/testData/testRepos/foo-droplet/eclipse/fragment.info
@@ -0,0 +1,3 @@
+#encoding=UTF-8
+#version=1
+org.foo.bar,1.0.0,plugins/org.foo.bar_1.0.0.jar,4,false
diff --git a/bundles/org.eclipse.equinox.p2.tests/testData/testRepos/foo-droplet/eclipse/plugins/org.foo.bar_1.0.0.jar b/bundles/org.eclipse.equinox.p2.tests/testData/testRepos/foo-droplet/eclipse/plugins/org.foo.bar_1.0.0.jar
new file mode 100644
index 000000000..91d9282de
--- /dev/null
+++ b/bundles/org.eclipse.equinox.p2.tests/testData/testRepos/foo-droplet/eclipse/plugins/org.foo.bar_1.0.0.jar
Binary files differ

Back to the top