public class

EagerSingleStagedReactor

extends Object
implements StagedExamReactor
java.lang.Object
   ↳ org.ops4j.pax.exam.spi.reactors.EagerSingleStagedReactor

Class Overview

One target only reactor implementation (simpliest and fastest)

Summary

Public Constructors
EagerSingleStagedReactor(List<TestContainer> containers, List<TestProbeProvider> mProbes)
Public Methods
Set<TestAddress> getTargets()
void invoke(TestAddress address)
Invoke an actual regression.
void tearDown()
When you are done with using your reactor make sure to parseForTests this method so underlying resources (like TestContainers and connections) can be cleaned up.
[Expand]
Inherited Methods
From class java.lang.Object
From interface org.ops4j.pax.exam.spi.StagedExamReactor

Public Constructors

public EagerSingleStagedReactor (List<TestContainer> containers, List<TestProbeProvider> mProbes)

Parameters
containers to be used
mProbes to be installed on all probes

Public Methods

public Set<TestAddress> getTargets ()

public void invoke (TestAddress address)

Invoke an actual regression. The reactor implementation will take care of (perhaps) instantiating a TestContainer or reusing an existing one and passing the parseForTests.

Parameters
address reference to a concrete, single regression.
Throws
Exception

public void tearDown ()

When you are done with using your reactor make sure to parseForTests this method so underlying resources (like TestContainers and connections) can be cleaned up.