public class SuiteFixtureListener extends Object implements org.testng.ISuiteListener
ISuite interface| Constructor and Description |
|---|
SuiteFixtureListener() |
| Modifier and Type | Method and Description |
|---|---|
(package private) boolean |
isXMLSchema(File file)
Determines if the content of the given file represents an XML Schema.
|
void |
onFinish(org.testng.ISuite suite) |
void |
onStart(org.testng.ISuite suite) |
(package private) void |
processGmlReference(org.testng.ISuite suite)
Extracts schema references from the GML resource identified by the
supplied test run argument.
|
(package private) void |
processIUTParameter(org.testng.ISuite suite)
Processes the
TestRunArg.IUT test suite
parameter that refers to a POSTed message entity. |
(package private) void |
processSchematronSchema(org.testng.ISuite suite)
Adds a URI reference specifying the location of a Schematron schema.
|
(package private) void |
processVersionParameter(org.testng.ISuite suite)
Processes the
TestRunArg.VERSION test suite
parameter that refers to a POSTed message entity. |
public void onStart(org.testng.ISuite suite)
onStart in interface org.testng.ISuiteListenerpublic void onFinish(org.testng.ISuite suite)
onFinish in interface org.testng.ISuiteListenervoid processIUTParameter(org.testng.ISuite suite)
TestRunArg.IUT test suite
parameter that refers to a POSTed message entity. Its value is a URI
referring to either an application schema or a GML document. If the
resource is an XML Schema the
TestRunArg.XSD parameter is set;
otherwise it is assumed to be a GML data resource.suite - An ISuite object representing a TestNG test suite.void processVersionParameter(org.testng.ISuite suite)
TestRunArg.VERSION test suite
parameter that refers to a POSTed message entity. Its value is a String
representing the version of the GML to be tested.suite - An ISuite object representing a TestNG test suite.void processGmlReference(org.testng.ISuite suite)
SCHEMA_LOC_SET (of type
Set<URI>).suite - An ISuite object representing a TestNG test suite.void processSchematronSchema(org.testng.ISuite suite)
suite - An ISuite object representing a TestNG test suite.boolean isXMLSchema(File file)
file - A File object.true if the file contains an XML Schema; false
otherwise.Copyright © 2023 Open Geospatial Consortium. All rights reserved.