public class FeaturesTests extends FeaturesFixture
Sources
Modifier and Type | Field and Description |
---|---|
(package private) int |
errorDetected19 |
(package private) int |
errorDetected20 |
(package private) int |
errorDetected32 |
(package private) int |
errorDetected33 |
(package private) int |
errorDetected66 |
(package private) int |
errorDetected67 |
(package private) int |
errorDetected78 |
(package private) int |
errorDetectedNSG19b |
ALLOWED_GEOMETRY_TYPES, geomGEOMETRY, geomGEOMETRYCOLLECTION, geomLINESTRING, geomMULTILINESTRING, geomMULTIPOINT, geomMULTIPOLYGON, geomPOINT, geomPOLYGON
databaseConnection, dataSource, geopackageVersion, gpkgFile, ROOT_PKG_PATH
Constructor and Description |
---|
FeaturesTests() |
Modifier and Type | Method and Description |
---|---|
void |
featureGeometryColumnsDataValues()
Test case
/opt/features/geometry_columns/data/data_values_geometry_columns |
void |
featureGeometryColumnsDataValuesColumnName()
Test case
/opt/features/geometry_columns/data/data_values_column_name |
void |
featureGeometryColumnsDataValuesGeometryType()
Test case
/opt/features/geometry_columns/data/data_values_geometry_type_name |
void |
featureGeometryColumnsDataValuesM()
Test case
/opt/features/geometry_columns/data/data_values_m |
void |
featureGeometryColumnsDataValuesSrsId()
Test case
/opt/features/geometry_columns/data/data_values_srs_id_match |
void |
featureGeometryColumnsDataValuesTableName()
Test case
/opt/features/geometry_columns/data/data_values_table_name and
/opt/features/geometry_columns/data/data_values_srs_id |
void |
featureGeometryColumnsDataValuesTableNameNEW()
Test case
/opt/features/geometry_columns/data/data_values_table_name
Verify that the table_name column values in the gpkg_geometry_columns table are valid. |
void |
featureGeometryColumnsDataValuesZ()
Test case
/opt/features/geometry_columns/data/data_values_z |
void |
featureGeometryColumnsTableDef()
Test case
/opt/features/geometry_columns/data/table_def |
void |
featureGeometryEncodingTesting(String thisTableName,
String thisColumnName,
String geomType,
Integer srs_id,
byte z_flag,
byte m_flag)
Verify that geometries stored in feature table geometry columns are encoded in the StandardGeoPackageBinary format.
|
void |
features_contents_data_features_row()
Verify that the gpkg_contents table_name value table exists, and is apparently a feature table for every row with a data_type column value of 'features'
Test Case
/opt/features/contents/data/features_row |
void |
featureTableGeometryColumnType()
Test case
/opt/features/vector_features/data/feature_table_geometry_column_type |
void |
featureTableIntegerPrimaryKey()
A GeoPackage MAY contain tables or updateable views containing vector
features.
|
void |
featureTableOneGeometryColumn()
Test case
/opt/features/vector_features/data/feature_table_one_geometry_column |
Iterator<Object[]> |
getFeaturesWithGeometryInfo()
A DataProvider that supplies feature instance test methods with content from gpkg_geometry_columns
such that feature instance test methods may verify feature internal content is consistent with
gpkg_geometry_columns information.
|
void |
setUp()
Sets up variables used across methods
|
getAllowedGeometryTypes
checkPrimaryKey, close, getPrimaryKeyColumn, getTestName, initCommonFixture, isExtendedType, setTestName, validateClassEnabled
int errorDetected19
int errorDetected32
int errorDetected33
int errorDetectedNSG19b
int errorDetected66
int errorDetected67
int errorDetected78
int errorDetected20
public void setUp() throws SQLException
SQLException
- if there is a database errorpublic Iterator<Object[]> getFeaturesWithGeometryInfo()
public void features_contents_data_features_row() throws SQLException
/opt/features/contents/data/features_row
SQLException
- If an SQL query causes an errorpublic void featureTableIntegerPrimaryKey() throws SQLException
/opt/features/vector_features/data/feature_table_integer_primary_key
SQLException
- If an SQL query causes an errorpublic void featureGeometryEncodingTesting(String thisTableName, String thisColumnName, String geomType, Integer srs_id, byte z_flag, byte m_flag) throws SQLException
/opt/features/geometry_encoding/data/blob
/opt/features/geometry_encoding/data/core_types_existing_sparse_data
/opt/features/vector_features/data/data_values_geometry_type
/opt/features/vector_features/data/data_value_geometry_srs_id
/extensions/geometry_types/extension_name
/reg_ext/features/spatial_indexes/implementation/sql_functions
thisTableName
- The feature table name being processedthisColumnName
- The feature column name (the geometry column) being processed; as specified in the gpkg_geometry_columns entry table associated with this featuregeomType
- The geometry type as specified in the gpkg_geometry_columns entry table associated with this featuresrs_id
- The srs identifier as specified in the gpkg_geometry_columns entry table associated with this featurez_flag
- The z flag as specified in the gpkg_geometry_columns entry table associated with this featurem_flag
- The m flag as specified in the gpkg_geometry_columns entry table associated with this featureSQLException
- If an SQL query causes an errorpublic void featureGeometryColumnsTableDef() throws SQLException
/opt/features/geometry_columns/data/table_def
SQLException
- If an SQL query causes an errorpublic void featureGeometryColumnsDataValues() throws SQLException
/opt/features/geometry_columns/data/data_values_geometry_columns
SQLException
- If an SQL query causes an errorpublic void featureGeometryColumnsDataValuesTableName() throws SQLException
/opt/features/geometry_columns/data/data_values_table_name
and
/opt/features/geometry_columns/data/data_values_srs_id
SQLException
- If an SQL query causes an errorpublic void featureGeometryColumnsDataValuesTableNameNEW() throws SQLException
/opt/features/geometry_columns/data/data_values_table_name
Verify that the table_name column values in the gpkg_geometry_columns table are valid.SQLException
- If an SQL query causes an errorpublic void featureGeometryColumnsDataValuesColumnName() throws SQLException
/opt/features/geometry_columns/data/data_values_column_name
SQLException
- If an SQL query causes an errorpublic void featureGeometryColumnsDataValuesSrsId() throws SQLException
/opt/features/geometry_columns/data/data_values_srs_id_match
SQLException
- If an SQL query causes an errorpublic void featureGeometryColumnsDataValuesGeometryType() throws SQLException
/opt/features/geometry_columns/data/data_values_geometry_type_name
SQLException
- If an SQL query causes an errorpublic void featureGeometryColumnsDataValuesZ() throws SQLException
/opt/features/geometry_columns/data/data_values_z
SQLException
- If an SQL query causes an errorpublic void featureGeometryColumnsDataValuesM() throws SQLException
/opt/features/geometry_columns/data/data_values_m
SQLException
- If an SQL query causes an errorpublic void featureTableOneGeometryColumn() throws SQLException
/opt/features/vector_features/data/feature_table_one_geometry_column
SQLException
- If an SQL query causes an errorpublic void featureTableGeometryColumnType() throws SQLException
/opt/features/vector_features/data/feature_table_geometry_column_type
SQLException
- If an SQL query causes an errorCopyright © 2022 Open Geospatial Consortium. All rights reserved.