Class JUnitCoreParameters


  • public final class JUnitCoreParameters
    extends Object
    Author:
    Kristian Rosenvold
    • Constructor Detail

      • JUnitCoreParameters

        public JUnitCoreParameters​(Map<String,​String> 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().
        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()