public class ModularClasspathConfiguration extends AbstractPathConfiguration
CHILD_DELEGATION, CLASSPATH, ENABLE_ASSERTIONS, SUREFIRE_CLASSPATH
Constructor and Description |
---|
ModularClasspathConfiguration(ModularClasspath modularClasspath,
Classpath testClasspathUrls,
Classpath surefireClasspathUrls,
Classpath inprocClasspath,
boolean enableAssertions,
boolean childDelegation) |
Modifier and Type | Method and Description |
---|---|
ClassLoader |
createMergedClassLoader() |
protected Classpath |
getInprocClasspath() |
ModularClasspath |
getModularClasspath() |
Classpath |
getTestClasspath() |
boolean |
isClassPathConfig()
Must be exclusive with
AbstractPathConfiguration.isModularPathConfig() . |
boolean |
isModularPathConfig()
Must be exclusive with
AbstractPathConfiguration.isClassPathConfig() . |
getProviderClasspath, isChildDelegation, isEnableAssertions, toRealPath
public Classpath getTestClasspath()
getTestClasspath
in class AbstractPathConfiguration
public final boolean isModularPathConfig()
AbstractPathConfiguration
AbstractPathConfiguration.isClassPathConfig()
.isModularPathConfig
in class AbstractPathConfiguration
true
if this
is ModularClasspathConfiguration
.public final boolean isClassPathConfig()
AbstractPathConfiguration
AbstractPathConfiguration.isModularPathConfig()
.isClassPathConfig
in class AbstractPathConfiguration
true
if this
is ClasspathConfiguration
.public ModularClasspath getModularClasspath()
public ClassLoader createMergedClassLoader() throws SurefireExecutionException
createMergedClassLoader
in class AbstractPathConfiguration
SurefireExecutionException
protected Classpath getInprocClasspath()
getInprocClasspath
in class AbstractPathConfiguration
Copyright © 2004–2023 The Apache Software Foundation. All rights reserved.