org.specrunner.junit
Class SRRunnerConcurrentScenario

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.SRRunnerConcurrentScenario
All Implemented Interfaces:
org.junit.runner.Describable, org.junit.runner.manipulation.Filterable, org.junit.runner.manipulation.Sortable

public class SRRunnerConcurrentScenario
extends ConcurrentRunner

SpecRunner concurrent executor.

Author:
Thiago Santos

Constructor Summary
SRRunnerConcurrentScenario(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)
           
protected  void runChild(org.junit.runners.model.FrameworkMethod method, org.junit.runner.notification.RunNotifier notifier)
           
 
Methods inherited from class org.junit.runners.BlockJUnit4ClassRunner
collectInitializationErrors, createTest, getChildren, getTestRules, methodBlock, possiblyExpectingExceptions, rules, 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

SRRunnerConcurrentScenario

public SRRunnerConcurrentScenario(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

runChild

protected void runChild(org.junit.runners.model.FrameworkMethod method,
                        org.junit.runner.notification.RunNotifier notifier)
Overrides:
runChild 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.