Class 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 Detail

      • JTSTestRunnerCmd

        public JTSTestRunnerCmd()
    • Method Detail

      • 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)