Package | Description |
---|---|
org.cornutum.tcases | |
org.cornutum.tcases.generator | |
org.cornutum.tcases.io |
Modifier and Type | Method and Description |
---|---|
FunctionTestDef |
FunctionTestDef.addTestCase(TestCase testCase)
Adds a new test case.
|
FunctionTestDef |
FunctionTestDefBuilder.build()
Returns the current function test definition.
|
FunctionTestDef |
SystemTestDef.getFunctionTestDef(String name)
Returns the function test definition with the given name.
|
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.
|
FunctionTestDef |
FunctionTestDef.removeTestCase(int id)
Removes a test case.
|
Modifier and Type | Method and Description |
---|---|
Iterator<FunctionTestDef> |
SystemTestDef.getFunctionTestDefs()
Returns the function test definitions for this system.
|
Modifier and Type | Method and Description |
---|---|
SystemTestDef |
SystemTestDef.addFunctionTestDef(FunctionTestDef functionTestDef)
Adds a new function test definition.
|
SystemTestDefBuilder |
SystemTestDefBuilder.functions(FunctionTestDef... functions)
Adds system functions.
|
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,
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 . |
FunctionTestDefBuilder |
FunctionTestDefBuilder.start(FunctionTestDef function)
Starts building a new function test definition.
|
static FunctionTestDefBuilder |
FunctionTestDefBuilder.with(FunctionTestDef functionTestDef)
Creates a new builder for the given FunctionTestDef.
|
Modifier and Type | Method and Description |
---|---|
SystemTestDefBuilder |
SystemTestDefBuilder.functions(Iterable<FunctionTestDef> functions)
Adds system functions.
|
SystemTestDefBuilder |
SystemTestDefBuilder.functions(Stream<FunctionTestDef> functions)
Adds system functions.
|
Constructor and Description |
---|
FunctionTestDefBuilder(FunctionTestDef function)
Creates a new FunctionTestDefBuilder object.
|
Modifier and Type | Method and Description |
---|---|
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. |
Modifier and Type | Method and Description |
---|---|
FunctionTestDef |
SystemTestDocReader.FunctionHandler.getFunctionTestDef()
Returns the
FunctionTestDef represented by this element. |
Modifier and Type | Method and Description |
---|---|
protected void |
SystemTestHtmlWriter.writeFunction(FunctionTestDef function)
Writes the given function test definition.
|
protected void |
SystemTestDocWriter.writeFunction(FunctionTestDef function)
Writes the given function test definition.
|
protected void |
SystemTestHtmlWriter.writeTestCases(FunctionTestDef function)
Writes the test cases for given function test definition.
|
Copyright © 2024 The Cornutum Project. All rights reserved.