org.apache.maven.surefire.booter
Class ClasspathConfiguration

java.lang.Object
  extended by org.apache.maven.surefire.booter.ClasspathConfiguration

public class ClasspathConfiguration
extends Object

Represents the classpaths for the BooterConfiguration.

Author:
Jason van Zyl, Emmanuel Venisse, Kristian Rosenvold

Field Summary
static String CHILD_DELEGATION
           
static String CLASSPATH
           
static String ENABLE_ASSERTIONS
           
static String SUREFIRE_CLASSPATH
           
 
Constructor Summary
ClasspathConfiguration(boolean enableAssertions, boolean childDelegation)
           
ClasspathConfiguration(Classpath testClasspath, Classpath surefireClassPathUrls, Classpath inprocClasspath, boolean enableAssertions, boolean childDelegation)
           
 
Method Summary
 ClassLoader createMergedClassLoader()
           
 Classpath getProviderClasspath()
           
 Classpath getTestClasspath()
           
 boolean isChildDelegation()
           
 boolean isEnableAssertions()
           
 void trickClassPathWhenManifestOnlyClasspath()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CHILD_DELEGATION

public static final String CHILD_DELEGATION
See Also:
Constant Field Values

ENABLE_ASSERTIONS

public static final String ENABLE_ASSERTIONS
See Also:
Constant Field Values

CLASSPATH

public static final String CLASSPATH
See Also:
Constant Field Values

SUREFIRE_CLASSPATH

public static final String SUREFIRE_CLASSPATH
See Also:
Constant Field Values
Constructor Detail

ClasspathConfiguration

public ClasspathConfiguration(boolean enableAssertions,
                              boolean childDelegation)

ClasspathConfiguration

public ClasspathConfiguration(Classpath testClasspath,
                              Classpath surefireClassPathUrls,
                              Classpath inprocClasspath,
                              boolean enableAssertions,
                              boolean childDelegation)
Method Detail

createMergedClassLoader

public ClassLoader createMergedClassLoader()
                                    throws SurefireExecutionException
Throws:
SurefireExecutionException

getProviderClasspath

public Classpath getProviderClasspath()

getTestClasspath

public Classpath getTestClasspath()

trickClassPathWhenManifestOnlyClasspath

public void trickClassPathWhenManifestOnlyClasspath()
                                             throws SurefireExecutionException
Throws:
SurefireExecutionException

isEnableAssertions

public boolean isEnableAssertions()

isChildDelegation

public boolean isChildDelegation()


Copyright © 2004-2013 The Apache Software Foundation. All Rights Reserved.