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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidafterRun(FeaturesRunner runner) After tests were run.voidafterTeardown(FeaturesRunner runner, org.junit.runners.model.FrameworkMethod method, Object test) After the call of the @After methodsvoidbeforeSetup(FeaturesRunner runner, org.junit.runners.model.FrameworkMethod method, Object test) Before entering in the @Before methodsvoidinitialize(FeaturesRunner runner) Called when preparing to run the test class.protected voidputProperties(Properties previousProperties, FeaturesRunner runner, org.junit.runners.model.FrameworkMethod method) protected voidremoveProperties(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, waitMethods 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:RunnerFeatureCalled 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:
initializein interfaceRunnerFeature- Throws:
Exception
-
afterRun
Description copied from interface:RunnerFeatureAfter tests were run.- Specified by:
afterRunin interfaceRunnerFeature- Throws:
Exception
-
beforeSetup
public void beforeSetup(FeaturesRunner runner, org.junit.runners.model.FrameworkMethod method, Object test) Description copied from interface:RunnerFeatureBefore entering in the @Before methods- Specified by:
beforeSetupin interfaceRunnerFeature
-
afterTeardown
public void afterTeardown(FeaturesRunner runner, org.junit.runners.model.FrameworkMethod method, Object test) Description copied from interface:RunnerFeatureAfter the call of the @After methods- Specified by:
afterTeardownin 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)
-