Package tech.units.tck
Class TCKRunner
java.lang.Object
org.testng.xml.XmlSuite
tech.units.tck.TCKRunner
public class TCKRunner extends org.testng.xml.XmlSuite implements Tool, tech.uom.lib.common.function.Versioned<String>
Main class for executing the JSR 385 TCK.
- Since:
- 1.0
- Version:
- 2.2.1, December 2, 2020
- Author:
- Werner Keil
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TCKRunner.Reporter
-
Field Summary
Fields Modifier and Type Field Description static String
MEASURE_PACKAGE
static String
SECTION_PREFIX
static String
SPEC_ID
static String
SPEC_VERSION
Fields inherited from class org.testng.xml.XmlSuite
DEFAULT_ALLOW_RETURN_VALUES, DEFAULT_CONFIG_FAILURE_POLICY, DEFAULT_DATA_PROVIDER_THREAD_COUNT, DEFAULT_GROUP_BY_INSTANCES, DEFAULT_JUNIT, DEFAULT_MIXED, DEFAULT_PARALLEL, DEFAULT_PRESERVE_ORDER, DEFAULT_SKIP_FAILED_INVOCATION_COUNTS, DEFAULT_THREAD_COUNT, DEFAULT_VERBOSE
-
Constructor Summary
Constructors Constructor Description TCKRunner()
-
Method Summary
Modifier and Type Method Description Set<SourceVersion>
getSourceVersions()
String
getVersion()
static void
main(String... args)
int
run(InputStream in, OutputStream out, OutputStream err, String... args)
Main method to start the TCK.Methods inherited from class org.testng.xml.XmlSuite
addExcludedGroup, addIncludedGroup, addListener, addTest, clone, equals, getAllowReturnValues, getAllParameters, getChildSuites, getConfigFailurePolicy, getDataProviderThreadCount, getExcludedGroups, getFileName, getGroupByInstances, getGroups, getGuiceStage, getIncludedGroups, getListeners, getLocalListeners, getMethodSelectors, getName, getObjectFactory, getPackageNames, getPackages, getParallel, getParameter, getParameters, getParentModule, getParentSuite, getPreserveOrder, getSuiteFiles, getTest, getTests, getThreadCount, getTimeOut, getTimeOut, getVerbose, getXmlMethodSelectors, getXmlPackages, hashCode, isJUnit, isParsed, onListenerElement, onMethodSelectorElement, onPackagesElement, onParameterElement, onSuiteFilesElement, setAllowReturnValues, setConfigFailurePolicy, setDataProviderThreadCount, setExcludedGroups, setFileName, setGroupByInstances, setGroups, setGuiceStage, setIncludedGroups, setJunit, setJUnit, setListeners, setMethodSelectors, setMethodSelectors, setName, setObjectFactory, setPackages, setParallel, setParallel, setParameters, setParentModule, setParentSuite, setParsed, setPreserveOrder, setPreserveOrder, setSkipFailedInvocationCounts, setSuiteFiles, setTests, setThreadCount, setTimeOut, setVerbose, setXmlMethodSelectors, setXmlPackages, shallowCopy, skipFailedInvocationCounts, toString, toXml
-
Field Details
-
SECTION_PREFIX
- See Also:
- Constant Field Values
-
MEASURE_PACKAGE
- See Also:
- Constant Field Values
-
SPEC_ID
- See Also:
- Constant Field Values
-
SPEC_VERSION
- See Also:
- Constant Field Values
-
-
Constructor Details
-
Method Details
-
run
Main method to start the TCK. Optional arguments are:- -Dtech.units.tck.profile for defining the profile for TestNG groups (default: full).
- -Dtech.units.tck.outputDir for defining the output directory TestNG uses (default: ./target/tck-output).
- -Dtech.units.tck.verbose=true to enable TestNG verbose mode.
- -Dtech.units.tck.reportFile=targetFile.txt for defining the TCK result summary report target file (default: ./target/tck-results.txt).
-
getVersion
- Specified by:
getVersion
in interfacetech.uom.lib.common.function.Versioned<String>
-
getSourceVersions
- Specified by:
getSourceVersions
in interfaceTool
-
main
-