public class GeneralSchemaTests extends Object
| Constructor and Description |
|---|
GeneralSchemaTests() |
| Modifier and Type | Method and Description |
|---|---|
void |
createSchemaModel(org.testng.ITestContext testContext)
Creates a schema model using the Schema object obtained from the ISuite
context.
|
void |
declaresGMLObjects()
[
@Test] A GML application schema shall be of at least one of the
schema types described in clauses 21.3 through 21.11. |
void |
declareTargetNamespace()
[
@Test] An application schema shall declare a target namespace
and it must not be "http://www.opengis.net/gml/3.2". |
(package private) URI |
getApplicationNamespaceName(Set<URI> schemaLocations)
Determines the target namespace of a GML application schema, which is
assumed to be the first schema found to have a target namespace name that
is not in the opengis.net domain.
|
(package private) AppSchemaInfo |
getSchemaInfo() |
void |
importFullGMLSchema()
[
@Test] A GML application schema shall import the full GML
schema. |
public void createSchemaModel(org.testng.ITestContext testContext)
schema should
evaluate to a Schema object.
If the model is successfully created it is added to the ISuite context as
the model attribute.testContext - The test (group) context.public void declareTargetNamespace()
@Test] An application schema shall declare a target namespace
and it must not be "http://www.opengis.net/gml/3.2".
Sources
public void importFullGMLSchema()
@Test] A GML application schema shall import the full GML
schema. The schemaLocation to the imported GML schema document must be
provided.
Sources
public void declaresGMLObjects()
@Test] A GML application schema shall be of at least one of the
schema types described in clauses 21.3 through 21.11. That is, a
compliant application schema must include definitions created in accord
with at least one of the following conformance classes:
Sources
AppSchemaInfo getSchemaInfo()
URI getApplicationNamespaceName(Set<URI> schemaLocations)
schemaLocations - A Set<URI> of schema references.Copyright © 2023 Open Geospatial Consortium. All rights reserved.