Class JTSTestRunnerCmd
- java.lang.Object
-
- org.locationtech.jtstest.testrunner.JTSTestRunnerCmd
-
public class JTSTestRunnerCmd extends Object
A command-line utility to execute tests specified in JTS Test XML files. Displays status and any errors encountered.Command Line Options
-files { <fileOrDirectoryName> } req Specifies the XML test files to run -geomop <classname> opt Specifies a custom GeometryOperationto be used-testCaseIndex <num> opt Specifies the index of a single test to run -verbose opt Provides verbose output - Version:
- 1.7
-
-
Constructor Summary
Constructors Constructor Description JTSTestRunnerCmd()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static List<String>cmdOptionArgList(CommandLine commandLine, String optionName)static GeometryOperationgetGeometryOperation()static ResultMatchergetResultMatcher()static booleanisGeometryOperationSpecified()Tests whether a GeometryOperation was specified on the command linestatic booleanisResultMatcherSpecified()Tests whether aResultMatcherwas specified on the command linestatic voidmain(String[] args)
-
-
-
Method Detail
-
getGeometryOperation
public static GeometryOperation getGeometryOperation()
-
isGeometryOperationSpecified
public static boolean isGeometryOperationSpecified()
Tests whether a GeometryOperation was specified on the command line- Returns:
- true if a geometry operation was specified
-
getResultMatcher
public static ResultMatcher getResultMatcher()
-
isResultMatcherSpecified
public static boolean isResultMatcherSpecified()
Tests whether aResultMatcherwas specified on the command line- Returns:
- true if a matcher was specified
-
main
public static void main(String[] args)
-
cmdOptionArgList
public static List<String> cmdOptionArgList(CommandLine commandLine, String optionName)
-
-