Class JUnitCoreParameters
- java.lang.Object
-
- org.apache.maven.surefire.junitcore.JUnitCoreParameters
-
public final class JUnitCoreParameters extends Object
- Author:
- Kristian Rosenvold
-
-
Field Summary
Fields Modifier and Type Field Description 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
Constructors Constructor Description JUnitCoreParameters(Map<String,String> properties)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description 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()
-
-
-
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
-
-
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().- Returns:
true
if classes and methods are both parallel
-
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()
-
-