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

java.lang.Object
  extended by de.bechte.junit.runners.context.statements.StatementExecutor
      extended by de.bechte.junit.runners.context.statements.MethodStatementExecutor

public class MethodStatementExecutor
extends StatementExecutor

The MethodStatementExecutor extends the StatementExecutor, providing additional notifications when the test is started and finished.

See Also:
StatementExecutor

Constructor Summary
MethodStatementExecutor()
           
 
Method Summary
protected  void afterExecution(org.junit.internal.runners.model.EachTestNotifier notifier)
          Clients may override this method to add additional behavior after the execution of the statement.
protected  void beforeExecution(org.junit.internal.runners.model.EachTestNotifier notifier)
          Clients may override this method to add additional behavior prior to the execution of the statement.
 
Methods inherited from class de.bechte.junit.runners.context.statements.StatementExecutor
execute, whenAssumptionViolatedExceptionIsRaised, whenInitializationErrorIsRaised, whenThrowableIsRaised
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MethodStatementExecutor

public MethodStatementExecutor()
Method Detail

beforeExecution

protected void beforeExecution(org.junit.internal.runners.model.EachTestNotifier notifier)
Description copied from class: StatementExecutor
Clients may override this method to add additional behavior prior to the execution of the statement. The call of this method is guaranteed.

Overrides:
beforeExecution in class StatementExecutor
Parameters:
notifier - the notifier

afterExecution

protected void afterExecution(org.junit.internal.runners.model.EachTestNotifier notifier)
Description copied from class: StatementExecutor
Clients may override this method to add additional behavior after the execution of the statement. The call of this method is guaranteed.

Overrides:
afterExecution in class StatementExecutor
Parameters:
notifier - the notifier


Copyright © 2015. All rights reserved.