Package | Description |
---|---|
org.cornutum.tcases | |
org.cornutum.tcases.generator | |
org.cornutum.tcases.io | |
org.cornutum.tcases.resolve |
Modifier and Type | Method and Description |
---|---|
VarDef |
VarDef.addValue(VarValueDef value)
Adds a value definition for this variable.
|
VarDef |
VarDefBuilder.build()
Returns the current VarDef definition.
|
VarDef |
FunctionInputDef.findVarDefPath(String pathName)
Returns the individual variable definition with the given path name.
|
VarDef |
ITestCaseDef.getInvalidVar()
Returns the variable bound to an invalid value, if any.
|
VarDef |
VarBindingDef.getVarDef()
Returns the input variable definition for this binding.
|
VarDef |
VarDefIterator.next() |
VarDef |
VarDef.removeValue(Object name)
Removes a value definition from this variable.
|
Modifier and Type | Method and Description |
---|---|
Iterator<VarDef> |
ITestCaseDef.getVars()
Returns the variables currently bound in this test case.
|
Modifier and Type | Method and Description |
---|---|
VarBindingDef |
VarBindingDef.bind(VarDef varDef,
VarValueDef valueDef)
Changes this input variable binding.
|
VarValueDef |
ITestCaseDef.getValue(VarDef var)
Returns the current value binding for the given input variable.
|
boolean |
ITestCaseDef.isNA(VarDef var)
Returns true if the given value is currently bound to the "not applicable" value.
|
VarDefBuilder |
VarDefBuilder.start(VarDef varDef)
Starts building a VarDef definition.
|
static VarDefBuilder |
VarDefBuilder.with(VarDef varDef)
Creates a new builder for the given VarDef.
|
Constructor and Description |
---|
VarBindingDef(VarDef varDef)
Creates a new VarBindingDef object.
|
VarBindingDef(VarDef varDef,
VarValueDef valueDef)
Creates a new VarBindingDef object.
|
VarDefBuilder(VarDef varDef)
Creates a new VarDefBuilder object.
|
Modifier and Type | Method and Description |
---|---|
VarDef |
TestCaseDef.getInvalidVar()
Returns the variable bound to an invalid value, if any.
|
VarDef |
ValueNotApplicableException.getVar()
Returns the variable made inapplicable.
|
Modifier and Type | Method and Description |
---|---|
List<VarDef> |
TupleCombiner.getCombinedVars(FunctionInputDef inputDef)
Returns the set of input variables to be combined.
|
Iterator<VarDef> |
TestCaseDef.getVars()
Returns the variables currently bound in this test case.
|
Modifier and Type | Method and Description |
---|---|
VarValueDef |
Tuple.getBinding(VarDef var)
Returns the value bound by this tuple for the given variable.
|
Iterator<Tuple> |
VarTupleSet.getUnused(VarDef var)
Returns input tuples not yet used in a test case that bind the given variable.
|
Iterator<Tuple> |
VarTupleSet.getUsed(VarDef var)
Returns input tuples already used in a test case that bind the given variable,
excluding once-only tuples.
|
Iterator<Tuple> |
VarTupleSet.getUsed(VarDef var,
boolean onceOnly)
Returns input tuples already used in a test case that bind the given variable, considering
only tuples that are (not) once-only
|
Iterator<Tuple> |
VarTupleSet.getUsedOnce(VarDef var)
Returns once-only input tuples already used in a test case that bind the given variable.
|
VarValueDef |
TestCaseDef.getValue(VarDef var)
Returns the current value binding for the given input variable.
|
boolean |
TestCaseDef.isApplicable(VarDef var)
Returns if the given variable is applicable to the current test case definition.
|
boolean |
TestCaseDef.isNA(VarDef var)
Returns true if the given value is currently bound to the "not applicable" value.
|
Tuple |
Tuple.remove(VarDef var)
Removes a binding from this tuple.
|
Modifier and Type | Method and Description |
---|---|
static Collection<Tuple> |
TupleCombiner.getTuples(List<VarDef> varDefs,
int tupleSize)
Returns all valid N-tuples of values for the given input variables.
|
Constructor and Description |
---|
ValueNotApplicableException(VarBindingDef binding,
VarDef var)
Creates a new ValueNotApplicableException object.
|
Constructor and Description |
---|
TupleIterator(int tupleSize,
List<VarDef> varDefs)
Creates a new TupleIterator object.
|
TupleIterator(int tupleSize,
List<VarDef> varDefs,
RandSeq randSeq)
Creates a new TupleIterator object.
|
Modifier and Type | Method and Description |
---|---|
VarDef |
SystemInputDocReader.VarHandler.getVar()
Returns the
VarDef represented by this element. |
Modifier and Type | Method and Description |
---|---|
protected VarBinding |
TestCaseSchemaResolver.resolveBinding(VarDef varDef,
VarValueDef valueDef)
Returns a binding that resolves the value of the given input variable.
|
protected abstract VarBinding |
TestCaseResolver.resolveBinding(VarDef varDef,
VarValueDef valueDef)
Returns a binding that resolves the value of the given input variable.
|
Copyright © 2024 The Cornutum Project. All rights reserved.