Package de.isas.mztab2.test.utils
Class LogMethodName
- java.lang.Object
-
- org.junit.rules.TestWatcher
-
- de.isas.mztab2.test.utils.LogMethodName
-
- All Implemented Interfaces:
org.junit.rules.TestRule
public class LogMethodName extends org.junit.rules.TestWatcher
JUnit TestWatcher to LOGGER the executed test method name.- Author:
- nilshoffmann
-
-
Constructor Summary
Constructors Constructor Description LogMethodName()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
starting(org.junit.runner.Description method)
Called when JUnit is about to execute the provided method.
-
-
-
Constructor Detail
-
LogMethodName
public LogMethodName()
-
-
Method Detail
-
starting
public void starting(org.junit.runner.Description method)
Called when JUnit is about to execute the provided method.- Overrides:
starting
in classorg.junit.rules.TestWatcher
- Parameters:
method
- the method being executed by JUnit.
-
-