org.junit.contrib.theories
Class Theories

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

public class Theories
extends org.junit.runners.BlockJUnit4ClassRunner


Nested Class Summary
static class Theories.TheoryAnchor
           
 
Constructor Summary
Theories(Class<?> klass)
           
 
Method Summary
protected  void collectInitializationErrors(List<Throwable> errors)
           
protected  List<org.junit.runners.model.FrameworkMethod> computeTestMethods()
           
 org.junit.runners.model.Statement methodBlock(org.junit.runners.model.FrameworkMethod method)
           
protected  void validateConstructor(List<Throwable> errors)
           
protected  void validateTestMethods(List<Throwable> errors)
           
 
Methods inherited from class org.junit.runners.BlockJUnit4ClassRunner
createTest, describeChild, getChildren, getTestRules, isIgnored, methodInvoker, possiblyExpectingExceptions, rules, runChild, testName, 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, 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

Theories

public Theories(Class<?> klass)
         throws org.junit.runners.model.InitializationError
Throws:
org.junit.runners.model.InitializationError
Method Detail

collectInitializationErrors

protected void collectInitializationErrors(List<Throwable> errors)
Overrides:
collectInitializationErrors in class org.junit.runners.BlockJUnit4ClassRunner

validateConstructor

protected void validateConstructor(List<Throwable> errors)
Overrides:
validateConstructor in class org.junit.runners.BlockJUnit4ClassRunner

validateTestMethods

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

computeTestMethods

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

methodBlock

public org.junit.runners.model.Statement methodBlock(org.junit.runners.model.FrameworkMethod method)
Overrides:
methodBlock in class org.junit.runners.BlockJUnit4ClassRunner


Copyright © 2014. All Rights Reserved.