Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/metadata/repository/CompositeMetadataRepositoryTest.java10
-rw-r--r--bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/mirror/ArtifactMirrorApplicationTest.java4
-rw-r--r--bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/mirror/MetadataMirrorApplicationTest.java4
-rw-r--r--bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/mirror/NewMirrorApplicationArtifactTest.java4
-rw-r--r--bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/mirror/NewMirrorApplicationMetadataTest.java4
5 files changed, 13 insertions, 13 deletions
diff --git a/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/metadata/repository/CompositeMetadataRepositoryTest.java b/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/metadata/repository/CompositeMetadataRepositoryTest.java
index 2a447dde5..d16f5da44 100644
--- a/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/metadata/repository/CompositeMetadataRepositoryTest.java
+++ b/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/metadata/repository/CompositeMetadataRepositoryTest.java
@@ -589,10 +589,10 @@ public class CompositeMetadataRepositoryTest extends AbstractProvisioningTest {
PrintStream out = System.out;
try {
// System.setOut(new PrintStream(new StringBufferStream()));
- URI location = new URI("http://foo.org/in/memory");
- URI childOne = new URI("http://foo.org/in/memory/one");
- URI childTwo = new URI("http://foo.org/in/memory/two");
- URI childThree = new URI("http://foo.org/in/memory/three");
+ URI location = new URI("http://eclipse.org/equinox/in/memory");
+ URI childOne = new URI("http://eclipse.org/equinox/in/memory/one");
+ URI childTwo = new URI("http://eclipse.org/equinox/in/memory/two");
+ URI childThree = new URI("http://eclipse.org/equinox/in/memory/three");
CompositeMetadataRepository repository = createRepository(location, "in memory test");
repository.addChild(childOne);
repository.addChild(childTwo);
@@ -659,7 +659,7 @@ public class CompositeMetadataRepositoryTest extends AbstractProvisioningTest {
PrintStream out = System.out;
try {
System.setOut(new PrintStream(new StringBufferStream()));
- URI location = new URI("http://foo.org/in/memory");
+ URI location = new URI("http://eclipse.org/equinox/in/memory");
URI one = new URI("one");
URI two = new URI("two");
CompositeMetadataRepository repository = createRepository(location, "in memory test");
diff --git a/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/mirror/ArtifactMirrorApplicationTest.java b/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/mirror/ArtifactMirrorApplicationTest.java
index dc66b689c..3befbeb67 100644
--- a/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/mirror/ArtifactMirrorApplicationTest.java
+++ b/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/mirror/ArtifactMirrorApplicationTest.java
@@ -530,7 +530,7 @@ public class ArtifactMirrorApplicationTest extends AbstractProvisioningTest {
public void testArtifactMirrorToInvalid() {
try {
//Setup: create a URI pointing to an unmodifiable place
- URI invalidDestRepository = new URI("http://foobar.com/abcdefg");
+ URI invalidDestRepository = new URI("http://eclipse.org/equinox/foobar/abcdefg");
//run the application with the modifiable destination
basicRunMirrorApplication("14.1", sourceRepoLocation.toURL(), invalidDestRepository.toURL(), true);
@@ -554,7 +554,7 @@ public class ArtifactMirrorApplicationTest extends AbstractProvisioningTest {
try {
//Setup: create a URI pointing to an unmodifiable place
- URI invalidDestRepository = new URI("http://foobar.com/abcdefg");
+ URI invalidDestRepository = new URI("http://eclipse.org/equinox/foobar/abcdefg");
basicRunMirrorApplication("15.1", invalidRepository.toURL(), invalidDestRepository.toURL(), true);
//We expect the ProvisionException to be thrown
fail("15.0 ProvisionException not thrown");
diff --git a/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/mirror/MetadataMirrorApplicationTest.java b/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/mirror/MetadataMirrorApplicationTest.java
index ef61158ea..9c40d79a5 100644
--- a/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/mirror/MetadataMirrorApplicationTest.java
+++ b/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/mirror/MetadataMirrorApplicationTest.java
@@ -519,7 +519,7 @@ public class MetadataMirrorApplicationTest extends AbstractProvisioningTest {
public void testMetadataMirrorToInvalid() {
URI invalidDestRepository;
try {
- invalidDestRepository = new URI("http://foobar.com/abcdefg");
+ invalidDestRepository = new URI("http://eclipse.org/equinox/foobar/abcdefg");
basicRunMirrorApplication("14.1", sourceRepoLocation.toURL(), invalidDestRepository.toURL(), true);
//we expect an illegal state exception to be thrown and should never get here
fail("14.0 IllegalStateExpection not thrown");
@@ -538,7 +538,7 @@ public class MetadataMirrorApplicationTest extends AbstractProvisioningTest {
delete(invalidRepository);
try {
- URI invalidDestRepository = new URI("http://foobar.com/abcdefg");
+ URI invalidDestRepository = new URI("http://eclipse.org/equinox/foobar/abcdefg");
basicRunMirrorApplication("15.1", invalidRepository.toURL(), invalidDestRepository.toURL(), true);
//we expect a provisioning exception to be thrown and should never get here
fail("15.0 ProvisionExpection not thrown");
diff --git a/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/mirror/NewMirrorApplicationArtifactTest.java b/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/mirror/NewMirrorApplicationArtifactTest.java
index 1fdd137f7..a0f20dbbf 100644
--- a/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/mirror/NewMirrorApplicationArtifactTest.java
+++ b/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/mirror/NewMirrorApplicationArtifactTest.java
@@ -557,7 +557,7 @@ public class NewMirrorApplicationArtifactTest extends AbstractProvisioningTest {
URI invalidDestRepository = null;
try {
//Setup: create a URI pointing to an unmodifiable place
- invalidDestRepository = new URI("http://foobar.com/abcdefg");
+ invalidDestRepository = new URI("http://eclipse.org/equinox/foobar/abcdefg");
//run the application with the modifiable destination
basicRunMirrorApplication("14.1", sourceRepoLocation.toURI(), invalidDestRepository, true, false);
@@ -585,7 +585,7 @@ public class NewMirrorApplicationArtifactTest extends AbstractProvisioningTest {
try {
//Setup: create a URI pointing to an unmodifiable place
- URI invalidDestRepository = new URI("http://foobar.com/abcdefg");
+ URI invalidDestRepository = new URI("http://eclipse.org/equinox/foobar/abcdefg");
basicRunMirrorApplication("15.1", invalidRepository.toURI(), invalidDestRepository, true, false);
//We expect the ProvisionException to be thrown
fail("15.0 ProvisionException not thrown");
diff --git a/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/mirror/NewMirrorApplicationMetadataTest.java b/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/mirror/NewMirrorApplicationMetadataTest.java
index 5a923a1bb..606394337 100644
--- a/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/mirror/NewMirrorApplicationMetadataTest.java
+++ b/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/mirror/NewMirrorApplicationMetadataTest.java
@@ -554,7 +554,7 @@ public class NewMirrorApplicationMetadataTest extends AbstractProvisioningTest {
public void testMetadataMirrorToInvalid() {
URI invalidDestRepository = null;
try {
- invalidDestRepository = new URI("http://foobar.com/abcdefg");
+ invalidDestRepository = new URI("http://eclipse.org/equinox/foobar/abcdefg");
basicRunMirrorApplication("14.1", sourceRepoLocation.toURL(), invalidDestRepository.toURL(), true);
//we expect an illegal state exception to be thrown and should never get here
fail("14.0 IllegalStateExpection not thrown");
@@ -577,7 +577,7 @@ public class NewMirrorApplicationMetadataTest extends AbstractProvisioningTest {
delete(invalidRepository);
try {
- URI invalidDestRepository = new URI("http://foobar.com/abcdefg");
+ URI invalidDestRepository = new URI("http://eclipse.org/equinox/foobar/abcdefg");
basicRunMirrorApplication("15.1", invalidRepository.toURL(), invalidDestRepository.toURL(), true);
//we expect a provisioning exception to be thrown and should never get here
fail("15.0 ProvisionExpection not thrown");

Back to the top