public abstract class RTEBase extends CommonFixture
databaseConnection, dataSource, geopackageVersion, gpkgFile, ROOT_PKG_PATH| Constructor and Description |
|---|
RTEBase() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
activeExtension(ITestContext testContext)
Helper function to determine if the extension is active.
|
protected void |
testRelatedType(String relationName,
String requiredType)
A helper function for RTE requirements classes to determine whether
the related data is of the expected type
|
protected void |
testRequirementsClassActive(String relationName,
String className)
a helper function for RTE requirements classes
|
checkPrimaryKey, close, getPrimaryKeyColumn, getTestName, initCommonFixture, isExtendedType, setTestName, validateClassEnabledprotected void activeExtension(ITestContext testContext) throws SQLException
testContext - a context objectSQLException - On any SQL query error or test failureprotected void testRequirementsClassActive(String relationName, String className) throws SQLException
relationName - a relation name like "media"className - a human-readable name for a requirements class
like "Media"SQLException - On any SQL query error or test failureprotected void testRelatedType(String relationName, String requiredType) throws SQLException
relationName - a relation name (e.g., "media")requiredType - the expected data type in gpkg_contents
(e.g., "attributes")SQLException - On any SQL query error or test failureCopyright © 2021 Open Geospatial Consortium. All rights reserved.