Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Arthorne2010-02-11 20:47:54 +0000
committerJohn Arthorne2010-02-11 20:47:54 +0000
commit0b8dce7904a64b4d00023cb81494ba3a7f3835f2 (patch)
tree34468e55e1695f8b7c47caf7a2571b76ce7cd240 /bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/artifact
parente1cdfad1c011907b941bbaeb71fd63df0ba0aec7 (diff)
downloadrt.equinox.p2-0b8dce7904a64b4d00023cb81494ba3a7f3835f2.tar.gz
rt.equinox.p2-0b8dce7904a64b4d00023cb81494ba3a7f3835f2.tar.xz
rt.equinox.p2-0b8dce7904a64b4d00023cb81494ba3a7f3835f2.zip
Bug 299987 - Removal of p2 services in favor of always using an agent
Diffstat (limited to 'bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/artifact')
-rw-r--r--bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/artifact/repository/ArtifactRepositoryMissingSizeData.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/artifact/repository/ArtifactRepositoryMissingSizeData.java b/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/artifact/repository/ArtifactRepositoryMissingSizeData.java
index 445f9ee72..1433988a1 100644
--- a/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/artifact/repository/ArtifactRepositoryMissingSizeData.java
+++ b/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/artifact/repository/ArtifactRepositoryMissingSizeData.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2009 IBM Corporation and others.
+ * Copyright (c) 2009, 2010 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -27,7 +27,6 @@ import org.eclipse.equinox.p2.repository.artifact.IArtifactRepositoryManager;
import org.eclipse.equinox.p2.repository.metadata.IMetadataRepository;
import org.eclipse.equinox.p2.repository.metadata.IMetadataRepositoryManager;
import org.eclipse.equinox.p2.tests.AbstractProvisioningTest;
-import org.eclipse.equinox.p2.tests.TestActivator;
public class ArtifactRepositoryMissingSizeData extends AbstractProvisioningTest {
private static final String testDataLocation = "testData/artifactRepo/missingArtifact";
@@ -47,7 +46,7 @@ public class ArtifactRepositoryMissingSizeData extends AbstractProvisioningTest
IArtifactRepositoryManager mgr = getArtifactRepositoryManager();
source = mgr.loadRepository((getTestData("MissingArtifact repo", testDataLocation).toURI()), null);
- engine = (IEngine) TestActivator.getContext().getService(TestActivator.getContext().getServiceReference(IEngine.SERVICE_NAME));
+ engine = getEngine();
}
public void testMissingArtifact() {

Back to the top