Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rapicault2009-12-10 15:21:15 +0000
committerPascal Rapicault2009-12-10 15:21:15 +0000
commit0bf7cdf41aa5455bc8423a82d636b4ddc045dfe9 (patch)
tree521137fe5c8f2754b4a903c88392743e368b01b2
parentc5a9c86654bfc50f0f838944a67f636732abc21f (diff)
downloadrt.equinox.p2-0bf7cdf41aa5455bc8423a82d636b4ddc045dfe9.tar.gz
rt.equinox.p2-0bf7cdf41aa5455bc8423a82d636b4ddc045dfe9.tar.xz
rt.equinox.p2-0bf7cdf41aa5455bc8423a82d636b4ddc045dfe9.zip
Use ProvisioningAgent instead of acquiring servicesR3_6_api_cleanup_v20091210
-rw-r--r--bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/full/End2EndTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/full/End2EndTest.java b/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/full/End2EndTest.java
index 82c183e9d..46d990f9c 100644
--- a/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/full/End2EndTest.java
+++ b/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/full/End2EndTest.java
@@ -132,7 +132,7 @@ public class End2EndTest extends AbstractProvisioningTest {
}
private void rollbackPlatformSource35(IProfile profile2, File installFolder) {
- IProfileRegistry profileRegistry = getProfileRegistry();
+ IProfileRegistry profileRegistry = (IProfileRegistry) end2endAgent.getService(IProfileRegistry.SERVICE_NAME);
long[] timestamps = profileRegistry.listProfileTimestamps(profile2.getProfileId());
assertEquals(3, timestamps.length);

Back to the top