Class JUnitCoreParameters
java.lang.Object
org.apache.maven.surefire.junitcore.JUnitCoreParameters
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final String
static final String
static final String
static final String
static final String
private final boolean
private final double
private final double
private final boolean
static final String
private final int
static final String
private final int
static final String
private final int
static final String
private final int
static final String
private final boolean
static final String
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondouble
double
int
int
int
int
private boolean
boolean
boolean
Deprecated.Instead use the expression isParallelMethods() && isParallelClasses().boolean
boolean
boolean
boolean
boolean
boolean
boolean
private static Collection<String>
private static boolean
private static double
private static int
private static String
toString()
-
Field Details
-
PARALLEL_KEY
- See Also:
-
PERCORETHREADCOUNT_KEY
- See Also:
-
THREADCOUNT_KEY
- See Also:
-
THREADCOUNTSUITES_KEY
- See Also:
-
THREADCOUNTCLASSES_KEY
- See Also:
-
THREADCOUNTMETHODS_KEY
- See Also:
-
USEUNLIMITEDTHREADS_KEY
- See Also:
-
PARALLEL_TIMEOUT_KEY
- See Also:
-
PARALLEL_TIMEOUTFORCED_KEY
- See Also:
-
PARALLEL_OPTIMIZE_KEY
- See Also:
-
parallel
-
perCoreThreadCount
private final boolean perCoreThreadCount -
threadCount
private final int threadCount -
threadCountSuites
private final int threadCountSuites -
threadCountClasses
private final int threadCountClasses -
threadCountMethods
private final int threadCountMethods -
parallelTestsTimeoutInSeconds
private final double parallelTestsTimeoutInSeconds -
parallelTestsTimeoutForcedInSeconds
private final double parallelTestsTimeoutForcedInSeconds -
useUnlimitedThreads
private final boolean useUnlimitedThreads -
parallelOptimization
private final boolean parallelOptimization
-
-
Constructor Details
-
JUnitCoreParameters
-
-
Method Details
-
lowerCase
-
isAllParallel
private boolean isAllParallel() -
isParallelMethods
public boolean isParallelMethods() -
isParallelClasses
public boolean isParallelClasses() -
isParallelSuites
public boolean isParallelSuites() -
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() -
toString
-
property
-
property
-
property
-
property
-