Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rapicault2009-02-13 03:45:06 +0000
committerPascal Rapicault2009-02-13 03:45:06 +0000
commit9a671a858ec59508d0d104b01ccc86deb4086ddb (patch)
treea97bf50506b6e4d56a52f208688e99c78748bb6e
parent324bf8d2a558dee1504b86cb862a82a4293bca66 (diff)
downloadrt.equinox.p2-9a671a858ec59508d0d104b01ccc86deb4086ddb.tar.gz
rt.equinox.p2-9a671a858ec59508d0d104b01ccc86deb4086ddb.tar.xz
rt.equinox.p2-9a671a858ec59508d0d104b01ccc86deb4086ddb.zip
Support for permissive slicer
-rw-r--r--bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/planner/PermissiveSlicerTest.java3
-rw-r--r--bundles/org.eclipse.equinox.p2.tests/testData/permissiveSlicer/content.jarbin0 -> 261449 bytes
2 files changed, 2 insertions, 1 deletions
diff --git a/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/planner/PermissiveSlicerTest.java b/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/planner/PermissiveSlicerTest.java
index 8739f9e36..0631d42b0 100644
--- a/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/planner/PermissiveSlicerTest.java
+++ b/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/planner/PermissiveSlicerTest.java
@@ -17,7 +17,8 @@ public class PermissiveSlicerTest extends AbstractProvisioningTest {
@Override
protected void setUp() throws Exception {
super.setUp();
- repo = getMetadataRepositoryManager().loadRepository(new File("/Users/Pascal/Downloads/builds/transfer/files/updates/3.5-I-builds/I20090211-0900/").toURI(), new NullProgressMonitor());
+ File repoFile = getTestData("Repo for permissive slicer test", "testData/permissiveSlicer");
+ repo = getMetadataRepositoryManager().loadRepository(repoFile.toURI(), new NullProgressMonitor());
}
public void testSliceRCPOut() {
diff --git a/bundles/org.eclipse.equinox.p2.tests/testData/permissiveSlicer/content.jar b/bundles/org.eclipse.equinox.p2.tests/testData/permissiveSlicer/content.jar
new file mode 100644
index 000000000..029585d80
--- /dev/null
+++ b/bundles/org.eclipse.equinox.p2.tests/testData/permissiveSlicer/content.jar
Binary files differ

Back to the top