de.bechte.junit.runners.context.statements
Class StatementExecutorFactory

java.lang.Object
  extended by de.bechte.junit.runners.context.statements.StatementExecutorFactory
Direct Known Subclasses:
DefaultStatementExecutorFactory

public abstract class StatementExecutorFactory
extends Object

The StatementExecutorFactory resolves the StatementExecutors for classes and methods. These two types might differ, as they require different reporting. Note: Clients can register their own factory by setting the system property with key PROPERTY_KEY. This property must contain a name of the implementation class, e.g. "com.you.factories.MyStatementExecutorFactory". If no property is set the DefaultStatementExecutorFactory will be used instead.


Field Summary
protected static String PROPERTY_KEY
           
 
Constructor Summary
protected StatementExecutorFactory()
           
 
Method Summary
static StatementExecutorFactory getDefault()
           
abstract  StatementExecutor getExecutorForClasses()
           
abstract  StatementExecutor getExecutorForMethods()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROPERTY_KEY

protected static final String PROPERTY_KEY
Constructor Detail

StatementExecutorFactory

protected StatementExecutorFactory()
Method Detail

getDefault

public static StatementExecutorFactory getDefault()

getExecutorForClasses

public abstract StatementExecutor getExecutorForClasses()

getExecutorForMethods

public abstract StatementExecutor getExecutorForMethods()


Copyright © 2015. All rights reserved.