RunnerFeature@Deprecated public class SimpleFeature extends Object implements RunnerFeature
CREATE FRAMEWORK new feature() --> constructor COLLECT DEFINED DEPLOYMENTS feature.initialize() --> can be used to configure nuxeo home or register JNDI objects START FRAMEWORK feature.start() feature.beforeRun() feature.configure() --> can be used to add guice bindings and to dynamically deploy components using the harness for each test method: feature.testCreated() feature.beforeSetup feature.beforeMethodRun() --> test method interceptor testMethod() feature.afterMethodRun() --> test method interceptor feature.afterTeardown() feature.afterRun() --> cleanup that require framework to be started STOP FRAMEWORK feature.stop() --> destructor
| Constructor and Description | 
|---|
SimpleFeature()
Deprecated.  
  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
afterMethodRun(FeaturesRunner runner,
              org.junit.runners.model.FrameworkMethod method,
              Object test)
Deprecated.  
After a test method was ran. 
 | 
void | 
afterRun(FeaturesRunner runner)
Deprecated.  
After tests were run. 
 | 
void | 
afterTeardown(FeaturesRunner runner)
Deprecated.  
After the call of the @After methods 
 | 
void | 
beforeMethodRun(FeaturesRunner runner,
               org.junit.runners.model.FrameworkMethod method,
               Object test)
Deprecated.  
Before a test method is invoked. 
 | 
void | 
beforeRun(FeaturesRunner runner)
Deprecated.  
Before running tests. 
 | 
void | 
beforeSetup(FeaturesRunner runner)
Deprecated.  
Before entering in the @Before methods 
 | 
void | 
configure(FeaturesRunner runner,
         com.google.inject.Binder binder)
Deprecated.  
Configures Guice bindings if any is required by the feature. 
 | 
void | 
initialize(FeaturesRunner runner)
Deprecated.  
Called when preparing to run the test class. 
 | 
void | 
start(FeaturesRunner runner)
Deprecated.  
Features are initialized. 
 | 
void | 
stop(FeaturesRunner runner)
Deprecated.  
Before exiting the test. 
 | 
void | 
testCreated(Object test)
Deprecated.  
Notification that a test instance was created. 
 | 
public SimpleFeature()
public void afterRun(FeaturesRunner runner) throws Exception
RunnerFeatureafterRun in interface RunnerFeatureExceptionpublic void beforeRun(FeaturesRunner runner) throws Exception
RunnerFeaturebeforeRun in interface RunnerFeatureExceptionpublic void start(FeaturesRunner runner) throws Exception
RunnerFeaturestart in interface RunnerFeatureExceptionpublic void testCreated(Object test) throws Exception
RunnerFeaturetestCreated in interface RunnerFeatureExceptionpublic void stop(FeaturesRunner runner) throws Exception
RunnerFeaturestop in interface RunnerFeatureExceptionpublic void configure(FeaturesRunner runner, com.google.inject.Binder binder)
RunnerFeatureconfigure in interface RunnerFeaturepublic void initialize(FeaturesRunner runner) throws Exception
RunnerFeatureinitialize in interface RunnerFeatureExceptionpublic void afterMethodRun(FeaturesRunner runner, org.junit.runners.model.FrameworkMethod method, Object test) throws Exception
RunnerFeatureafterMethodRun in interface RunnerFeatureExceptionpublic void beforeMethodRun(FeaturesRunner runner, org.junit.runners.model.FrameworkMethod method, Object test) throws Exception
RunnerFeaturebeforeMethodRun in interface RunnerFeatureExceptionpublic void beforeSetup(FeaturesRunner runner) throws Exception
RunnerFeaturebeforeSetup in interface RunnerFeatureExceptionpublic void afterTeardown(FeaturesRunner runner) throws Exception
RunnerFeatureafterTeardown in interface RunnerFeatureExceptionCopyright © 2019 Nuxeo. All rights reserved.