Class WmtsNSGTestNGController

java.lang.Object
de.latlon.ets.core.AbstractTestNGController
org.opengeospatial.cite.wmts10.ets.core.AbstractWmtsTestNGController
org.opengeospatial.cite.wmts10.nsg.WmtsNSGTestNGController
All Implemented Interfaces:
com.occamlab.te.spi.jaxrs.TestSuiteController

public class WmtsNSGTestNGController extends AbstractWmtsTestNGController
Author:
Lyn Goltz (original), Jim Beatty (modified/fixed May/Jun/Jul-2017 for WMS and/or WMTS)
  • Constructor Details

    • WmtsNSGTestNGController

      public WmtsNSGTestNGController()
      Default constructor uses the location given by the "user.home" system property as the root output directory.
    • WmtsNSGTestNGController

      public WmtsNSGTestNGController(String outputDirUri)
      Construct a controller that writes results to the given output directory.
      Parameters:
      outputDirUri - A file URI that specifies the location of the directory in which test results will be written. It will be created if it does not exist.
  • Method Details

    • getTestNgConfiguration

      protected URL getTestNgConfiguration()
      Specified by:
      getTestNgConfiguration in class de.latlon.ets.core.AbstractTestNGController
    • main

      public static void main(String[] args) throws Exception
      A convenience method to facilitate test development.
      Parameters:
      args - Test run arguments (optional). The first argument must refer to an XML properties file containing the expected set of test run arguments. If no argument is supplied, the file located at ${user.home}/test-run-props.xml will be used.
      Throws:
      Exception - If the test run cannot be executed (usually due to unsatisfied pre-conditions).