public class DetectThreadDeadlocksFeature extends Object implements RunnerFeature
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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
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)
RunnerFeature
initialize
in interface RunnerFeature
public void beforeRun(FeaturesRunner runner)
RunnerFeature
beforeRun
in interface RunnerFeature
public void stop(FeaturesRunner runner) throws Exception
RunnerFeature
stop
in interface RunnerFeature
Exception
protected void dump() throws IOException
IOException
Copyright © 2019 Nuxeo. All rights reserved.