Package | Description |
---|---|
org.cornutum.tcases | |
org.cornutum.tcases.generator | |
org.cornutum.tcases.io | |
org.cornutum.tcases.resolve |
Modifier and Type | Method and Description |
---|---|
FunctionInputDef |
FunctionInputDef.addVarDef(IVarDef varDef)
Adds a new variable definition.
|
FunctionInputDef |
FunctionInputDefBuilder.build()
Returns the current function input definition.
|
FunctionInputDef |
SystemInputDef.getFunctionInputDef(String name)
Returns the function definition with the given name.
|
FunctionInputDef |
FunctionInputDef.removeVarDef(String name)
Removes a variable definition.
|
Modifier and Type | Method and Description |
---|---|
Iterator<FunctionInputDef> |
SystemInputDef.getFunctionInputDefs()
Returns the function definitions for this system.
|
Modifier and Type | Method and Description |
---|---|
SystemInputDef |
SystemInputDef.addFunctionInputDef(FunctionInputDef functionInputDef)
Adds a new function definition.
|
SystemInputDefBuilder |
SystemInputDefBuilder.functions(FunctionInputDef... functions)
Adds system functions.
|
Map<SystemInputs.Located<IConditional>,Set<String>> |
SystemInputs.getPropertiesUndefined(FunctionInputDef function)
For every conditional element in the given function input definition that references an undefined property,
maps the element to the undefined properties that it references.
|
Map<SystemInputs.Located<VarValueDef>,Set<String>> |
SystemInputs.getPropertiesUnused(FunctionInputDef function)
For every variable value in the given function input definition that defines an unused
property, maps the value to the unused properties it defines.
|
Map<String,Set<SystemInputs.Located<IConditional>>> |
SystemInputs.getPropertyReferences(FunctionInputDef function)
Maps every property in the given FunctionInputDef to the conditional elements that reference it.
|
Map<String,Set<SystemInputs.Located<VarValueDef>>> |
SystemInputs.getPropertySources(FunctionInputDef function)
Maps every property in the given function input definition to the variable value definitions that contribute it.
|
static FunctionTestDef |
Tcases.getTests(FunctionInputDef functionDef,
ITestCaseGenerator functionGen,
FunctionTestDef functionBase)
Returns test case definitions for the given function input definition, using the given test case generator and
base test definitions.
|
static FunctionTestDef |
Tcases.getTests(FunctionInputDef functionDef,
ITestCaseGenerator functionGen,
TestCaseResolverFactory resolverFactory,
FunctionTestDef functionBase,
GeneratorOptions options)
Returns test case definitions for the given function input definition, using the given test case generator,
resolvers, and base test definitions.
|
static Optional<ITestCaseGenerator> |
Reducer.reduce(FunctionInputDef inputDef)
For a
function input definition , returns a test case generator
that reduces
the number of test cases normally generated, using default options . |
static Optional<ITestCaseGenerator> |
Reducer.reduce(FunctionInputDef inputDef,
ITestCaseGenerator generator,
FunctionTestDef baseDef,
ReducerOptions options)
For a
function input definition , updates the given test case generator
to reduce the number of generated test cases, using the given options . |
FunctionInputDefBuilder |
FunctionInputDefBuilder.start(FunctionInputDef functionInputDef)
Starts building a new function input definition.
|
static FunctionInputDefBuilder |
FunctionInputDefBuilder.with(FunctionInputDef functionInputDef)
Creates a new builder for the given FunctionInputDef.
|
Modifier and Type | Method and Description |
---|---|
SystemInputDefBuilder |
SystemInputDefBuilder.functions(Iterable<FunctionInputDef> functions)
Adds system functions.
|
SystemInputDefBuilder |
SystemInputDefBuilder.functions(Stream<FunctionInputDef> functions)
Adds system functions.
|
Constructor and Description |
---|
FunctionInputDefBuilder(FunctionInputDef functionInputDef)
Creates a new FunctionInputDefBuilder object.
|
VarDefIterator(FunctionInputDef inputDef)
Creates a new VarDefIterator object.
|
Modifier and Type | Method and Description |
---|---|
List<VarDef> |
TupleCombiner.getCombinedVars(FunctionInputDef inputDef)
Returns the set of input variables to be combined.
|
List<ITestCaseDef> |
TupleGenerator.getTests(FunctionInputDef inputDef,
FunctionTestDef baseTests)
Returns a set of
test cases for the given function input definition. |
List<ITestCaseDef> |
ITestCaseGenerator.getTests(FunctionInputDef inputDef,
FunctionTestDef baseTests)
Returns a set of
test cases for the given function input definition. |
Collection<Tuple> |
TupleCombiner.getTuples(FunctionInputDef inputDef)
Returns all valid N-tuples of values for the included input variables.
|
boolean |
VarNamePattern.isApplicable(FunctionInputDef inputDef)
Returns true if this pattern is applicable to the given input definition.
|
Modifier and Type | Method and Description |
---|---|
FunctionInputDef |
SystemInputDocReader.FunctionHandler.getFunctionInputDef()
Returns the
FunctionInputDef represented by this element. |
FunctionInputDef |
SystemInputDocReader.InputHandler.getFunctionInputDef()
Returns the
FunctionInputDef for this element. |
Modifier and Type | Method and Description |
---|---|
protected void |
SystemInputDocWriter.writeFunction(FunctionInputDef function)
Writes the given function input definition.
|
Modifier and Type | Method and Description |
---|---|
FunctionInputDef |
TestCaseResolver.getInputDef()
Returns the input definition for this resolver.
|
Modifier and Type | Method and Description |
---|---|
TestCaseResolver |
TestCaseSchemaResolverFactory.resolverFor(FunctionInputDef inputDef)
Returns a
TestCaseResolver for the given function input definition |
TestCaseResolver |
TestCaseResolverFactory.resolverFor(FunctionInputDef inputDef)
Returns a
TestCaseResolver for the given function input definition |
protected void |
TestCaseResolver.setInputDef(FunctionInputDef inputDef)
Changes the input definition for this resolver.
|
Modifier and Type | Method and Description |
---|---|
List<TestCase> |
TestCaseResolver.resolve(Function<FunctionInputDef,List<ITestCaseDef>> testCaseDefSupplier)
Resolves the
test case definitions to create new TestCase instances for the given input model. |
Constructor and Description |
---|
TestCaseResolver(ResolverContext context,
FunctionInputDef inputDef)
Creates a new TestCaseResolver instance.
|
TestCaseSchemaResolver(ResolverContext context,
FunctionInputDef inputDef)
Creates a new TestCaseSchemaResolver instance.
|
Copyright © 2024 The Cornutum Project. All rights reserved.