de.bechte.junit.runners.context.statements.builder
Interface MethodStatementBuilder
- All Known Implementing Classes:
- ExpectExceptionStatementBuilder, FailOnTimeoutStatementBuilder, HierarchicalRunAfterStatementBuilder, HierarchicalRunBeforeStatementBuilder, HierarchicalRunRulesStatementBuilder
public interface MethodStatementBuilder
The MethodStatementBuilder interfaces provides a simple Builder mechanism, used to create Statements.
The interface allows that all builders can be processed in a common manner.
|
Method Summary |
org.junit.runners.model.Statement |
createStatement(org.junit.runners.model.TestClass testClass,
org.junit.runners.model.FrameworkMethod method,
Object target,
org.junit.runners.model.Statement next,
org.junit.runner.Description description,
org.junit.runner.notification.RunNotifier notifier)
Creates a Statement for the given attributes. |
createStatement
org.junit.runners.model.Statement createStatement(org.junit.runners.model.TestClass testClass,
org.junit.runners.model.FrameworkMethod method,
Object target,
org.junit.runners.model.Statement next,
org.junit.runner.Description description,
org.junit.runner.notification.RunNotifier notifier)
- Creates a
Statement for the given attributes.
- Parameters:
testClass - the TestClass to create the Statement formethod - the FrameworkMethod to create the Statement fornext - the next Statement to evaluate after the new Statement has been processeddescription - the Description that should be used with the RunNotifiernotifier - the RunNotifier to be used to notify about events
- Returns:
- the created
Statement (must not be null!)
Copyright © 2015. All rights reserved.