public class DetectThreadDeadlocksFeature extends SimpleFeature
Modifier and Type | Class and Description |
---|---|
static interface |
DetectThreadDeadlocksFeature.Config |
Modifier and Type | Field and Description |
---|---|
protected DetectThreadDeadlocksFeature.Config |
config |
protected ThreadDeadlocksDetector |
detector |
protected org.junit.runner.notification.RunListener |
listener |
protected org.junit.runner.notification.RunNotifier |
notifier |
Constructor and Description |
---|
DetectThreadDeadlocksFeature() |
Modifier and Type | Method and Description |
---|---|
void |
beforeRun(FeaturesRunner runner)
Before running tests.
|
protected void |
dump() |
void |
initialize(FeaturesRunner runner)
Called when preparing to run the test class.
|
void |
stop(FeaturesRunner runner)
Before exiting the test.
|
afterMethodRun, afterRun, afterTeardown, beforeMethodRun, beforeSetup, configure, start, testCreated
@Inject protected org.junit.runner.notification.RunNotifier notifier
protected ThreadDeadlocksDetector detector
protected DetectThreadDeadlocksFeature.Config config
protected final org.junit.runner.notification.RunListener listener
public DetectThreadDeadlocksFeature()
public void initialize(FeaturesRunner runner) throws Exception
RunnerFeature
initialize
in interface RunnerFeature
initialize
in class SimpleFeature
Exception
public void beforeRun(FeaturesRunner runner) throws Exception
RunnerFeature
beforeRun
in interface RunnerFeature
beforeRun
in class SimpleFeature
Exception
public void stop(FeaturesRunner runner) throws Exception
RunnerFeature
stop
in interface RunnerFeature
stop
in class SimpleFeature
Exception
protected void dump() throws IOException
IOException
Copyright © 2017 Nuxeo. All rights reserved.