org.jbehave.core.junit
Class AnnotatedEmbedderRunner

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.jbehave.core.junit.AnnotatedEmbedderRunner
All Implemented Interfaces:
org.junit.runner.Describable, org.junit.runner.manipulation.Filterable, org.junit.runner.manipulation.Sortable
Direct Known Subclasses:
AnnotatedPathRunner

public class AnnotatedEmbedderRunner
extends org.junit.runners.BlockJUnit4ClassRunner

A JUnit Runner that uses the AnnotationBuilder to create an embeddable test instance.


Constructor Summary
AnnotatedEmbedderRunner(Class<?> testClass)
           
 
Method Summary
 AnnotationBuilder annotationBuilder()
           
 Object createTest()
           
protected  Class<?> testClass()
           
 
Methods inherited from class org.junit.runners.BlockJUnit4ClassRunner
collectInitializationErrors, computeTestMethods, describeChild, getChildren, methodBlock, methodInvoker, possiblyExpectingExceptions, runChild, testName, validateConstructor, validateInstanceMethods, validateOnlyOneConstructor, validateTestMethods, validateZeroArgConstructor, withAfters, withBefores, withPotentialTimeout
 
Methods inherited from class org.junit.runners.ParentRunner
childrenInvoker, classBlock, filter, getDescription, getName, getTestClass, run, 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

AnnotatedEmbedderRunner

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

createTest

public Object createTest()
Overrides:
createTest in class org.junit.runners.BlockJUnit4ClassRunner

annotationBuilder

public AnnotationBuilder annotationBuilder()

testClass

protected Class<?> testClass()


Copyright © 2003-2011. All Rights Reserved.