Package org.nuxeo.runtime.test.runner
Class RuntimeDeployment
- java.lang.Object
-
- org.nuxeo.runtime.test.runner.RuntimeDeployment
-
public class RuntimeDeployment extends Object
- Author:
- Bogdan Stefanescu
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected class
RuntimeDeployment.DeploymentStatement
protected static class
RuntimeDeployment.OnMethod
-
Field Summary
Fields Modifier and Type Field Description protected LinkedList<RuntimeContext>
contexts
Deprecated.since 9.2 we cannot undeploy components while they are started.
-
Constructor Summary
Constructors Constructor Description RuntimeDeployment()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected void
deploy(FeaturesRunner runner, RuntimeHarness harness)
protected void
index(Class<?> clazz)
protected void
index(Method method)
protected void
index(String directive, com.google.common.collect.SetMultimap<String,String> contribs)
protected void
index(Deploy config)
protected void
index(Features features)
protected void
index(LocalDeploy config)
Deprecated.since 10.1, useindex(Deploy)
protected void
index(PartialDeploy config)
protected void
index(RunnerFeature feature)
static org.junit.rules.MethodRule
onMethod()
protected org.junit.runners.model.Statement
onStatement(FeaturesRunner runner, RuntimeHarness harness, org.junit.runners.model.FrameworkMethod method, org.junit.runners.model.Statement base)
static RuntimeDeployment
onTest(FeaturesRunner runner)
-
-
-
Field Detail
-
contexts
@Deprecated protected LinkedList<RuntimeContext> contexts
Deprecated.since 9.2 we cannot undeploy components while they are started. So we don't need anymore to store the contexts
-
-
Constructor Detail
-
RuntimeDeployment
public RuntimeDeployment()
-
-
Method Detail
-
index
protected void index(RunnerFeature feature)
-
index
@Deprecated protected void index(LocalDeploy config)
Deprecated.since 10.1, useindex(Deploy)
-
index
protected void index(PartialDeploy config)
- Since:
- 9.1
-
index
protected void index(String directive, com.google.common.collect.SetMultimap<String,String> contribs)
-
deploy
protected void deploy(FeaturesRunner runner, RuntimeHarness harness)
-
onTest
public static RuntimeDeployment onTest(FeaturesRunner runner)
-
onMethod
public static org.junit.rules.MethodRule onMethod()
-
onStatement
protected org.junit.runners.model.Statement onStatement(FeaturesRunner runner, RuntimeHarness harness, org.junit.runners.model.FrameworkMethod method, org.junit.runners.model.Statement base)
-
-