Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rapicault2015-05-13 16:40:18 -0400
committerPascal Rapicault2015-05-13 16:40:18 -0400
commita80470a0bbe37205e0a217d387b90f01b04bb546 (patch)
treea7d16e6eb77b611442a085cf1d70465ae1fa8b8d
parent8a0985106665c540ec33c4e306c120583b0b7ba3 (diff)
downloadrt.equinox.p2-a80470a0bbe37205e0a217d387b90f01b04bb546.tar.gz
rt.equinox.p2-a80470a0bbe37205e0a217d387b90f01b04bb546.tar.xz
rt.equinox.p2-a80470a0bbe37205e0a217d387b90f01b04bb546.zip
Move test repos for XZ'ed metadata to a specific folder
-rw-r--r--bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/metadata/repository/XZedRepositoryTest.java10
-rw-r--r--bundles/org.eclipse.equinox.p2.tests/testData/xzRepoTests/metadata/contentJarAndXZ/content.jar (renamed from bundles/org.eclipse.equinox.p2.tests/testData/xzRepoTests/contentJarAndXZ/content.jar)bin399 -> 399 bytes
-rw-r--r--bundles/org.eclipse.equinox.p2.tests/testData/xzRepoTests/metadata/contentJarAndXZ/content.xml.xz (renamed from bundles/org.eclipse.equinox.p2.tests/testData/xzRepoTests/contentJarAndXZ/content.xml.xz)bin304 -> 304 bytes
-rw-r--r--bundles/org.eclipse.equinox.p2.tests/testData/xzRepoTests/metadata/contentJarAndXZ/p2.index (renamed from bundles/org.eclipse.equinox.p2.tests/testData/xzRepoTests/contentJarAndXZ/p2.index)0
-rw-r--r--bundles/org.eclipse.equinox.p2.tests/testData/xzRepoTests/metadata/xzAndContentJar/content.jar (renamed from bundles/org.eclipse.equinox.p2.tests/testData/xzRepoTests/xzAndContentJar/content.jar)bin399 -> 399 bytes
-rw-r--r--bundles/org.eclipse.equinox.p2.tests/testData/xzRepoTests/metadata/xzAndContentJar/content.xml.xz (renamed from bundles/org.eclipse.equinox.p2.tests/testData/xzRepoTests/xzAndContentJar/content.xml.xz)bin304 -> 304 bytes
-rw-r--r--bundles/org.eclipse.equinox.p2.tests/testData/xzRepoTests/metadata/xzAndContentJar/p2.index (renamed from bundles/org.eclipse.equinox.p2.tests/testData/xzRepoTests/xzAndContentJar/p2.index)0
-rw-r--r--bundles/org.eclipse.equinox.p2.tests/testData/xzRepoTests/metadata/xzAndContentXML/content.xml (renamed from bundles/org.eclipse.equinox.p2.tests/testData/xzRepoTests/xzAndContentXML/content.xml)0
-rw-r--r--bundles/org.eclipse.equinox.p2.tests/testData/xzRepoTests/metadata/xzAndContentXML/content.xml.xz (renamed from bundles/org.eclipse.equinox.p2.tests/testData/xzRepoTests/xzAndContentXML/content.xml.xz)bin304 -> 304 bytes
-rw-r--r--bundles/org.eclipse.equinox.p2.tests/testData/xzRepoTests/metadata/xzAndContentXML/p2.index (renamed from bundles/org.eclipse.equinox.p2.tests/testData/xzRepoTests/xzAndContentXML/p2.index)0
-rw-r--r--bundles/org.eclipse.equinox.p2.tests/testData/xzRepoTests/metadata/xzBusted/content.xml.xz (renamed from bundles/org.eclipse.equinox.p2.tests/testData/xzRepoTests/xzBusted/content.xml.xz)0
-rw-r--r--bundles/org.eclipse.equinox.p2.tests/testData/xzRepoTests/metadata/xzBusted/p2.index (renamed from bundles/org.eclipse.equinox.p2.tests/testData/xzRepoTests/xzBusted/p2.index)0
-rw-r--r--bundles/org.eclipse.equinox.p2.tests/testData/xzRepoTests/metadata/xzOnly/content.xml.xz (renamed from bundles/org.eclipse.equinox.p2.tests/testData/xzRepoTests/xzOnly/content.xml.xz)bin304 -> 304 bytes
-rw-r--r--bundles/org.eclipse.equinox.p2.tests/testData/xzRepoTests/metadata/xzOnly/p2.index (renamed from bundles/org.eclipse.equinox.p2.tests/testData/xzRepoTests/xzOnly/p2.index)0
14 files changed, 5 insertions, 5 deletions
diff --git a/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/metadata/repository/XZedRepositoryTest.java b/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/metadata/repository/XZedRepositoryTest.java
index 5f5d2f80f..7f55df4e1 100644
--- a/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/metadata/repository/XZedRepositoryTest.java
+++ b/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/metadata/repository/XZedRepositoryTest.java
@@ -24,21 +24,21 @@ public class XZedRepositoryTest extends AbstractProvisioningTest {
@Test
public void testLoadContentJarAndXZ() throws ProvisionException, OperationCanceledException {
- IMetadataRepository repo = getMetadataRepositoryManager().loadRepository(getTestData("xzedRepo", "testData/xzRepoTests/contentJarAndXZ").toURI(), null);
+ IMetadataRepository repo = getMetadataRepositoryManager().loadRepository(getTestData("xzedRepo", "testData/xzRepoTests/metadata/contentJarAndXZ").toURI(), null);
IQueryResult<IInstallableUnit> units = repo.query(QueryUtil.createIUQuery("testIU", Version.create("2.0.0")), null);
assertEquals(1, units.toSet().size());
}
@Test
public void testLoadXzAndContentJar() throws ProvisionException, OperationCanceledException {
- IMetadataRepository repo = getMetadataRepositoryManager().loadRepository(getTestData("xzedRepo", "testData/xzRepoTests/xzAndContentJar").toURI(), null);
+ IMetadataRepository repo = getMetadataRepositoryManager().loadRepository(getTestData("xzedRepo", "testData/xzRepoTests/metadata/xzAndContentJar").toURI(), null);
IQueryResult<IInstallableUnit> units = repo.query(QueryUtil.createIUQuery("iuFromXZ", Version.create("2.0.0")), null);
assertEquals(1, units.toSet().size());
}
@Test
public void testLoadXzAndContentXML() throws ProvisionException, OperationCanceledException {
- IMetadataRepository repo = getMetadataRepositoryManager().loadRepository(getTestData("xzedRepo", "testData/xzRepoTests/xzAndContentXML").toURI(), null);
+ IMetadataRepository repo = getMetadataRepositoryManager().loadRepository(getTestData("xzedRepo", "testData/xzRepoTests/metadata/xzAndContentXML").toURI(), null);
IQueryResult<IInstallableUnit> units = repo.query(QueryUtil.createIUQuery("iuFromXZ", Version.create("2.0.0")), null);
assertEquals(1, units.toSet().size());
}
@@ -47,7 +47,7 @@ public class XZedRepositoryTest extends AbstractProvisioningTest {
public void testLoadXzBusted() throws ProvisionException, OperationCanceledException {
boolean repoCanLoad = true;
try {
- getMetadataRepositoryManager().loadRepository(getTestData("xzedRepo", "testData/xzRepoTests/xzBusted").toURI(), null);
+ getMetadataRepositoryManager().loadRepository(getTestData("xzedRepo", "testData/xzRepoTests/metadata/xzBusted").toURI(), null);
} catch (ProvisionException e) {
repoCanLoad = false;
}
@@ -56,7 +56,7 @@ public class XZedRepositoryTest extends AbstractProvisioningTest {
@Test
public void testLoadXzOnly() throws ProvisionException, OperationCanceledException {
- IMetadataRepository repo = getMetadataRepositoryManager().loadRepository(getTestData("xzedRepo", "testData/xzRepoTests/xzOnly").toURI(), null);
+ IMetadataRepository repo = getMetadataRepositoryManager().loadRepository(getTestData("xzedRepo", "testData/xzRepoTests/metadata/xzOnly").toURI(), null);
IQueryResult<IInstallableUnit> units = repo.query(QueryUtil.createIUQuery("iuFromXZ", Version.create("2.0.0")), null);
assertEquals(1, units.toSet().size());
}
diff --git a/bundles/org.eclipse.equinox.p2.tests/testData/xzRepoTests/contentJarAndXZ/content.jar b/bundles/org.eclipse.equinox.p2.tests/testData/xzRepoTests/metadata/contentJarAndXZ/content.jar
index 8659c74d3..8659c74d3 100644
--- a/bundles/org.eclipse.equinox.p2.tests/testData/xzRepoTests/contentJarAndXZ/content.jar
+++ b/bundles/org.eclipse.equinox.p2.tests/testData/xzRepoTests/metadata/contentJarAndXZ/content.jar
Binary files differ
diff --git a/bundles/org.eclipse.equinox.p2.tests/testData/xzRepoTests/contentJarAndXZ/content.xml.xz b/bundles/org.eclipse.equinox.p2.tests/testData/xzRepoTests/metadata/contentJarAndXZ/content.xml.xz
index b4010f8b1..b4010f8b1 100644
--- a/bundles/org.eclipse.equinox.p2.tests/testData/xzRepoTests/contentJarAndXZ/content.xml.xz
+++ b/bundles/org.eclipse.equinox.p2.tests/testData/xzRepoTests/metadata/contentJarAndXZ/content.xml.xz
Binary files differ
diff --git a/bundles/org.eclipse.equinox.p2.tests/testData/xzRepoTests/contentJarAndXZ/p2.index b/bundles/org.eclipse.equinox.p2.tests/testData/xzRepoTests/metadata/contentJarAndXZ/p2.index
index 7d7614d96..7d7614d96 100644
--- a/bundles/org.eclipse.equinox.p2.tests/testData/xzRepoTests/contentJarAndXZ/p2.index
+++ b/bundles/org.eclipse.equinox.p2.tests/testData/xzRepoTests/metadata/contentJarAndXZ/p2.index
diff --git a/bundles/org.eclipse.equinox.p2.tests/testData/xzRepoTests/xzAndContentJar/content.jar b/bundles/org.eclipse.equinox.p2.tests/testData/xzRepoTests/metadata/xzAndContentJar/content.jar
index 8659c74d3..8659c74d3 100644
--- a/bundles/org.eclipse.equinox.p2.tests/testData/xzRepoTests/xzAndContentJar/content.jar
+++ b/bundles/org.eclipse.equinox.p2.tests/testData/xzRepoTests/metadata/xzAndContentJar/content.jar
Binary files differ
diff --git a/bundles/org.eclipse.equinox.p2.tests/testData/xzRepoTests/xzAndContentJar/content.xml.xz b/bundles/org.eclipse.equinox.p2.tests/testData/xzRepoTests/metadata/xzAndContentJar/content.xml.xz
index b4010f8b1..b4010f8b1 100644
--- a/bundles/org.eclipse.equinox.p2.tests/testData/xzRepoTests/xzAndContentJar/content.xml.xz
+++ b/bundles/org.eclipse.equinox.p2.tests/testData/xzRepoTests/metadata/xzAndContentJar/content.xml.xz
Binary files differ
diff --git a/bundles/org.eclipse.equinox.p2.tests/testData/xzRepoTests/xzAndContentJar/p2.index b/bundles/org.eclipse.equinox.p2.tests/testData/xzRepoTests/metadata/xzAndContentJar/p2.index
index 337a00d01..337a00d01 100644
--- a/bundles/org.eclipse.equinox.p2.tests/testData/xzRepoTests/xzAndContentJar/p2.index
+++ b/bundles/org.eclipse.equinox.p2.tests/testData/xzRepoTests/metadata/xzAndContentJar/p2.index
diff --git a/bundles/org.eclipse.equinox.p2.tests/testData/xzRepoTests/xzAndContentXML/content.xml b/bundles/org.eclipse.equinox.p2.tests/testData/xzRepoTests/metadata/xzAndContentXML/content.xml
index 5d34bfbdb..5d34bfbdb 100644
--- a/bundles/org.eclipse.equinox.p2.tests/testData/xzRepoTests/xzAndContentXML/content.xml
+++ b/bundles/org.eclipse.equinox.p2.tests/testData/xzRepoTests/metadata/xzAndContentXML/content.xml
diff --git a/bundles/org.eclipse.equinox.p2.tests/testData/xzRepoTests/xzAndContentXML/content.xml.xz b/bundles/org.eclipse.equinox.p2.tests/testData/xzRepoTests/metadata/xzAndContentXML/content.xml.xz
index b4010f8b1..b4010f8b1 100644
--- a/bundles/org.eclipse.equinox.p2.tests/testData/xzRepoTests/xzAndContentXML/content.xml.xz
+++ b/bundles/org.eclipse.equinox.p2.tests/testData/xzRepoTests/metadata/xzAndContentXML/content.xml.xz
Binary files differ
diff --git a/bundles/org.eclipse.equinox.p2.tests/testData/xzRepoTests/xzAndContentXML/p2.index b/bundles/org.eclipse.equinox.p2.tests/testData/xzRepoTests/metadata/xzAndContentXML/p2.index
index 337a00d01..337a00d01 100644
--- a/bundles/org.eclipse.equinox.p2.tests/testData/xzRepoTests/xzAndContentXML/p2.index
+++ b/bundles/org.eclipse.equinox.p2.tests/testData/xzRepoTests/metadata/xzAndContentXML/p2.index
diff --git a/bundles/org.eclipse.equinox.p2.tests/testData/xzRepoTests/xzBusted/content.xml.xz b/bundles/org.eclipse.equinox.p2.tests/testData/xzRepoTests/metadata/xzBusted/content.xml.xz
index 3306f9189..3306f9189 100644
--- a/bundles/org.eclipse.equinox.p2.tests/testData/xzRepoTests/xzBusted/content.xml.xz
+++ b/bundles/org.eclipse.equinox.p2.tests/testData/xzRepoTests/metadata/xzBusted/content.xml.xz
diff --git a/bundles/org.eclipse.equinox.p2.tests/testData/xzRepoTests/xzBusted/p2.index b/bundles/org.eclipse.equinox.p2.tests/testData/xzRepoTests/metadata/xzBusted/p2.index
index 5c7a65533..5c7a65533 100644
--- a/bundles/org.eclipse.equinox.p2.tests/testData/xzRepoTests/xzBusted/p2.index
+++ b/bundles/org.eclipse.equinox.p2.tests/testData/xzRepoTests/metadata/xzBusted/p2.index
diff --git a/bundles/org.eclipse.equinox.p2.tests/testData/xzRepoTests/xzOnly/content.xml.xz b/bundles/org.eclipse.equinox.p2.tests/testData/xzRepoTests/metadata/xzOnly/content.xml.xz
index b4010f8b1..b4010f8b1 100644
--- a/bundles/org.eclipse.equinox.p2.tests/testData/xzRepoTests/xzOnly/content.xml.xz
+++ b/bundles/org.eclipse.equinox.p2.tests/testData/xzRepoTests/metadata/xzOnly/content.xml.xz
Binary files differ
diff --git a/bundles/org.eclipse.equinox.p2.tests/testData/xzRepoTests/xzOnly/p2.index b/bundles/org.eclipse.equinox.p2.tests/testData/xzRepoTests/metadata/xzOnly/p2.index
index 5c7a65533..5c7a65533 100644
--- a/bundles/org.eclipse.equinox.p2.tests/testData/xzRepoTests/xzOnly/p2.index
+++ b/bundles/org.eclipse.equinox.p2.tests/testData/xzRepoTests/metadata/xzOnly/p2.index

Back to the top