Package | Description |
---|---|
org.cornutum.tcases | |
org.cornutum.tcases.generator |
Modifier and Type | Method and Description |
---|---|
VarBindingDef |
VarBindingDef.bind(VarDef varDef,
VarValueDef valueDef)
Changes this input variable binding.
|
Modifier and Type | Method and Description |
---|---|
static VarBinding |
VarBinding.create(VarBindingDef def)
Creates a new VarBinding object.
|
Modifier and Type | Method and Description |
---|---|
VarBindingDef |
BindingException.getBinding()
Returns the binding that is in error.
|
Modifier and Type | Method and Description |
---|---|
Iterator<VarBindingDef> |
Tuple.getBindings()
Returns the variable bindings for this tuple.
|
Modifier and Type | Method and Description |
---|---|
Tuple |
Tuple.add(VarBindingDef binding)
Adds a binding to this tuple.
|
boolean |
Tuple.contains(VarBindingDef binding)
Returns true if this tuple contains the given binding.
|
double |
VarTupleSet.getUnusedScore(VarBindingDef binding)
Returns a measure of the "unused-ness" of the given binding.
|
double |
VarTupleSet.getUsedOnceScore(VarBindingDef binding)
Returns a measure of the "used-ness" of the given binding among once-only tuples.
|
double |
VarTupleSet.getUsedScore(VarBindingDef binding)
Returns a measure of the "used-ness" of the given binding.
|
boolean |
TestCaseDef.isCompatible(VarBindingDef binding)
Returns if the given binding is compatible with the current test case definition.
|
static Tuple |
Tuple.of(VarBindingDef... tupleBindings)
Returns null if all of the given bindings cannot be included in compatible Tuple.
|
boolean |
TestCaseDef.usesBinding(VarBindingDef binding)
Returns true if this test case uses the given binding.
|
Modifier and Type | Method and Description |
---|---|
static Tuple |
Tuple.of(Collection<VarBindingDef> tupleBindings)
Returns null if all of the given bindings cannot be included in compatible Tuple.
|
void |
Tuple.setBindings(Collection<VarBindingDef> bindings)
Changes the variable bindings for this tuple.
|
Constructor and Description |
---|
BindingException(VarBindingDef binding)
Creates a new BindingException object.
|
Tuple(VarBindingDef... bindings)
Creates a new Tuple object.
|
ValueInconsistentException(VarBindingDef binding,
PropertySet properties)
Creates a new ValueInconsistentException object.
|
ValueNotApplicableException(VarBindingDef binding,
VarDef var)
Creates a new ValueNotApplicableException object.
|
VarBoundException(VarBindingDef binding,
VarValueDef value)
Creates a new VarBoundException object.
|
VarNotApplicableException(VarBindingDef binding,
PropertySet properties)
Creates a new VarNotApplicableException object.
|
Constructor and Description |
---|
Tuple(Collection<VarBindingDef> bindings)
Creates a new Tuple object.
|
Copyright © 2024 The Cornutum Project. All rights reserved.