Package | Description |
---|---|
org.cornutum.tcases | |
org.cornutum.tcases.anon | |
org.cornutum.tcases.io | |
org.cornutum.tcases.openapi | |
org.cornutum.tcases.openapi.io |
Modifier and Type | Method and Description |
---|---|
SystemInputDef |
SystemInputDef.addFunctionInputDef(FunctionInputDef functionInputDef)
Adds a new function definition.
|
SystemInputDef |
SystemInputDefBuilder.build()
Returns the current system input definition.
|
static SystemInputDef |
Tcases.getEffectiveInputDef(SystemInputDef inputDef)
Returns the effective system input definition, using the standard
TestCaseResolver . |
static SystemInputDef |
Tcases.getEffectiveInputDef(TestCaseResolverFactory resolverFactory,
SystemInputDef inputDef)
Returns the effective system input definition.
|
SystemInputDef |
SystemInputDef.removeFunctionInputDef(String name)
Removes a function definition.
|
Modifier and Type | Method and Description |
---|---|
static SystemInputDef |
Tcases.getEffectiveInputDef(SystemInputDef inputDef)
Returns the effective system input definition, using the standard
TestCaseResolver . |
static SystemInputDef |
Tcases.getEffectiveInputDef(TestCaseResolverFactory resolverFactory,
SystemInputDef inputDef)
Returns the effective system input definition.
|
static SystemTestDef |
Tcases.getTests(SystemInputDef inputDef,
IGeneratorSet genDef,
SystemTestDef baseDef)
Returns test case definitions for the given system input definition, using the given generator set and
base test definitions.
|
static SystemTestDef |
Tcases.getTests(SystemInputDef inputDef,
IGeneratorSet genDef,
TestCaseResolverFactory resolverFactory,
SystemTestDef baseDef,
GeneratorOptions options)
Returns test case definitions for the given system input definition, using the given generator set, resolvers, and
base test definitions.
|
static Optional<GeneratorSet> |
Reducer.reduce(SystemInputDef inputDef)
For a
system input definition , returns a set of test case generators
that reduces
the number of test cases normally generated, using default options . |
static Optional<GeneratorSet> |
Reducer.reduce(SystemInputDef inputDef,
GeneratorSet genDef,
SystemTestDef baseDef,
ReducerOptions options)
For a
system input definition , returns a set of test case generators
that reduces the number of test cases normally generated, using the given options . |
static TestCaseSchemaResolverFactory |
Tcases.schemaResolverFactoryFor(SystemInputDef inputDef)
Returns the standard
TestCaseResolverFactory for the given system input definition. |
SystemInputDefBuilder |
SystemInputDefBuilder.start(SystemInputDef systemInputDef)
Starts building a new system input definition.
|
static SystemInputDefBuilder |
SystemInputDefBuilder.with(SystemInputDef systemInputDef)
Creates a new builder for the given SystemInputDef.
|
static void |
TcasesJson.writeInputModel(SystemInputDef inputDef,
OutputStream outputStream)
Writes a
JSON document describing the given system input definition to the given output stream. |
static void |
TcasesIO.writeInputModel(SystemInputDef inputDef,
OutputStream outputStream)
Writes an XML document describing the given system input definition to the given output stream.
|
Constructor and Description |
---|
SystemInputDefBuilder(SystemInputDef systemInputDef)
Creates a new SystemInputDefBuilder object.
|
Modifier and Type | Method and Description |
---|---|
SystemInputDef |
Anonymizer.getInputDef()
Returns an anonymized system input definition.
|
Constructor and Description |
---|
Anonymizer(SystemInputDef inputDef)
Creates a new Anonymizer instance.
|
Modifier and Type | Method and Description |
---|---|
SystemInputDef |
SystemInputJson.asSystemInputDef(javax.json.JsonObject json)
Returns the SystemInputDef represented by the given JSON object.
|
SystemInputDef |
Project.getSystemInput()
Returns the system input definition for this project.
|
SystemInputDef |
SystemInputResource.getSystemInputDef()
Returns a
SystemInputDef instance. |
SystemInputDef |
SystemInputJsonReader.getSystemInputDef()
Returns a
SystemInputDef instance. |
SystemInputDef |
SystemInputDocReader.getSystemInputDef()
Returns a
SystemInputDef instance. |
SystemInputDef |
SystemInputDocReader.SystemHandler.getSystemInputDef()
Returns the
SystemInputDef represented by this element. |
SystemInputDef |
ISystemInputSource.getSystemInputDef()
Returns a
SystemInputDef instance. |
Modifier and Type | Method and Description |
---|---|
void |
Project.setSystemInput(SystemInputDef systemInputDef)
Changes the system input definition for this project.
|
ProjectBuilder |
ProjectBuilder.systemInput(SystemInputDef systemInputDef)
Changes the system input definition for the project.
|
javax.json.JsonObject |
SystemInputJson.toJson(SystemInputDef systemInput)
Returns the JSON object that represents the given system input definition.
|
static ProjectBuilder |
ProjectBuilder.with(SystemInputDef systemInputDef)
Creates a new builder for a Project with the given system input definition.
|
void |
SystemInputResource.write(SystemInputDef systemInput)
Writes the given system input definition.
|
void |
SystemInputJsonWriter.write(SystemInputDef systemInput)
Writes the given system test definition the form of a JSON document.
|
void |
SystemInputDocWriter.write(SystemInputDef systemInput)
Writes the given system input definition the form of an XML document.
|
abstract void |
AbstractSystemInputWriter.write(SystemInputDef systemInput)
Writes the given system test definition.
|
Modifier and Type | Method and Description |
---|---|
static SystemInputDef |
TcasesOpenApi.getRequestExamplesModel(io.swagger.v3.oas.models.OpenAPI api)
Returns a
system input definition for the API requests defined examples in the given
OpenAPI definition. |
static SystemInputDef |
TcasesOpenApi.getRequestExamplesModel(io.swagger.v3.oas.models.OpenAPI api,
ModelOptions options)
Returns a
system input definition for the API requests defined examples in the given
OpenAPI definition. |
static SystemInputDef |
TcasesOpenApi.getRequestInputModel(io.swagger.v3.oas.models.OpenAPI api)
Returns a
system input definition for the API requests defined by the given
OpenAPI definition. |
SystemInputDef |
RequestInputModeller.getRequestInputModel(io.swagger.v3.oas.models.OpenAPI api)
Returns a
system input definition for the API requests defined by the given
OpenAPI definition. |
static SystemInputDef |
TcasesOpenApi.getRequestInputModel(io.swagger.v3.oas.models.OpenAPI api,
ModelOptions options)
Returns a
system input definition for the API requests defined by the given
OpenAPI definition. |
static SystemInputDef |
TcasesOpenApi.getResponseInputModel(io.swagger.v3.oas.models.OpenAPI api)
Returns a
system input definition for the API responses defined by the given
OpenAPI definition. |
SystemInputDef |
ResponseInputModeller.getResponseInputModel(io.swagger.v3.oas.models.OpenAPI api)
Returns a
system input definition for the API responses defined by the given
OpenAPI definition. |
static SystemInputDef |
TcasesOpenApi.getResponseInputModel(io.swagger.v3.oas.models.OpenAPI api,
ModelOptions options)
Returns a
system input definition for the API responses defined by the given
OpenAPI definition. |
protected SystemInputDef |
InputModeller.requestInputModel(io.swagger.v3.oas.models.OpenAPI api)
Returns a
system input definition for the API requests defined by the given
OpenAPI definition. |
protected SystemInputDef |
InputModeller.responseInputModel(io.swagger.v3.oas.models.OpenAPI api)
Returns a
system input definition for the API responses defined by the given
OpenAPI definition. |
Modifier and Type | Method and Description |
---|---|
static SystemInputDef |
TcasesOpenApiIO.getRequestInputModel(File api)
Returns a
system input definition for the API requests defined by the given
OpenAPI definition. |
static SystemInputDef |
TcasesOpenApiIO.getRequestInputModel(File api,
ModelOptions options)
Returns a
system input definition for the API requests defined by the given
OpenAPI definition. |
static SystemInputDef |
TcasesOpenApiIO.getRequestInputModel(File api,
String defaultDocType,
ModelOptions options)
Returns a
system input definition for the API requests defined by the given
OpenAPI definition. |
static SystemInputDef |
TcasesOpenApiIO.getRequestInputModel(InputStream api)
Returns a
system input definition for the API requests defined by the
OpenAPI definition in the given JSON document. |
static SystemInputDef |
TcasesOpenApiIO.getRequestInputModel(InputStream api,
ModelOptions options)
Returns a
system input definition for the API requests defined by the
OpenAPI definition in the given JSON document. |
static SystemInputDef |
TcasesOpenApiIO.getRequestInputModel(InputStream api,
String docType,
ModelOptions options)
Returns a
system input definition for the API requests defined by the given
OpenAPI definition document. |
static SystemInputDef |
TcasesOpenApiIO.getResponseInputModel(File api)
Returns a
system input definition for the API responses defined by the given
OpenAPI definition. |
static SystemInputDef |
TcasesOpenApiIO.getResponseInputModel(File api,
ModelOptions options)
Returns a
system input definition for the API responses defined by the given
OpenAPI definition. |
static SystemInputDef |
TcasesOpenApiIO.getResponseInputModel(File api,
String defaultDocType,
ModelOptions options)
Returns a
system input definition for the API responses defined by the given
OpenAPI definition. |
static SystemInputDef |
TcasesOpenApiIO.getResponseInputModel(InputStream api)
Returns a
system input definition for the API responses defined by the
OpenAPI definition in the given JSON document. |
static SystemInputDef |
TcasesOpenApiIO.getResponseInputModel(InputStream api,
ModelOptions options)
Returns a
system input definition for the API responses defined by the
OpenAPI definition in the given JSON document. |
static SystemInputDef |
TcasesOpenApiIO.getResponseInputModel(InputStream api,
String docType,
ModelOptions options)
Returns a
system input definition for the API responses defined by the given
OpenAPI definition document. |
Modifier and Type | Method and Description |
---|---|
static void |
TcasesOpenApiIO.writeInputModel(SystemInputDef inputDef,
OutputStream outputStream)
Writes a
JSON document describing the given system input definition to the given output stream. |
Copyright © 2024 The Cornutum Project. All rights reserved.