Package | Description |
---|---|
org.cornutum.tcases | |
org.cornutum.tcases.generator | |
org.cornutum.tcases.generator.io | |
org.cornutum.tcases.io | |
org.cornutum.tcases.openapi.resolver | |
org.cornutum.tcases.resolve |
Modifier and Type | Class and Description |
---|---|
class |
VarNaBinding
Designates a "not applicable" condition for an input variable.
|
Modifier and Type | Method and Description |
---|---|
VarBinding |
VarBindingBuilder.build()
Returns the current binding.
|
static VarBinding |
VarBinding.create(IVarDef varDef,
VarValueDef valueDef)
Creates a new VarBinding object.
|
static VarBinding |
VarBinding.create(VarBindingDef def)
Creates a new VarBinding object.
|
VarBinding |
TestCase.getInvalidValue()
Returns the variable that is bound to an invalid value.
|
VarBinding |
TestCase.getVarBinding(String name)
Returns the binding for the given variable.
|
Modifier and Type | Method and Description |
---|---|
Iterator<VarBinding> |
TestCase.getVarBindings()
Returns the variable bindings for this function.
|
Iterator<VarBinding> |
TestCase.getVarBindings(String type)
Returns the bindings for variables of the given type for this function.
|
Modifier and Type | Method and Description |
---|---|
TestCase |
TestCase.addVarBinding(VarBinding varBinding)
Adds a new variable binding.
|
TestCaseBuilder |
TestCaseBuilder.bind(String type,
VarBinding... bindings)
Adds variable bindings of the given type to the test case.
|
TestCaseBuilder |
TestCaseBuilder.bind(VarBinding... bindings)
Adds variable bindings to the test case.
|
int |
VarBinding.compareTo(VarBinding other) |
VarBindingBuilder |
VarBindingBuilder.start(VarBinding binding)
Starts building a new binding.
|
static VarBindingBuilder |
VarBindingBuilder.with(VarBinding varBinding)
Creates a new builder for the given VarBinding.
|
Modifier and Type | Method and Description |
---|---|
TestCaseBuilder |
TestCaseBuilder.bind(Iterable<VarBinding> bindings)
Adds variable bindings to the test case.
|
TestCaseBuilder |
TestCaseBuilder.bind(Stream<VarBinding> bindings)
Adds variable bindings to the test case.
|
Constructor and Description |
---|
VarBindingBuilder(VarBinding binding)
Creates a new VarBindingBuilder object.
|
Modifier and Type | Method and Description |
---|---|
VarBinding |
TupleRef.getVarBinding(String name)
Returns the binding for the given variable.
|
Modifier and Type | Method and Description |
---|---|
Iterator<VarBinding> |
TupleRef.getVarBindings()
Returns the variable bindings for this tuple.
|
Modifier and Type | Method and Description |
---|---|
TupleRef |
TupleRef.addVarBinding(VarBinding varBinding)
Adds a new variable binding.
|
TupleRefBuilder |
TupleRefBuilder.bindings(VarBinding... bindings)
Adds the given bindings to this tuple.
|
static TupleRefBuilder |
TupleRefBuilder.with(VarBinding... bindings)
Creates a new builder with the given bindings.
|
Modifier and Type | Method and Description |
---|---|
TupleRefBuilder |
TupleRefBuilder.bindings(Iterable<VarBinding> bindings)
Adds the given bindings to this tuple.
|
TupleRefBuilder |
TupleRefBuilder.bindings(Stream<VarBinding> bindings)
Adds the given bindings to this tuple.
|
Modifier and Type | Method and Description |
---|---|
protected void |
GeneratorSetDocWriter.writeVarBinding(VarBinding binding)
Writes the given variable binding definition.
|
Modifier and Type | Method and Description |
---|---|
VarBinding |
SystemTestDocReader.VarHandler.getVarBinding()
Returns the VarBinding instance for this handler.
|
Modifier and Type | Method and Description |
---|---|
protected void |
SystemTestDocReader.VarHandler.setVarBinding(VarBinding binding)
Returns the VarBinding instance for this handler.
|
protected void |
SystemTestDocWriter.writeBinding(VarBinding binding)
Writes the given variable input value definition.
|
Modifier and Type | Method and Description |
---|---|
protected void |
SystemTestHtmlWriter.writeVarSet(String varSet,
int varSetLevel,
Iterator<VarBinding> varBindings)
Writes the input value definitions for the given variables.
|
protected void |
SystemTestHtmlWriter.writeVarSets(int varSetLevel,
Iterator<VarBinding> varBindings)
Writes the definitions of all variable sets defined by the given bindings.
|
Modifier and Type | Method and Description |
---|---|
static VarBinding |
VarProperties.expectVarBinding(Map<String,Object> propertyValues,
String path)
Returns the variable binding at the given property path.
|
static VarBinding |
VarProperties.getIfVarBinding(Map<String,Object> propertyValues,
String path)
Returns a variable binding if it is referenced by the given property path.
|
static VarBinding |
VarProperties.getVarBinding(Map<String,Object> propertyValues,
String path)
Returns the variable binding at the given property path.
|
Modifier and Type | Method and Description |
---|---|
static Stream<VarBinding> |
VarProperties.getVarBindings(Map<String,Object> propertyValues)
Returns the variable bindings specified by the given property values.
|
Modifier and Type | Method and Description |
---|---|
static List<String> |
VarProperties.getVarPath(VarBinding binding)
Returns the variable set path for the given variable binding.
|
static void |
VarProperties.putPropertyValue(Map<String,Object> propertyValues,
List<String> path,
VarBinding binding)
Sets the property at the given path to the given variable binding.
|
Modifier and Type | Method and Description |
---|---|
static Map<String,Object> |
VarProperties.getPropertyValues(List<VarBinding> bindings)
Transforms a set of variable bindings into a map of property values.
|
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.
|
Modifier and Type | Method and Description |
---|---|
static NumberDomain.Range |
NumberDomain.Range.of(VarBinding binding)
Returns the Range represented by the given number binding.
|
Copyright © 2024 The Cornutum Project. All rights reserved.