Class LogRule
- java.lang.Object
-
- org.opendaylight.infrautils.testutils.LogRule
-
- All Implemented Interfaces:
org.junit.rules.TestRule
public class LogRule extends Object implements org.junit.rules.TestRule
JUnit Rule which nicely separates @Test/s in the log.Usage (NB the use of @Rule instead of @ClassRule):
public @Rule LogRule logRule = new LogRule(); @Test ...
- Author:
- Michael Vorburger
-
-
Constructor Summary
Constructors Constructor Description LogRule()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description org.junit.runners.model.Statement
apply(org.junit.runners.model.Statement statement, org.junit.runner.Description description)
static org.slf4j.Marker
getMarker()
-