public class ClasspathConfiguration extends AbstractPathConfiguration
| Modifier and Type | Field and Description |
|---|---|
private Classpath |
inprocClasspath
The surefire classpath to use when invoking in-process with the plugin
|
private Classpath |
testClasspathUrls |
CHILD_DELEGATION, CLASSPATH, ENABLE_ASSERTIONS, SUREFIRE_CLASSPATH| Constructor and Description |
|---|
ClasspathConfiguration(boolean enableAssertions,
boolean childDelegation) |
ClasspathConfiguration(Classpath testClasspathUrls,
Classpath surefireClassPathUrls,
Classpath inprocClasspath,
boolean enableAssertions,
boolean childDelegation) |
ClasspathConfiguration(PropertiesWrapper properties) |
| Modifier and Type | Method and Description |
|---|---|
protected Classpath |
getInprocClasspath() |
Classpath |
getTestClasspath() |
boolean |
isClassPathConfig()
Must be exclusive with
AbstractPathConfiguration.isModularPathConfig(). |
boolean |
isModularPathConfig()
Must be exclusive with
AbstractPathConfiguration.isClassPathConfig(). |
void |
trickClassPathWhenManifestOnlyClasspath() |
createMergedClassLoader, getProviderClasspath, isChildDelegation, isEnableAssertions, toRealPathprivate final Classpath testClasspathUrls
private final Classpath inprocClasspath
public ClasspathConfiguration(boolean enableAssertions,
boolean childDelegation)
ClasspathConfiguration(@Nonnull
PropertiesWrapper properties)
protected Classpath getInprocClasspath()
getInprocClasspath in class AbstractPathConfigurationpublic Classpath getTestClasspath()
getTestClasspath in class AbstractPathConfigurationpublic final boolean isModularPathConfig()
AbstractPathConfigurationAbstractPathConfiguration.isClassPathConfig().isModularPathConfig in class AbstractPathConfigurationtrue if this is ModularClasspathConfiguration.public final boolean isClassPathConfig()
AbstractPathConfigurationAbstractPathConfiguration.isModularPathConfig().isClassPathConfig in class AbstractPathConfigurationtrue if this is ClasspathConfiguration.public void trickClassPathWhenManifestOnlyClasspath()
throws SurefireExecutionException
SurefireExecutionException