Package org.nuxeo.runtime.test.runner
Class WithFrameworkPropertyFeature
java.lang.Object
org.nuxeo.runtime.test.runner.WithFrameworkPropertyFeature
- All Implemented Interfaces:
RunnerFeature
Features handling
WithFrameworkProperty
annotations.- Since:
- 11.1
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
afterRun
(FeaturesRunner runner) After tests were run.void
afterTeardown
(FeaturesRunner runner, org.junit.runners.model.FrameworkMethod method, Object test) After the call of the @After methodsvoid
beforeSetup
(FeaturesRunner runner, org.junit.runners.model.FrameworkMethod method, Object test) Before entering in the @Before methodsvoid
initialize
(FeaturesRunner runner) Called when preparing to run the test class.protected void
putProperties
(Properties previousProperties, FeaturesRunner runner, org.junit.runners.model.FrameworkMethod method) protected void
removeProperties
(Properties previousProperties, FeaturesRunner runner, org.junit.runners.model.FrameworkMethod method) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.nuxeo.runtime.test.runner.RunnerFeature
afterMethodRun, afterTeardown, beforeMethodRun, beforeRun, beforeSetup, configure, start, stop, testCreated
-
Field Details
-
previousClassProperties
-
previousMethodProperties
-
-
Constructor Details
-
WithFrameworkPropertyFeature
public WithFrameworkPropertyFeature()
-
-
Method Details
-
initialize
Description copied from interface:RunnerFeature
Called when preparing to run the test class. Framework is not started at this point. Here is time for the feature to configure the runner from annotations on the test class.- Specified by:
initialize
in interfaceRunnerFeature
- Throws:
Exception
-
afterRun
Description copied from interface:RunnerFeature
After tests were run.- Specified by:
afterRun
in interfaceRunnerFeature
- Throws:
Exception
-
beforeSetup
public void beforeSetup(FeaturesRunner runner, org.junit.runners.model.FrameworkMethod method, Object test) Description copied from interface:RunnerFeature
Before entering in the @Before methods- Specified by:
beforeSetup
in interfaceRunnerFeature
-
afterTeardown
public void afterTeardown(FeaturesRunner runner, org.junit.runners.model.FrameworkMethod method, Object test) Description copied from interface:RunnerFeature
After the call of the @After methods- Specified by:
afterTeardown
in interfaceRunnerFeature
-
putProperties
protected void putProperties(Properties previousProperties, FeaturesRunner runner, @Nullable org.junit.runners.model.FrameworkMethod method) -
removeProperties
protected void removeProperties(Properties previousProperties, FeaturesRunner runner, @Nullable org.junit.runners.model.FrameworkMethod method)
-