public abstract class AbstractPathConfiguration
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CHILD_DELEGATION |
private boolean |
childDelegation |
static java.lang.String |
CLASSPATH |
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).
|
static java.lang.String |
SUREFIRE_CLASSPATH |
private Classpath |
surefireClasspathUrls |
Modifier | Constructor and Description |
---|---|
protected |
AbstractPathConfiguration(Classpath surefireClasspathUrls,
boolean enableAssertions,
boolean childDelegation) |
Modifier and Type | Method and Description |
---|---|
java.lang.ClassLoader |
createMergedClassLoader() |
protected Classpath |
getInprocClasspath() |
Classpath |
getProviderClasspath() |
abstract Classpath |
getTestClasspath() |
boolean |
isChildDelegation()
Deprecated.
|
abstract boolean |
isClassPathConfig()
Must be exclusive with
isModularPathConfig() . |
boolean |
isEnableAssertions() |
abstract boolean |
isModularPathConfig()
Must be exclusive with
isClassPathConfig() . |
<T extends AbstractPathConfiguration> |
toRealPath(java.lang.Class<T> type) |
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 surefireClasspathUrls
private final boolean enableAssertions
private final boolean childDelegation
protected AbstractPathConfiguration(@Nonnull Classpath surefireClasspathUrls, boolean enableAssertions, boolean childDelegation)
public abstract Classpath getTestClasspath()
public abstract boolean isModularPathConfig()
isClassPathConfig()
.true
if this is ModularClasspathConfiguration
.public abstract boolean isClassPathConfig()
isModularPathConfig()
.true
if this is ClasspathConfiguration
.protected Classpath getInprocClasspath()
public <T extends AbstractPathConfiguration> T toRealPath(java.lang.Class<T> type)
public java.lang.ClassLoader createMergedClassLoader() throws SurefireExecutionException
SurefireExecutionException
public Classpath getProviderClasspath()
public boolean isEnableAssertions()
@Deprecated public boolean isChildDelegation()