@TestExecutionListeners(value=org.unitils.spring.util.SpringUnitilsAdaptorTestExecutionListener.class, inheritListeners=false) public abstract class SpringUnitilsJUnit4TestBase extends org.springframework.test.context.junit4.AbstractJUnit4SpringContextTests
| Constructor and Description |
|---|
SpringUnitilsJUnit4TestBase() |
| Modifier and Type | Method and Description |
|---|---|
protected static void |
registerTestInvocation(TracingTestListener.TestInvocation invocation,
Class<?> testClass,
String testMethodName)
Records an invocation.
|
static void |
setTracingTestListener(TracingTestListener testListener)
Sets the tracing test listener that will record all invocations.
|
public static void setTracingTestListener(TracingTestListener testListener)
testListener - the listenerprotected static void registerTestInvocation(TracingTestListener.TestInvocation invocation, Class<?> testClass, String testMethodName)
invocation - the invocation type, not nulltestClass - the test class, not nulltestMethodName - the actual test name, null if not applicableCopyright © 2017. All rights reserved.