Class SimpleAttributesTests

java.lang.Object
org.opengis.cite.gpkg12.CommonFixture
org.opengis.cite.gpkg12.extensions.relatedtables.RTEBase
org.opengis.cite.gpkg12.extensions.relatedtables.SimpleAttributesTests

public class SimpleAttributesTests extends RTEBase
Defines test methods that apply to the "Simple Attributes" requirements class of the Related Tables Extension.

Sources

Author:
Jeff Yutzler
  • Constructor Details

    • SimpleAttributesTests

      public SimpleAttributesTests()
  • Method Details

    • activeExtension

      @BeforeClass public void activeExtension(org.testng.ITestContext testContext) throws SQLException
      A user-defined related data table or view SHALL be a user-defined simple attribute table or view if the row in gpkgext_relations with a corresponding related_table_name has a relation_name of "simple_attributes".
      Overrides:
      activeExtension in class RTEBase
      Parameters:
      testContext - a test context
      Throws:
      SQLException - On any SQL query error or test failure
    • attributesTableDefinition

      public void attributesTableDefinition() throws SQLException
      A user-defined simple attribute table or view SHALL contain the primary key column and at least one other column as defined in User-Defined Simple Attributes Table Definition. A user-defined simple attribute table SHALL only contain data belonging to the TEXT, INTEGER, or REAL storage classes and SHALL NOT contain NULL or BLOB storage classes (e.g., GEOMETRY).
      Throws:
      SQLException - On any SQL query error or test failure
      See Also: