|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opengis.cite.osxgeotime.TestNGController
public class TestNGController
Main test run controller oversees execution of TestNG test suites.
Constructor Summary | |
---|---|
TestNGController()
Default constructor uses the location given by the "user.home" system property as the root output directory. |
|
TestNGController(String outputDir)
Construct a controller that writes results to the given output directory. |
Method Summary | |
---|---|
Source |
doTestRun(Document testRunArgs)
|
String |
getCode()
|
String |
getTitle()
|
String |
getVersion()
|
static void |
main(String[] args)
A convenience method to facilitate test development. |
(package private) void |
validateTestRunArgs(Document testRunArgs)
Validates the given set of test run arguments. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TestNGController()
public TestNGController(String outputDir)
outputDir
- The directory to write test results to. It will be
created if it does not exist.Method Detail |
---|
public static void main(String[] args) throws Exception
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.
Exception
- If the test run cannot be executed (usually due to
unsatisfied pre-conditions).public String getCode()
getCode
in interface com.occamlab.te.spi.jaxrs.TestSuiteController
public String getVersion()
getVersion
in interface com.occamlab.te.spi.jaxrs.TestSuiteController
public String getTitle()
getTitle
in interface com.occamlab.te.spi.jaxrs.TestSuiteController
public Source doTestRun(Document testRunArgs) throws Exception
doTestRun
in interface com.occamlab.te.spi.jaxrs.TestSuiteController
Exception
void validateTestRunArgs(Document testRunArgs) throws Exception
testRunArgs
- A DOM Document containing a set of XML properties
(key-value pairs).
Exception
- If any arguments are missing or invalid for some
reason.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |