public final class P2Context
extends org.junit.rules.ExternalResource
| Constructor and Description |
|---|
P2Context() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
after() |
protected void |
before() |
org.eclipse.equinox.p2.core.IProvisioningAgent |
getAgent()
Returns an instance of an
IProvisioningAgent. |
<T> T |
getService(Class<T> type) |
protected void before()
throws Throwable
before in class org.junit.rules.ExternalResourceThrowableprotected void after()
after in class org.junit.rules.ExternalResourcepublic org.eclipse.equinox.p2.core.IProvisioningAgent getAgent()
throws org.eclipse.equinox.p2.core.ProvisionException
IProvisioningAgent. If this instance acts as a JUnit
Rule, there is a separate instance for each test.org.eclipse.equinox.p2.core.ProvisionExceptionpublic <T> T getService(Class<T> type) throws org.eclipse.equinox.p2.core.ProvisionException
org.eclipse.equinox.p2.core.ProvisionExceptionCopyright © 2008-2015 Eclipse Foundation. All Rights Reserved.