Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.runtime.test.runner
Class JettyFeature

java.lang.Object
  extended by org.nuxeo.runtime.test.runner.SimpleFeature
      extended by org.nuxeo.runtime.test.runner.JettyFeature
All Implemented Interfaces:
RunnerFeature, WorkingDirectoryConfigurator

public class JettyFeature
extends SimpleFeature
implements WorkingDirectoryConfigurator

Author:
Bogdan Stefanescu

Constructor Summary
JettyFeature()
           
 
Method Summary
 void configure(RuntimeHarness harness, File workingDir)
           
 void initialize(FeaturesRunner runner)
          Called when preparing to run the test class.
 
Methods inherited from class org.nuxeo.runtime.test.runner.SimpleFeature
afterMethodRun, afterRun, beforeMethodRun, beforeRun, configure, start, stop, testCreated
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JettyFeature

public JettyFeature()
Method Detail

initialize

public void initialize(FeaturesRunner runner)
                throws Exception
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 interface RunnerFeature
Overrides:
initialize in class SimpleFeature
Throws:
Exception

configure

public void configure(RuntimeHarness harness,
                      File workingDir)
               throws IOException
Specified by:
configure in interface WorkingDirectoryConfigurator
Throws:
IOException

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.