public class SchemaTests extends CommonFixture
Sources
CommonFixture.GeoPackageVersiondatabaseConnection, dataSource, gpkgFile, ROOT_PKG_PATH| Constructor and Description |
|---|
SchemaTests() |
| Modifier and Type | Method and Description |
|---|---|
void |
activeExtension(org.testng.ITestContext testContext) |
void |
dataColumnConstraintsGlobMinMax()
If the `gpkg_data_column_constraints` table contains rows with
`constraint_type` column values of "enum" or "glob", the `min`, `max`,
`min_is_inclusive` and `max_is_inclusive` column values for those rows
SHALL be NULL.
|
void |
dataColumnConstraintsGlobValue()
If the `gpkg_data_column_constraints` table contains rows with
`constraint_type` column values of "enum" or "glob", the `value`
column SHALL NOT be NULL.
|
void |
dataColumnConstraintsInclusive()
If the `gpkg_data_column_constraints` table contains rows with
`constraint_type` column values of "range", the `min_is_inclusive` and
`max_is_inclusive` column values for those rows SHALL be 0 or 1.
|
void |
dataColumnConstraintsMinMax()
If the `gpkg_data_column_constraints` table contains rows with
`constraint_type` column values of "range", the `min` column values
for those rows SHALL be NOT NULL and less than the `max` column value
which shall be NOT NULL.
|
void |
dataColumnConstraintsName()
gpkg_data_column_constraint constraint_name values for rows with
constraint_type values of "range" and "glob" SHALL be unique.
|
void |
dataColumnConstraintsTableDefinition()
A GeoPackage MAY contain a table or updateable view named
gpkg_data_column_constraints.
|
void |
dataColumnConstraintsType()
The gpkg_data_column_constraints table MAY be empty.
|
void |
dataColumnConstraintsValue()
The gpkg_data_column_constraints table MAY be empty.
|
void |
dataColumnsColumnName()
The `column_name` column value in a `gpkg_data_columns` table row
SHALL contain the name of a column in the SQLite table or view
identified by the `table_name` column value.
|
void |
dataColumnsTableDefinition()
A GeoPackage MAY contain a table or updateable view named
gpkg_data_columns.
|
void |
dataColumnsTableName()
Values of the gpkg_data_columns table table_name column value SHALL
reference values in the gpkg_contents table_name column.
|
checkPrimaryKey, close, getAllowedVersions, getGeopackageVersion, getPrimaryKeyColumn, getTestName, initCommonFixture, isExtendedType, setTestName, validateClassEnabledpublic void activeExtension(org.testng.ITestContext testContext)
throws SQLException
SQLExceptionpublic void dataColumnsTableDefinition()
throws SQLException
SQLException - If an SQL query causes an errorpublic void dataColumnsTableName()
throws SQLException
SQLException - If an SQL query causes an errorpublic void dataColumnsColumnName()
throws SQLException
SQLException - If an SQL query causes an errorpublic void dataColumnConstraintsTableDefinition()
throws SQLException
SQLException - If an SQL query causes an errorpublic void dataColumnConstraintsType()
throws SQLException
SQLException - If an SQL query causes an errorpublic void dataColumnConstraintsName()
throws SQLException
SQLException - If an SQL query causes an errorpublic void dataColumnConstraintsValue()
throws SQLException
SQLException - If an SQL query causes an errorpublic void dataColumnConstraintsMinMax()
throws SQLException
SQLException - If an SQL query causes an errorpublic void dataColumnConstraintsInclusive()
throws SQLException
SQLException - If an SQL query causes an errorpublic void dataColumnConstraintsGlobMinMax()
throws SQLException
SQLException - If an SQL query causes an errorpublic void dataColumnConstraintsGlobValue()
throws SQLException
SQLException - If an SQL query causes an errorCopyright © 2018 Open Geospatial Consortium. All rights reserved.