public class AtomCoreTests extends CommonFixture
Sources
client, contextFile, ROOT_PKG_PATH
Constructor and Description |
---|
AtomCoreTests() |
Modifier and Type | Method and Description |
---|---|
void |
assessSchemaValidity()
[
Test ] The Atom feed is schema-valid. |
void |
checkSchematronRules()
[
Test ] Checks that Schematron constraints are satisfied. |
void |
initFixture(org.testng.ITestContext testContext) |
void |
isAtomFeed()
[
Test ] The atom:feed element shall be used in OWS Context to
describe the context file. |
initCommonFixture, setContextDocument
public void initFixture(org.testng.ITestContext testContext)
public void isAtomFeed()
Test
] The atom:feed element shall be used in OWS Context to
describe the context file.public void assessSchemaValidity() throws SAXException, IOException
Test
] The Atom feed is schema-valid. Note that the (informative)
RELAX NG grammar given in Appendix B of RFC 4287 accepts either a feed or
an entry as the starting element.IOException
- If an I/O error occurs while attempting to read a schema
grammar or the context file.SAXException
- If the context file cannot be parsed.public void checkSchematronRules()
Test
] Checks that Schematron constraints are satisfied. Several
general rules are embedded in the RELAX NG grammars; these have been
extracted into a separate schema (owc-atom.sch).Copyright © 2021 Open Geospatial Consortium. All rights reserved.