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

public class AnnotatedEmbedderRunner
extends org.junit.runners.BlockJUnit4ClassRunner

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


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

Constructor Detail

AnnotatedEmbedderRunner

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

createTest

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

annotationBuilder

public AnnotationBuilder annotationBuilder()

testClass

protected java.lang.Class<?> testClass()


Copyright © 2003-2010. All Rights Reserved.