Package | Description |
---|---|
org.cornutum.tcases.generator |
Modifier and Type | Method and Description |
---|---|
Tuple |
Tuple.add(VarBindingDef binding)
Adds a binding to this tuple.
|
Tuple |
Tuple.addAll(Tuple tuple)
Adds all bindings from the given tuple.
|
Tuple |
TestCaseDef.addBindings(Tuple tuple)
Adds the variable bindings defined by the given tuple.
|
Tuple |
TestCaseDef.addCompatible(Tuple tuple)
If the given tuple is compatible with the current test case definition, adds any
new bindings.
|
Tuple |
VarTupleSet.getNextUnused()
Returns the next unused tuple from this set.
|
Tuple |
TupleIterator.next() |
static Tuple |
Tuple.of(Collection<VarBindingDef> tupleBindings)
Returns null if all of the given bindings cannot be included in compatible Tuple.
|
static Tuple |
Tuple.of(VarBindingDef... tupleBindings)
Returns null if all of the given bindings cannot be included in compatible Tuple.
|
Tuple |
Tuple.remove(VarDef var)
Removes a binding from this tuple.
|
Modifier and Type | Method and Description |
---|---|
Collection<Tuple> |
TupleCombiner.getTuples(FunctionInputDef inputDef)
Returns all valid N-tuples of values for the included input variables.
|
static Collection<Tuple> |
TupleCombiner.getTuples(List<VarDef> varDefs,
int tupleSize)
Returns all valid N-tuples of values for the given input variables.
|
Iterator<Tuple> |
VarTupleSet.getUnused()
Returns input tuples not yet used in a test case.
|
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()
Returns input tuples already used in a test case.
|
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.
|
Modifier and Type | Method and Description |
---|---|
Tuple |
Tuple.addAll(Tuple tuple)
Adds all bindings from the given tuple.
|
Tuple |
TestCaseDef.addBindings(Tuple tuple)
Adds the variable bindings defined by the given tuple.
|
Tuple |
TestCaseDef.addCompatible(Tuple tuple)
If the given tuple is compatible with the current test case definition, adds any
new bindings.
|
boolean |
TestCaseDef.isCompatible(Tuple tuple)
Returns if the given tuple is compatible with the current test case definition.
|
void |
VarTupleSet.remove(Tuple tuple)
Removes the given tuple from use in test cases.
|
void |
TestCaseDef.removeBindings(Tuple tuple)
Removes the variable bindings defined by the given tuple.
|
void |
TestCaseDef.setName(Tuple tuple)
Changes the name for this test case to identify the given tuple.
|
void |
VarTupleSet.used(Tuple tuple)
Asserts that the given tuple has been used in a test case.
|
boolean |
TestCaseDef.usesTuple(Tuple tuple)
Returns true if this test case uses all the bindings in the given tuple.
|
Constructor and Description |
---|
Tuple(Tuple other)
Creates a new Tuple object.
|
Constructor and Description |
---|
VarTupleSet(List<Tuple> tuples)
Creates a new VarTupleSet object.
|
Copyright © 2024 The Cornutum Project. All rights reserved.