public class ClasspathConfiguration extends AbstractPathConfiguration
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) |
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, toRealPath
public ClasspathConfiguration(boolean enableAssertions, boolean childDelegation)
protected Classpath getInprocClasspath()
getInprocClasspath
in class AbstractPathConfiguration
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 void trickClassPathWhenManifestOnlyClasspath()
Copyright © 2004–2018 The Apache Software Foundation. All rights reserved.