public class FeaturesTests extends CommonFixture
Sources
CommonFixture.GeoPackageVersiondatabaseConnection, dataSource, 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 |
featureGeometryColumnsDataValuesTableName()
Test case
/opt/features/geometry_columns/data/data_values_table_name and
/opt/features/geometry_columns/data/data_values_srs_id |
void |
featureGeometryColumnsDataValuesZ()
Test case
/opt/features/geometry_columns/data/data_values_z |
void |
featureGeometryColumnsTableDef()
Test case
/opt/features/geometry_columns/data/table_def |
void |
featureGeometryEncodingTableBlob()
Test case
/opt/features/geometry_encoding/data/blob and
/opt/features/geometry_encoding/data/core_types_existing_sparse_data
This test will also fail if the primary key is missing since that makes it difficult
to isolate which ro |
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 |
protected static Collection<String> |
getAllowedGeometryTypes() |
void |
setUp()
Sets up variables used across methods
|
checkPrimaryKey, close, getAllowedVersions, getGeopackageVersion, getPrimaryKeyColumn, getTestName, initCommonFixture, isExtendedType, setTestName, validateClassEnabledpublic void setUp()
throws SQLException
SQLException - if there is a database errorpublic void featureTableIntegerPrimaryKey()
throws SQLException
/opt/features/vector_features/data/feature_table_integer_primary_keySQLException - If an SQL query causes an errorpublic void featureGeometryEncodingTableBlob()
throws SQLException
/opt/features/geometry_encoding/data/blob and
/opt/features/geometry_encoding/data/core_types_existing_sparse_data
This test will also fail if the primary key is missing since that makes it difficult
to isolate which roSQLException - If an SQL query causes an errorpublic void featureGeometryColumnsTableDef()
throws SQLException
/opt/features/geometry_columns/data/table_defSQLException - If an SQL query causes an errorpublic void featureGeometryColumnsDataValues()
throws SQLException
/opt/features/geometry_columns/data/data_values_geometry_columnsSQLException - 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_idSQLException - If an SQL query causes an errorpublic void featureGeometryColumnsDataValuesColumnName()
throws SQLException
/opt/features/geometry_columns/data/data_values_column_nameSQLException - If an SQL query causes an errorpublic void featureGeometryColumnsDataValuesGeometryType()
throws SQLException
/opt/features/geometry_columns/data/data_values_geometry_type_nameSQLException - If an SQL query causes an errorpublic void featureGeometryColumnsDataValuesZ()
throws SQLException
/opt/features/geometry_columns/data/data_values_zSQLException - If an SQL query causes an errorpublic void featureGeometryColumnsDataValuesM()
throws SQLException
/opt/features/geometry_columns/data/data_values_mSQLException - If an SQL query causes an errorpublic void featureTableOneGeometryColumn()
throws SQLException
/opt/features/vector_features/data/feature_table_one_geometry_columnSQLException - If an SQL query causes an errorpublic void featureTableGeometryColumnType()
throws SQLException
/opt/features/vector_features/data/feature_table_geometry_column_typeSQLException - If an SQL query causes an errorprotected static Collection<String> getAllowedGeometryTypes()
Copyright © 2018 Open Geospatial Consortium. All rights reserved.