Package org.apache.maven.surefire.booter
Class AbstractPathConfiguration
java.lang.Object
org.apache.maven.surefire.booter.AbstractPathConfiguration
- Direct Known Subclasses:
ClasspathConfiguration,ModularClasspathConfiguration
- Since:
- 2.21.0.Jigsaw
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringprivate final booleanstatic final Stringstatic final Stringprivate final booleanWhether to enable assertions or not (can be affected by the fork arguments, and the ability to do so based on the JVM).static final Stringprivate final Classpath -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractPathConfiguration(Classpath surefireClasspathUrls, boolean enableAssertions, boolean childDelegation) -
Method Summary
Modifier and TypeMethodDescription(package private) final ClassLoaderprotected abstract Classpath(package private) final Classpathabstract ClasspathbooleanDeprecated.abstract booleanMust be exclusive withisModularPathConfig().booleanabstract booleanMust be exclusive withisClassPathConfig().<T extends AbstractPathConfiguration>
TtoRealPath(Class<T> type)
-
Field Details
-
CHILD_DELEGATION
- See Also:
-
ENABLE_ASSERTIONS
- See Also:
-
CLASSPATH
- See Also:
-
SUREFIRE_CLASSPATH
- See Also:
-
surefireClasspathUrls
-
enableAssertions
private final boolean enableAssertionsWhether to enable assertions or not (can be affected by the fork arguments, and the ability to do so based on the JVM). -
childDelegation
private final boolean childDelegation
-
-
Constructor Details
-
AbstractPathConfiguration
-
-
Method Details
-
getTestClasspath
-
isModularPathConfig
public abstract boolean isModularPathConfig()Must be exclusive withisClassPathConfig().- Returns:
trueifthisisModularClasspathConfiguration.
-
isClassPathConfig
public abstract boolean isClassPathConfig()Must be exclusive withisModularPathConfig().- Returns:
trueifthisisClasspathConfiguration.
-
getInprocClasspath
-
toRealPath
-
createMergedClassLoader
- Throws:
SurefireExecutionException
-
getProviderClasspath
-
isEnableAssertions
public boolean isEnableAssertions() -
isChildDelegation
Deprecated. -
getInprocTestClasspath
-
createMergedClassLoader
- Throws:
SurefireExecutionException
-