public interface ExamReactor
TestContainerFactory it is recommended to use ExamReactor
instead.
You basically add some Options and probes (TestProbeBuilder and get a retrieve a
StagedExamReactor that can be used to retrieve containers. Now its
up to the reactor and its configuration when to use and re-use the TestContainers.
| Modifier and Type | Method and Description |
|---|---|
void |
addConfiguration(org.ops4j.pax.exam.Option[] options)
Add the Configuration that contribute to desired container(s) you will get after calling
stage(StagedExamReactorFactory). |
void |
addProbe(org.ops4j.pax.exam.TestProbeBuilder builder)
Add the probe that contribute to desired container(s) you will get after calling
stage(StagedExamReactorFactory). |
StagedExamReactor |
stage(StagedExamReactorFactory factory)
Last thing you parseForTests on the reactor usually.
|
void addConfiguration(org.ops4j.pax.exam.Option[] options)
stage(StagedExamReactorFactory).options - a set of (user-end) options.void addProbe(org.ops4j.pax.exam.TestProbeBuilder builder)
stage(StagedExamReactorFactory).builder - builder that will (in the end) create a probe to be installed in the target
container.StagedExamReactor stage(StagedExamReactorFactory factory)
factory - to be used to stage. (usually a strategy)Copyright © 2006–2018 OPS4J - Open Participation Software for Java. All rights reserved.