public class SuiteFixtureListener extends Object implements 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(ISuite suite) |
void |
onStart(ISuite suite) |
(package private) void |
processIUTParameter(ISuite suite)
Processes the
TestRunArg.IUT test suite
parameter. |
(package private) void |
processRequiredSuiteParameters(ISuite suite)
Processes test suite parameters and sets suite attributes accordingly.
|
(package private) void |
processSchematronSchema(ISuite suite)
Adds a URI reference specifying the location of a Schematron schema.
|
public void onStart(ISuite suite)
onStart in interface ISuiteListenerpublic void onFinish(ISuite suite)
onFinish in interface ISuiteListenervoid processIUTParameter(ISuite suite)
TestRunArg.IUT test suite
parameter. 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 data resource.suite - An ISuite object representing a TestNG test suite.void processRequiredSuiteParameters(ISuite suite)
SuiteAttribute.SCHEMA_LOC_SET attribute (Set<URI>).
If both arguments are present, the schema(s) referenced by the
xsi:schemaLocation attribute in the GML instance document takes
precedence over the value of the
TestRunArg.XSD parameter.suite - An ISuite object representing a TestNG test suite.void processSchematronSchema(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 © 2014 Open Geospatial Consortium. All rights reserved.