public class ResourceCheckerJUnitListener extends org.junit.runner.notification.RunListener
When surefire forkMode=once/always/perthread, this code is executed on the forked process.
| Constructor and Description |
|---|
ResourceCheckerJUnitListener() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addResourceAnalyzer(ResourceChecker rc)
To be implemented by sub classes if they want to add specific ResourceAnalyzer.
|
void |
testFinished(org.junit.runner.Description description) |
void |
testStarted(org.junit.runner.Description description) |
public ResourceCheckerJUnitListener()
protected void addResourceAnalyzer(ResourceChecker rc)
public void testStarted(org.junit.runner.Description description) throws Exception
testStarted in class org.junit.runner.notification.RunListenerExceptionpublic void testFinished(org.junit.runner.Description description) throws Exception
testFinished in class org.junit.runner.notification.RunListenerExceptionCopyright © 2007–2019 Cloudera. All rights reserved.