public class TcasesJson extends Object
test cases
from JSON documents that define the system input model
,
generators
, and base tests
for a Tcases project
.Modifier and Type | Method and Description |
---|---|
static SystemTestDef |
getTests(InputStream projectStream)
Returns test case definitions for the
system input model , generator set and
base test definitions defined by the Project read from the given JSON document stream . |
static void |
writeGenerators(IGeneratorSet generators,
OutputStream outputStream)
Writes a JSON document describing the given generator definitions to the given output stream.
|
static void |
writeInputModel(SystemInputDef inputDef,
OutputStream outputStream)
Writes a
JSON document describing the given system input definition to the given output stream. |
static void |
writeTests(SystemTestDef testDef,
OutputStream outputStream)
Writes a
JSON document describing the given test case definitions to the given output stream. |
public static SystemTestDef getTests(InputStream projectStream)
system input model
, generator set
and
base test definitions
defined by the Project
read from the given JSON document stream
.
If no generator set is specified, the default generator is used. If no base test definitions are specified, new
test cases are generated.public static void writeInputModel(SystemInputDef inputDef, OutputStream outputStream)
JSON document
describing the given system input definition to the given output stream.public static void writeTests(SystemTestDef testDef, OutputStream outputStream)
JSON document
describing the given test case definitions to the given output stream.public static void writeGenerators(IGeneratorSet generators, OutputStream outputStream)
Copyright © 2024 The Cornutum Project. All rights reserved.