Package org.opengis.cite.cdb10.GSModel
Class GSModelGeometryStructureTests
java.lang.Object
org.opengis.cite.cdb10.CommonFixture
org.opengis.cite.cdb10.cdbStructure.Capability1Tests
org.opengis.cite.cdb10.GSModel.GSModelGeometryStructureTests
GSModelGeometryStructureTests class.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.opengis.cite.cdb10.cdbStructure.Capability1Tests
Capability1Tests.validateFile -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final String[]A String Array holds the allowed file extensions for archives, and the Set is used for searching/matching.ConstantALLOWED_ARCHIVE_EXT_SETprotected static final String[]A String Array holds the allowed file extensions for archive entry files, and the Set is used for searching/matching.ConstantALLOWED_ENTRY_EXT_SETstatic final StringConstantDATASET_CODE="300"static final StringConstantDATASET_DIRECTORY="300_GSModelGeometry"Fields inherited from class org.opengis.cite.cdb10.CommonFixture
path, ROOT_PKG_PATH, SAMPLE_CDB_PATH -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidValidates that GSModelGeometry entries inside ZIP archive follow naming conventions.voidValidates that GSModelGeometry filenames have valid codes/names.voidValidates that GSModelGeometry files are ZIP archive files with no compression, and limited to 32 MB.Methods inherited from class org.opengis.cite.cdb10.cdbStructure.Capability1Tests
getDatasetPaths, iterateDatasets, iterateEntries, obtainTestSubject, parseLOD, validateComponentSelector1, validateComponentSelector2, validateComponentSelectorFormat, validateDISCategory, validateDISCountry, validateDISDomain, validateDISEntity, validateDISEntityKind, validateFeatureCode, validateFeatureSubCode, validateLatitude, validateLod, validateLOD, validateLongitude, validateModelName, validateRref, validateTextureNameCode, validateUref
-
Field Details
-
DATASET_CODE
ConstantDATASET_CODE="300"- See Also:
-
DATASET_DIRECTORY
ConstantDATASET_DIRECTORY="300_GSModelGeometry"- See Also:
-
ALLOWED_ARCHIVE_EXT
A String Array holds the allowed file extensions for archives, and the Set is used for searching/matching. -
ALLOWED_ARCHIVE_EXT_SET
ConstantALLOWED_ARCHIVE_EXT_SET -
ALLOWED_ENTRY_EXT
A String Array holds the allowed file extensions for archive entry files, and the Set is used for searching/matching. -
ALLOWED_ENTRY_EXT_SET
ConstantALLOWED_ENTRY_EXT_SET
-
-
Constructor Details
-
GSModelGeometryStructureTests
public GSModelGeometryStructureTests()
-
-
Method Details
-
verifyGSModelGeometryFile
Validates that GSModelGeometry filenames have valid codes/names.- Throws:
IOException- Error reading from CDB
-
verifyGSModelGeometryFileArchive
Validates that GSModelGeometry files are ZIP archive files with no compression, and limited to 32 MB.- Throws:
IOException- Error reading from CDB
-
verifyGSModelGeometryEntry
Validates that GSModelGeometry entries inside ZIP archive follow naming conventions.- Throws:
IOException- Error reading from CDB
-