Class DebugOptions
java.lang.Object
org.codice.ddf.test.common.options.BasicOptions
org.codice.ddf.test.common.options.DebugOptions
Contains test options useful for debugging tests.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.ops4j.pax.exam.Optionstatic org.ops4j.pax.exam.OptionAllows custom logging by passing in the `custom.logging` property with the value being in the format of `[package]=[logLevel];[anotherPackage]=[anotherLogLevel]static org.ops4j.pax.exam.OptionEnables ports for debugging.static org.ops4j.pax.exam.OptionPrevents the deletion of the distribution used during testing.Methods inherited from class org.codice.ddf.test.common.options.BasicOptions
appendConfiguration, getConfiguration, getConfigurationPath, getPortFinder, getProperties, recordConfiguration
-
Constructor Details
-
DebugOptions
public DebugOptions()
-
-
Method Details
-
keepRuntimeFolder
public static org.ops4j.pax.exam.Option keepRuntimeFolder()Prevents the deletion of the distribution used during testing.- Returns:
-
enableRemoteDebugging
public static org.ops4j.pax.exam.Option enableRemoteDebugging()Enables ports for debugging. Setting the `waitForDebug` property to true will cause the test to halt and wait for a remote debugger to attach before executing tests.- Returns:
-
enableCustomLogging
public static org.ops4j.pax.exam.Option enableCustomLogging()Allows custom logging by passing in the `custom.logging` property with the value being in the format of `[package]=[logLevel];[anotherPackage]=[anotherLogLevel]- Returns:
-
defaultDebuggingOptions
public static org.ops4j.pax.exam.Option defaultDebuggingOptions()
-