public class MDCFeature extends Object implements RunnerFeature
| Modifier and Type | Field and Description | 
|---|---|
protected static String | 
F_STATE  | 
protected static String | 
F_SUITE  | 
protected static String | 
F_TEST  | 
| Constructor and Description | 
|---|
MDCFeature()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
afterMethodRun(FeaturesRunner runner,
              org.junit.runners.model.FrameworkMethod method,
              Object test)
After a test method was ran. 
 | 
void | 
afterRun(FeaturesRunner runner)
After tests were run. 
 | 
void | 
afterTeardown(FeaturesRunner runner)
After the call of the @After methods 
 | 
void | 
beforeMethodRun(FeaturesRunner runner,
               org.junit.runners.model.FrameworkMethod method,
               Object test)
Before a test method is invoked. 
 | 
void | 
beforeRun(FeaturesRunner runner)
Before running tests. 
 | 
void | 
beforeSetup(FeaturesRunner runner)
Before entering in the @Before methods 
 | 
void | 
configure(FeaturesRunner runner,
         com.google.inject.Binder binder)
Configures Guice bindings if any is required by the feature. 
 | 
void | 
initialize(FeaturesRunner runner)
Called when preparing to run the test class. 
 | 
void | 
start(FeaturesRunner runner)
Features are initialized. 
 | 
void | 
stop(FeaturesRunner runner)
Before exiting the test. 
 | 
void | 
testCreated(Object test)
Notification that a test instance was created. 
 | 
protected static final String F_TEST
protected static final String F_SUITE
protected static final String F_STATE
public MDCFeature()
public void initialize(FeaturesRunner runner)
RunnerFeatureinitialize in interface RunnerFeaturepublic void configure(FeaturesRunner runner, com.google.inject.Binder binder)
RunnerFeatureconfigure in interface RunnerFeaturepublic void beforeRun(FeaturesRunner runner)
RunnerFeaturebeforeRun in interface RunnerFeaturepublic void afterRun(FeaturesRunner runner)
RunnerFeatureafterRun in interface RunnerFeaturepublic void start(FeaturesRunner runner)
RunnerFeaturestart in interface RunnerFeaturepublic void testCreated(Object test)
RunnerFeaturetestCreated in interface RunnerFeaturepublic void stop(FeaturesRunner runner)
RunnerFeaturestop in interface RunnerFeaturepublic void beforeSetup(FeaturesRunner runner)
RunnerFeaturebeforeSetup in interface RunnerFeaturepublic void afterTeardown(FeaturesRunner runner)
RunnerFeatureafterTeardown in interface RunnerFeaturepublic void beforeMethodRun(FeaturesRunner runner, org.junit.runners.model.FrameworkMethod method, Object test)
RunnerFeaturebeforeMethodRun in interface RunnerFeaturepublic void afterMethodRun(FeaturesRunner runner, org.junit.runners.model.FrameworkMethod method, Object test)
RunnerFeatureafterMethodRun in interface RunnerFeatureCopyright © 2019 Nuxeo. All rights reserved.