|
JTR 5.0 API Documentation | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IParamsAssigner
This interface defines the contract between JTR and the concrete
implementations in charge of performing the task of assigning values to
concrete IRunner
instances under the control of both the
TestRunManager
and the AbstractRunner
.
IRunnerClean
,
IRunnerParameterized
,
RunnerConfig
Method Summary | |
---|---|
IRunnerParameterized[] |
assign(IRunnerClean[] cRunners,
RunnerConfig runnerConfig)
Performs the parameterization task over the array of IRunnerClean provided as input, using the given
RunnerConfig . |
IRunnerParameterized |
backToFirstAssignment(IRunnerClean cRunner)
Brings the runner provided has parameter back to its first assignment. |
boolean |
isReinitializationForced()
This method reports whether or no the assigner must perform parameters-assignment to its runner instance due to the presence of some sort of dynamic parameter(s) among those required by the managed runner. |
IRunnerParameterized |
reAssign(IRunnerClean cRunner)
Performs the re-assignment. |
boolean |
requiresReinitialization()
According to this assigner behaviour this method states whether the managed IRunner has to be reinitialized or not after each
run. |
Method Detail |
---|
IRunnerParameterized[] assign(IRunnerClean[] cRunners, RunnerConfig runnerConfig)
IRunnerClean
provided as input, using the given
RunnerConfig
. Note that a runner has to be in its
CLEAN
state in order to be parameterized. All the runners are
returned as instances of IRunnerParameterized
.
cRunners
- IRunnerClean[] The runners in CLEAN
state to be
parameterizedrunnerConfig
- RunnerConfig The RunnerConfig
to be applied
PARAMETERIZED
stateboolean requiresReinitialization()
IRunner
has to be reinitialized or not after each
run.
boolean isReinitializationForced()
IRunnerParameterized reAssign(IRunnerClean cRunner)
requiresReinitialization()
returns true
.
cRunner
- IRunnerClean The runner in CLEAN
state to be
reinitialized
PARAMETERIZED
stateIRunnerParameterized backToFirstAssignment(IRunnerClean cRunner)
cRunner
- IRunnerClean The runner in CLEAN
state to be
reinitialized
PARAMETERIZED
state
|
The JTR Project is licensed under GPL version 2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |