public class MockitoFeature extends SimpleFeature
Modifier and Type | Field and Description |
---|---|
protected MockProvider |
provider |
Constructor and Description |
---|
MockitoFeature() |
Modifier and Type | Method and Description |
---|---|
void |
afterRun(FeaturesRunner runner)
After tests were run.
|
protected void |
cleanupThread() |
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.
|
afterMethodRun, afterTeardown, beforeMethodRun, beforeRun, beforeSetup, configure, initialize
protected final MockProvider provider
public MockitoFeature()
public void start(FeaturesRunner runner) throws Exception
RunnerFeature
start
in interface RunnerFeature
start
in class SimpleFeature
Exception
public void testCreated(Object test) throws Exception
RunnerFeature
testCreated
in interface RunnerFeature
testCreated
in class SimpleFeature
Exception
public void afterRun(FeaturesRunner runner) throws Exception
RunnerFeature
afterRun
in interface RunnerFeature
afterRun
in class SimpleFeature
Exception
public void stop(FeaturesRunner runner) throws Exception
RunnerFeature
stop
in interface RunnerFeature
stop
in class SimpleFeature
Exception
protected void cleanupThread() throws NoSuchFieldException, SecurityException, IllegalArgumentException, IllegalAccessException
Copyright © 2018 Nuxeo. All rights reserved.