Class JUnitCoreParameters

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

public final class JUnitCoreParameters extends Object
Author:
Kristian Rosenvold
  • Field Details

  • Constructor Details

    • JUnitCoreParameters

      public JUnitCoreParameters(Map<String,String> properties)
  • Method Details

    • 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()
    • toString

      public String toString()
      Overrides:
      toString in class Object