public class RepositoryTest extends Object
Modifier and Type | Field and Description |
---|---|
org.junit.rules.TestName |
testName |
Constructor and Description |
---|
RepositoryTest() |
Modifier and Type | Method and Description |
---|---|
static void |
beforeClass()
All access to p2 services happen through the provisioning agent.
|
void |
createTestTempDir() |
protected org.eclipse.equinox.p2.repository.artifact.IArtifactRepositoryManager |
getArtifactRepoManager() |
protected org.osgi.framework.BundleContext |
getBundleContext() |
protected org.eclipse.equinox.p2.repository.metadata.IMetadataRepositoryManager |
getMetadataRepoManager() |
protected Path |
getTempDir() |
protected void |
writeSclConfig(Path confPath,
String name,
Path prefix) |
public static void beforeClass() throws Exception
Exception
- If the provisioning agent could not be created.protected org.osgi.framework.BundleContext getBundleContext()
protected org.eclipse.equinox.p2.repository.metadata.IMetadataRepositoryManager getMetadataRepoManager()
protected org.eclipse.equinox.p2.repository.artifact.IArtifactRepositoryManager getArtifactRepoManager()
protected Path getTempDir()
Copyright © 2008–2020 Eclipse Foundation. All rights reserved.