org.databene.contiperf.junit
Class BlockContiPerfClassRunner

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

public class BlockContiPerfClassRunner
extends org.junit.runners.BlockJUnit4ClassRunner

Replaces the standard BlockJUnit4ClassRunner for supporting ContiPerf features in performance test suites.

Created: 02.05.2010 07:54:08

Since:
1.05
Author:
Volker Bergmann

Field Summary
protected  ContiPerfRule rule
           
 
Constructor Summary
BlockContiPerfClassRunner(Class<?> testClass, Object suite)
           
 
Method Summary
protected  org.junit.runners.model.Statement methodBlock(org.junit.runners.model.FrameworkMethod method)
          method taken as is from BlockJUnit4ClassRunner 4.7 in order to preserve its functionality over following versions
protected  List<org.junit.rules.MethodRule> rules(Object test)
          actual override feature of this class
 
Methods inherited from class org.junit.runners.BlockJUnit4ClassRunner
collectInitializationErrors, computeTestMethods, createTest, describeChild, getChildren, getTestRules, methodInvoker, possiblyExpectingExceptions, runChild, testName, validateConstructor, 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
 

Field Detail

rule

protected ContiPerfRule rule
Constructor Detail

BlockContiPerfClassRunner

public BlockContiPerfClassRunner(Class<?> testClass,
                                 Object suite)
                          throws org.junit.runners.model.InitializationError
Throws:
org.junit.runners.model.InitializationError
Method Detail

methodBlock

protected org.junit.runners.model.Statement methodBlock(org.junit.runners.model.FrameworkMethod method)
method taken as is from BlockJUnit4ClassRunner 4.7 in order to preserve its functionality over following versions

Overrides:
methodBlock in class org.junit.runners.BlockJUnit4ClassRunner

rules

protected List<org.junit.rules.MethodRule> rules(Object test)
actual override feature of this class

Overrides:
rules in class org.junit.runners.BlockJUnit4ClassRunner


Copyright © 2013. All Rights Reserved.