org.apache.maven.surefire.junitcore
Class JUnitCoreParameters

java.lang.Object
  extended by org.apache.maven.surefire.junitcore.JUnitCoreParameters

public final class JUnitCoreParameters
extends Object

Author:
Kristian Rosenvold

Field Summary
static String PARALLEL_KEY
           
static String PARALLEL_OPTIMIZE_KEY
           
static String PARALLEL_TIMEOUT_KEY
           
static String PARALLEL_TIMEOUTFORCED_KEY
           
static String PERCORETHREADCOUNT_KEY
           
static String THREADCOUNT_KEY
           
static String THREADCOUNTCLASSES_KEY
           
static String THREADCOUNTMETHODS_KEY
           
static String THREADCOUNTSUITES_KEY
           
static String USEUNLIMITEDTHREADS_KEY
           
 
Constructor Summary
JUnitCoreParameters(Properties properties)
           
 
Method Summary
 double getParallelTestsTimeoutForcedInSeconds()
           
 double getParallelTestsTimeoutInSeconds()
           
 int getThreadCount()
           
 int getThreadCountClasses()
           
 int getThreadCountMethods()
           
 int getThreadCountSuites()
           
 boolean isNoThreading()
           
 boolean isParallelBoth()
          Deprecated. Instead use the expression ( isParallelMethods() && isParallelClasses() ).
 boolean isParallelClasses()
           
 boolean isParallelismSelected()
           
 boolean isParallelMethods()
           
 boolean isParallelOptimization()
           
 boolean isParallelSuites()
           
 Boolean isPerCoreThreadCount()
           
 Boolean isUseUnlimitedThreads()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

PARALLEL_KEY

public static final String PARALLEL_KEY
See Also:
Constant Field Values

PERCORETHREADCOUNT_KEY

public static final String PERCORETHREADCOUNT_KEY
See Also:
Constant Field Values

THREADCOUNT_KEY

public static final String THREADCOUNT_KEY
See Also:
Constant Field Values

THREADCOUNTSUITES_KEY

public static final String THREADCOUNTSUITES_KEY
See Also:
Constant Field Values

THREADCOUNTCLASSES_KEY

public static final String THREADCOUNTCLASSES_KEY
See Also:
Constant Field Values

THREADCOUNTMETHODS_KEY

public static final String THREADCOUNTMETHODS_KEY
See Also:
Constant Field Values

USEUNLIMITEDTHREADS_KEY

public static final String USEUNLIMITEDTHREADS_KEY
See Also:
Constant Field Values

PARALLEL_TIMEOUT_KEY

public static final String PARALLEL_TIMEOUT_KEY
See Also:
Constant Field Values

PARALLEL_TIMEOUTFORCED_KEY

public static final String PARALLEL_TIMEOUTFORCED_KEY
See Also:
Constant Field Values

PARALLEL_OPTIMIZE_KEY

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

JUnitCoreParameters

public JUnitCoreParameters(Properties properties)
Method Detail

isParallelMethods

public boolean isParallelMethods()

isParallelClasses

public boolean isParallelClasses()

isParallelSuites

public boolean isParallelSuites()

isParallelBoth

@Deprecated
public boolean isParallelBoth()
Deprecated. Instead use the expression ( isParallelMethods() && isParallelClasses() ).


isPerCoreThreadCount

public Boolean isPerCoreThreadCount()

getThreadCount

public int getThreadCount()

getThreadCountMethods

public int getThreadCountMethods()

getThreadCountClasses

public int getThreadCountClasses()

getThreadCountSuites

public int getThreadCountSuites()

isUseUnlimitedThreads

public Boolean isUseUnlimitedThreads()

getParallelTestsTimeoutInSeconds

public double getParallelTestsTimeoutInSeconds()

getParallelTestsTimeoutForcedInSeconds

public double getParallelTestsTimeoutForcedInSeconds()

isNoThreading

public boolean isNoThreading()

isParallelismSelected

public boolean isParallelismSelected()

isParallelOptimization

public boolean isParallelOptimization()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2004–2014 The Apache Software Foundation. All rights reserved.