Class VersionXmlStructureTests
java.lang.Object
org.opengis.cite.cdb10.CommonFixture
org.opengis.cite.cdb10.metadataAndVersioning.Capability2Tests
org.opengis.cite.cdb10.metadataAndVersioning.VersionXmlStructureTests
Created by martin on 2016-09-06.
-
Field Summary
Fields inherited from class org.opengis.cite.cdb10.CommonFixture
path, ROOT_PKG_PATH, SAMPLE_CDB_PATH
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Verify Version.xml against Version.xsd.void
Check that Version.xml exists.void
Check for "Specification" element in Version.xml.void
Check that the "Specification" element has valid values for the "version" attribute.Methods inherited from class org.opengis.cite.cdb10.metadataAndVersioning.Capability2Tests
obtainTestSubject
-
Constructor Details
-
VersionXmlStructureTests
public VersionXmlStructureTests()
-
-
Method Details
-
verifyVersionXmlFileExists
public void verifyVersionXmlFileExists()Check that Version.xml exists. -
verifyVersionXmlAgainstSchema
Verify Version.xml against Version.xsd.- Throws:
IOException
- Error reading XML or XSD fileSAXException
- Error parsing XML or XSD file
-
verifyVersionXmlHasSpecificationElement
public void verifyVersionXmlHasSpecificationElement()Check for "Specification" element in Version.xml. -
verifyVersionXmlSpecificationVersionIsValid
public void verifyVersionXmlSpecificationVersionIsValid()Check that the "Specification" element has valid values for the "version" attribute.
-