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 GeometryOperation to be used
-testCaseIndex <num> opt Specifies the index of a single test to run
-verbose opt Provides verbose output
Version:
1.7
  • Constructor Details

    • JTSTestRunnerCmd

      public JTSTestRunnerCmd()
  • Method Details

    • 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 a ResultMatcher was 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)