Class SimpleAttributesTests
java.lang.Object
org.opengis.cite.gpkg12.CommonFixture
org.opengis.cite.gpkg12.extensions.relatedtables.RTEBase
org.opengis.cite.gpkg12.extensions.relatedtables.SimpleAttributesTests
Defines test methods that apply to the "Simple Attributes" requirements class of the
Related Tables Extension.
Sources
- Author:
- Jeff Yutzler
-
Field Summary
Fields inherited from class org.opengis.cite.gpkg12.CommonFixture
databaseConnection, dataSource, geopackageVersion, gpkgFile, ROOT_PKG_PATH
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
activeExtension
(org.testng.ITestContext testContext) 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".void
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.Methods inherited from class org.opengis.cite.gpkg12.extensions.relatedtables.RTEBase
testRelatedType, testRequirementsClassActive
Methods inherited from class org.opengis.cite.gpkg12.CommonFixture
checkPrimaryKey, close, getGeopackageVersion, getPrimaryKeyColumn, getTestName, initCommonFixture, isExtendedType, setTestName, validateClassEnabled
-
Constructor Details
-
SimpleAttributesTests
public SimpleAttributesTests()
-
-
Method Details
-
activeExtension
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 classRTEBase
- Parameters:
testContext
- a test context- Throws:
SQLException
- On any SQL query error or test failure
-
attributesTableDefinition
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:
-