Class NonlinearTests
java.lang.Object
org.opengis.cite.gpkg12.CommonFixture
org.opengis.cite.gpkg12.FeaturesFixture
org.opengis.cite.gpkg12.extensions.nonlinear.NonlinearTests
Defines test methods that apply to descriptive information about a GeoPackage's RTree
Index Extension.
Sources
- Author:
- Jeff Yutzler
-
Field Summary
Fields inherited from class org.opengis.cite.gpkg12.FeaturesFixture
ALLOWED_GEOMETRY_TYPES, geomGEOMETRY, geomGEOMETRYCOLLECTION, geomLINESTRING, geomMULTILINESTRING, geomMULTIPOINT, geomMULTIPOLYGON, geomPOINT, geomPOLYGON
Fields inherited from class org.opengis.cite.gpkg12.CommonFixture
databaseConnection, dataSource, geopackageVersion, gpkgFile, ROOT_PKG_PATH
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
A GeoPackage that contains a `gpkg_geometry_columns` table or updateable view with row records that specify extension `geometry_type_name` column values SHALL contain a `gpkg_extensions` table that contains row records with `table_name` and `column_name` values from the `gpkg_geometry_columns` row records that identify extension type uses, and `extension_name` column values for each of those geometry types constructed per the previous requirement extension_geometry_types_extensions_name.void
The `geometry_type_name` value in a `gpkg_geometry_columns` row MAY be one of the uppercase extended non-linear geometry type names specified in geometry_types.void
validateExtensionPresent
(org.testng.ITestContext testContext) An extension name to specify a feature geometry extension type SHALL be defined for the "gpkg" author name using the "gpkg_geom_<gname>" template where <gname> is the uppercase name of the extension geometry type from Geometry Types (Normative) used in a GeoPackage.Methods inherited from class org.opengis.cite.gpkg12.FeaturesFixture
getAllowedGeometryTypes
Methods inherited from class org.opengis.cite.gpkg12.CommonFixture
checkPrimaryKey, close, getGeopackageVersion, getPrimaryKeyColumn, getTestName, initCommonFixture, isExtendedType, setTestName, validateClassEnabled
-
Constructor Details
-
NonlinearTests
public NonlinearTests()
-
-
Method Details
-
validateExtensionPresent
@BeforeClass public void validateExtensionPresent(org.testng.ITestContext testContext) throws SQLException An extension name to specify a feature geometry extension type SHALL be defined for the "gpkg" author name using the "gpkg_geom_<gname>" template where <gname> is the uppercase name of the extension geometry type from Geometry Types (Normative) used in a GeoPackage.- Parameters:
testContext
- the ITestContext to use- Throws:
SQLException
- on any error- See Also:
-
featureGeometryColumnsDataValuesGeometryType
The `geometry_type_name` value in a `gpkg_geometry_columns` row MAY be one of the uppercase extended non-linear geometry type names specified in geometry_types. Test case/extensions/geometry_types/data_values_geometry_type_name
Extends test case/opt/features/geometry_columns/data/data_values_geometry_type_name
- Throws:
SQLException
- If an SQL query causes an error- See Also:
-
extensionsRow
A GeoPackage that contains a `gpkg_geometry_columns` table or updateable view with row records that specify extension `geometry_type_name` column values SHALL contain a `gpkg_extensions` table that contains row records with `table_name` and `column_name` values from the `gpkg_geometry_columns` row records that identify extension type uses, and `extension_name` column values for each of those geometry types constructed per the previous requirement extension_geometry_types_extensions_name. Test case/extensions/geometry_types/extension_row
- Throws:
SQLException
- If an SQL query causes an error- See Also:
-