public class OptionsHelper extends Object
| Constructor and Description |
|---|
OptionsHelper() |
| Modifier and Type | Method and Description |
|---|---|
static org.ops4j.pax.exam.Option |
blueprintBundles()
Create a composite option which references all necessary bundles to run a
Blueprint extender.
|
static org.ops4j.pax.exam.Option |
defaultOptions(String pExaminee,
String... pDependencyComponent)
Creates the default options necessary to test a bundle component in an
OSGi environment.
|
static org.ops4j.pax.exam.Option |
karafContainer(org.ops4j.pax.exam.karaf.options.KarafFeaturesOption... pFeaturesToBeInstalled) |
static <T> ServiceStubber<T> |
stubService(Class<T> pServiceInterface)
Creates a service stubber.
|
public static org.ops4j.pax.exam.Option karafContainer(org.ops4j.pax.exam.karaf.options.KarafFeaturesOption... pFeaturesToBeInstalled)
public static org.ops4j.pax.exam.Option defaultOptions(String pExaminee, String... pDependencyComponent)
pExaminee - The name of the component to be testedpDependencyComponent - The names of the components which shall additionally be
installed into the test-container; can be empty.public static org.ops4j.pax.exam.Option blueprintBundles()
nullpublic static <T> ServiceStubber<T> stubService(Class<T> pServiceInterface)
pServiceInterface - The service interface to be stubbed.nullCopyright © 2015–2017 SourcePond. All rights reserved.