Class FeatureComponentTests

java.lang.Object
org.opengis.cite.iso19136.general.SchemaModelFixture
org.opengis.cite.iso19136.components.FeatureComponentTests

public class FeatureComponentTests extends SchemaModelFixture
Verifies schema components that define geographic features and feature collections. These test methods belong to the "feature" group.

Sources

  • ISO 19136:2007, cl. 9: GML schema - features
  • ISO 19136:2007, cl. 21.3: Schemas defining Features and Feature Collections
  • Constructor Details

    • FeatureComponentTests

      public FeatureComponentTests()
  • Method Details

    • hasFeatureComponents

      @BeforeTest public void hasFeatureComponents(org.testng.ITestContext testContext)
      Determines if the application schema has any components (elements or type definitions) that denote geographic features. If not, all tests in this group are skipped. A geographic feature or feature collection must be declared as a global element that can substitute for gml:AbstractFeature; its content model must be derived from gml:AbstractFeatureType.
      Parameters:
      testContext - The test (set) context.
    • substitutesForAbstractFeature

      public void substitutesForAbstractFeature()
      [Test] All feature types (elements) declared in an application schema must substitute for gml:AbstractFeature.
      See Also:
      • "ISO 19136:2007, cl. A.1.1.15: Substitution group of feature elements"
    • verifyFeatureMemberProperties

      public void verifyFeatureMemberProperties()
      [Test] A feature collection has one or more properties of a type that derives by extension from gml:AbstractFeatureMemberType. Such a property type must contain (or refer to) a feature.

      Sources

      • ISO 19136:2007, cl. 9.9: Feature collections
      • ISO 19136:2007, cl. A.1.1.16: GML Feature Collections