org.specrunner.junit
Class SRRunnerConcurrent

java.lang.Object
  extended by org.junit.runner.Runner
      extended by org.junit.runners.ParentRunner<org.junit.runners.model.FrameworkMethod>
          extended by org.junit.runners.BlockJUnit4ClassRunner
              extended by org.specrunner.junit.ConcurrentRunner
                  extended by org.specrunner.junit.SRRunnerConcurrent
All Implemented Interfaces:
org.junit.runner.Describable, org.junit.runner.manipulation.Filterable, org.junit.runner.manipulation.Sortable

public class SRRunnerConcurrent
extends ConcurrentRunner

SpecRunner concurrent executor.

Author:
Thiago Santos

Constructor Summary
SRRunnerConcurrent(Class<?> clazz)
          Basic constructor.
 
Method Summary
protected  List<org.junit.runners.model.FrameworkMethod> computeTestMethods()
           
protected  org.junit.runner.Description describeChild(org.junit.runners.model.FrameworkMethod method)
           
protected  org.junit.runners.model.Statement methodInvoker(org.junit.runners.model.FrameworkMethod method, Object test)
           
 
Methods inherited from class org.junit.runners.BlockJUnit4ClassRunner
collectInitializationErrors, createTest, getChildren, getTestRules, methodBlock, possiblyExpectingExceptions, rules, runChild, testName, validateConstructor, validateFields, validateInstanceMethods, validateNoNonStaticInnerClass, validateOnlyOneConstructor, validateTestMethods, validateZeroArgConstructor, withAfters, withBefores, withPotentialTimeout
 
Methods inherited from class org.junit.runners.ParentRunner
childrenInvoker, classBlock, classRules, filter, getDescription, getName, getRunnerAnnotations, getTestClass, run, runLeaf, setScheduler, sort, validatePublicVoidNoArgMethods, withAfterClasses, withBeforeClasses
 
Methods inherited from class org.junit.runner.Runner
testCount
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SRRunnerConcurrent

public SRRunnerConcurrent(Class<?> clazz)
                   throws org.junit.runners.model.InitializationError
Basic constructor.

Parameters:
clazz - The test class.
Throws:
org.junit.runners.model.InitializationError - On initialization errors.
Method Detail

computeTestMethods

protected List<org.junit.runners.model.FrameworkMethod> computeTestMethods()
Overrides:
computeTestMethods in class org.junit.runners.BlockJUnit4ClassRunner

describeChild

protected org.junit.runner.Description describeChild(org.junit.runners.model.FrameworkMethod method)
Overrides:
describeChild in class org.junit.runners.BlockJUnit4ClassRunner

methodInvoker

protected org.junit.runners.model.Statement methodInvoker(org.junit.runners.model.FrameworkMethod method,
                                                          Object test)
Overrides:
methodInvoker in class org.junit.runners.BlockJUnit4ClassRunner


Copyright © 2014. All rights reserved.