public class ClasspathConfiguration
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CHILD_DELEGATION |
private boolean |
childDelegation |
static java.lang.String |
CLASSPATH |
private Classpath |
classpathUrls |
static java.lang.String |
ENABLE_ASSERTIONS |
private boolean |
enableAssertions
Whether to enable assertions or not (can be affected by the fork arguments, and the ability to do so based on the
JVM).
|
private Classpath |
inprocClasspath
The surefire classpath to use when invoking in-process with the plugin
|
static java.lang.String |
SUREFIRE_CLASSPATH |
private Classpath |
surefireClasspathUrls |
Constructor and Description |
---|
ClasspathConfiguration(boolean enableAssertions,
boolean childDelegation) |
ClasspathConfiguration(Classpath testClasspath,
Classpath surefireClassPathUrls,
Classpath inprocClasspath,
boolean enableAssertions,
boolean childDelegation) |
ClasspathConfiguration(PropertiesWrapper properties) |
Modifier and Type | Method and Description |
---|---|
java.lang.ClassLoader |
createMergedClassLoader() |
Classpath |
getProviderClasspath() |
Classpath |
getTestClasspath() |
boolean |
isChildDelegation() |
boolean |
isEnableAssertions() |
void |
trickClassPathWhenManifestOnlyClasspath() |
public static final java.lang.String CHILD_DELEGATION
public static final java.lang.String ENABLE_ASSERTIONS
public static final java.lang.String CLASSPATH
public static final java.lang.String SUREFIRE_CLASSPATH
private final Classpath classpathUrls
private final Classpath surefireClasspathUrls
private final Classpath inprocClasspath
private final boolean enableAssertions
private final boolean childDelegation
public ClasspathConfiguration(boolean enableAssertions, boolean childDelegation)
ClasspathConfiguration(PropertiesWrapper properties)
public java.lang.ClassLoader createMergedClassLoader() throws SurefireExecutionException
SurefireExecutionException
public Classpath getProviderClasspath()
public Classpath getTestClasspath()
public void trickClassPathWhenManifestOnlyClasspath() throws SurefireExecutionException
SurefireExecutionException
public boolean isEnableAssertions()
public boolean isChildDelegation()