Class ConcurrentParameterizedRunner

  • All Implemented Interfaces:
    org.junit.runner.Describable, org.junit.runner.manipulation.Filterable, org.junit.runner.manipulation.Orderable, org.junit.runner.manipulation.Sortable

    @Beta
    public class ConcurrentParameterizedRunner
    extends org.junit.runners.BlockJUnit4ClassRunner
    Custom implementation of a JUnit Runner that allows parameterized tests to run in parallel. This runner will probably be merged into ConcurrentRunner in the future.
    Author:
    Jakub Podlesak
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void runChild​(org.junit.runners.model.FrameworkMethod method, org.junit.runner.notification.RunNotifier notifier)  
      protected void validateTestMethods​(List<Throwable> errors)  
      • Methods inherited from class org.junit.runners.BlockJUnit4ClassRunner

        collectInitializationErrors, computeTestMethods, createTest, createTest, describeChild, getChildren, getTestRules, isIgnored, methodBlock, methodInvoker, possiblyExpectingExceptions, rules, testName, validateConstructor, validateFields, validateInstanceMethods, validateNoNonStaticInnerClass, validateOnlyOneConstructor, validateZeroArgConstructor, withAfters, withBefores, withPotentialTimeout
      • Methods inherited from class org.junit.runners.ParentRunner

        childrenInvoker, classBlock, classRules, createTestClass, filter, getDescription, getName, getRunnerAnnotations, getTestClass, order, run, runLeaf, setScheduler, sort, validatePublicVoidNoArgMethods, withAfterClasses, withBeforeClasses, withInterruptIsolation
      • Methods inherited from class org.junit.runner.Runner

        testCount
    • Constructor Detail

      • ConcurrentParameterizedRunner

        public ConcurrentParameterizedRunner​(Class<?> clazz)
                                      throws Throwable
        Create a new runner for given test class.
        Parameters:
        clazz - test class
        Throws:
        Throwable
    • Method Detail

      • validateTestMethods

        protected void validateTestMethods​(List<Throwable> errors)
        Overrides:
        validateTestMethods in class org.junit.runners.BlockJUnit4ClassRunner
      • runChild

        protected void runChild​(org.junit.runners.model.FrameworkMethod method,
                                org.junit.runner.notification.RunNotifier notifier)
        Overrides:
        runChild in class org.junit.runners.BlockJUnit4ClassRunner