Class MediaTests
java.lang.Object
org.opengis.cite.gpkg12.CommonFixture
org.opengis.cite.gpkg12.extensions.relatedtables.RTEBase
org.opengis.cite.gpkg12.extensions.relatedtables.MediaTests
Defines test methods that apply to the "Media" 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 media table or view if the row in gpkgext_relations with a corresponding related_table_name has a relation_name of "media".void
A user-defined media table or view SHALL meet all requirements of a GPKG attributes table type.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
-
MediaTests
public MediaTests()
-
-
Method Details
-
activeExtension
A user-defined related data table or view SHALL be a user-defined media table or view if the row in gpkgext_relations with a corresponding related_table_name has a relation_name of "media".- Overrides:
activeExtension
in classRTEBase
- Parameters:
testContext
- a test context- Throws:
SQLException
- On any SQL query error or test failure- See Also:
-
mediaTableDefinition
A user-defined media table or view SHALL meet all requirements of a GPKG attributes table type. A user-defined media table or view SHALL contain all of the columns described in User-Defined Media Table Definition.- Throws:
SQLException
- On any SQL query error or test failure- See Also:
-