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
- Author:
- Lyn Goltz (original), Jim Beatty (modified/fixed May/Jun/Jul-2017 for WMS and/or WMTS)
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor uses the location given by the "user.home" system property as the root output directory.WmtsNSGTestNGController(String outputDirUri) Construct a controller that writes results to the given output directory. -
Method Summary
Modifier and TypeMethodDescriptionprotected URLstatic voidA convenience method to facilitate test development.Methods inherited from class org.opengeospatial.cite.wmts10.ets.core.AbstractWmtsTestNGController
validateTestRunArgsMethods inherited from class de.latlon.ets.core.AbstractTestNGController
doTestRun, findXmlArgs, getCode, getTitle, getVersion
-
Constructor Details
-
WmtsNSGTestNGController
public WmtsNSGTestNGController()Default constructor uses the location given by the "user.home" system property as the root output directory. -
WmtsNSGTestNGController
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
- Specified by:
getTestNgConfigurationin classde.latlon.ets.core.AbstractTestNGController
-
main
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).
-