java.lang.Object
org.opengis.cite.geopose10.CommonFixture
org.opengis.cite.geopose10.encodings.json.Chain

public class Chain extends CommonFixture

Chain class.

  • Constructor Details

    • Chain

      public Chain()
  • Method Details

    • obtainTestSubject

      @BeforeClass public void obtainTestSubject(org.testng.ITestContext testContext)
      Obtains the test subject from the ISuite context. The suite attribute SuiteAttribute.TEST_SUBJECT should evaluate to a DOM Document node.
      Parameters:
      testContext - The test (group) context.
    • setTestSubject

      public void setTestSubject(File testSubject)
      Sets the test subject. This method is intended to facilitate unit testing.
      Parameters:
      testSubject - A Document node representing the test subject or metadata about it.
    • validateByChainSchema

      public void validateByChainSchema()
      Implements Conformance test A.42: Verify conformance via JSON schema Validate the JSON data against the GeoPose Chain JSON-Schema 2019-9 definition