Package org.nuxeo.runtime.test.runner
Class ServletContainerFeature
java.lang.Object
org.nuxeo.runtime.test.runner.ServletContainerFeature
- All Implemented Interfaces:
- RunnerFeature
Runs an embedded servlet container.
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected intintgetPort()Returns the port allocated for this servlet container.voidinitialize(FeaturesRunner runner) Called when preparing to run the test class.Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.nuxeo.runtime.test.runner.RunnerFeatureafterMethodRun, afterRun, afterTeardown, afterTeardown, beforeMethodRun, beforeRun, beforeSetup, beforeSetup, configure, start, stop, testCreated
- 
Field Details- 
RETRIESprotected static final int RETRIES- See Also:
 
- 
portprotected int port
 
- 
- 
Constructor Details- 
ServletContainerFeaturepublic ServletContainerFeature()
 
- 
- 
Method Details- 
initializeDescription 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 interface- RunnerFeature
- Throws:
- Exception
 
- 
findFreePortprotected int findFreePort()
- 
getPortpublic int getPort()Returns the port allocated for this servlet container.- Since:
- 10.10
 
- 
getHttpUrl- Since:
- 2023.13
 
 
-