Class AttributeTests

java.lang.Object
org.opengis.cite.gpkg12.CommonFixture
org.opengis.cite.gpkg12.attributes.AttributeTests

public class AttributeTests extends CommonFixture
Defines test methods that verify a GeoPackage's content relating to attributes.

Sources

Author:
Brad Hards
  • Constructor Details

    • AttributeTests

      public AttributeTests()
  • Method Details

    • setUp

      @BeforeClass public void setUp() throws SQLException
      Shared setup.
      Throws:
      SQLException - if connection could not be established
    • attributeTableIntegerPrimaryKey

      public void attributeTableIntegerPrimaryKey() throws SQLException
      A GeoPackage MAY contain tables or updatable views containing attribute sets. Every such Attribute table or view in a GeoPackage SHALL have a column with column type INTEGER and PRIMARY KEY AUTOINCREMENT column constraints per GeoPackage Attributes Example Table or View Definition and EXAMPLE: Attributes table Create Table SQL (Informative). See Attribute User Data Tables - Requirement 119 and /opt/attributes/contents/data/attributes_row
      Throws:
      SQLException - If an SQL query causes an error