org.apache.aries.itest
Class ExtraOptions

java.lang.Object
  extended by org.apache.aries.itest.ExtraOptions

public class ExtraOptions
extends Object


Constructor Summary
ExtraOptions()
           
 
Method Summary
static org.ops4j.pax.exam.Option[] bundles(String... specs)
          Specify a collection of bundles
static org.ops4j.pax.exam.Option[] flatOptions(Object... params)
          Convert a list of options or Option[] into a flat list of options
static org.ops4j.pax.exam.options.MavenArtifactProvisionOption mavenBundle(String groupId, String artifactId)
           
static org.ops4j.pax.exam.options.MavenArtifactProvisionOption mavenBundleInTest(ClassLoader loader, String groupId, String artifactId)
          For use in the actual test code, which runs in OSGi and has no normal access to the configuration options
static org.ops4j.pax.exam.Option[] paxLogging(String defaultLogLevel)
          Add the pax logging provider with the given default logging level
static org.ops4j.pax.exam.Option[] testOptions(Object... params)
          Top level option combinator that adds platform fixes as needed
static org.ops4j.pax.exam.Option[] transactionBootDelegation()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExtraOptions

public ExtraOptions()
Method Detail

mavenBundle

public static org.ops4j.pax.exam.options.MavenArtifactProvisionOption mavenBundle(String groupId,
                                                                                  String artifactId)

mavenBundleInTest

public static org.ops4j.pax.exam.options.MavenArtifactProvisionOption mavenBundleInTest(ClassLoader loader,
                                                                                        String groupId,
                                                                                        String artifactId)
For use in the actual test code, which runs in OSGi and has no normal access to the configuration options

Parameters:
groupId -
artifactId -
Returns:

paxLogging

public static org.ops4j.pax.exam.Option[] paxLogging(String defaultLogLevel)
Add the pax logging provider with the given default logging level


transactionBootDelegation

public static org.ops4j.pax.exam.Option[] transactionBootDelegation()

flatOptions

public static org.ops4j.pax.exam.Option[] flatOptions(Object... params)
Convert a list of options or Option[] into a flat list of options

Parameters:
params -
Returns:

testOptions

public static org.ops4j.pax.exam.Option[] testOptions(Object... params)
Top level option combinator that adds platform fixes as needed

Parameters:
params -
Returns:

bundles

public static org.ops4j.pax.exam.Option[] bundles(String... specs)
Specify a collection of bundles

Parameters:
specs - Bundle specs of the format <group>/<artifact>[/<version>]
Returns:


Copyright © 2009-2012 The Apache Software Foundation. All Rights Reserved.