public class VersionXmlStructureTests extends Capability2Tests
path, ROOT_PKG_PATH, SAMPLE_CDB_PATH| Constructor and Description |
|---|
VersionXmlStructureTests() |
| Modifier and Type | Method and Description |
|---|---|
void |
verifyVersionXmlAgainstSchema()
Verify Version.xml against Version.xsd.
|
void |
verifyVersionXmlFileExists()
Check that Version.xml exists.
|
void |
verifyVersionXmlHasSpecificationElement()
Check for "Specification" element in Version.xml.
|
void |
verifyVersionXmlSpecificationVersionIsValid()
Check that the "Specification" element has valid values for the
"version" attribute.
|
obtainTestSubjectpublic void verifyVersionXmlFileExists()
public void verifyVersionXmlAgainstSchema()
throws IOException,
SAXException
IOException - Error reading XML or XSD fileSAXException - Error parsing XML or XSD filepublic void verifyVersionXmlHasSpecificationElement()
public void verifyVersionXmlSpecificationVersionIsValid()
Copyright © 2023 Open Geospatial Consortium. All rights reserved.