Package org.opengis.cite.cdb10.GSModel
Class GSModelDescriptorStructureTests
java.lang.Object
org.opengis.cite.cdb10.CommonFixture
org.opengis.cite.cdb10.cdbStructure.Capability1Tests
org.opengis.cite.cdb10.GSModel.GSModelDescriptorStructureTests
GSModelDescriptorStructureTests 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="303"static final StringConstantDATASET_DIRECTORY="303_GSModelDescriptor"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 GSModelDescriptor entries inside ZIP archive follow naming conventions.voidValidates that GSModelDescriptor filenames have valid codes/names.voidValidates that GSModelDescriptor files are ZIP archive files with no compression, and limited to 32 Megabytes (not 32 Mebibytes).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="303"- See Also:
-
DATASET_DIRECTORY
ConstantDATASET_DIRECTORY="303_GSModelDescriptor"- 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
-
GSModelDescriptorStructureTests
public GSModelDescriptorStructureTests()
-
-
Method Details
-
verifyGSModelDescriptorFile
Validates that GSModelDescriptor filenames have valid codes/names.- Throws:
IOException- Error reading from CDB
-
verifyGSModelDescriptorFileArchive
Validates that GSModelDescriptor files are ZIP archive files with no compression, and limited to 32 Megabytes (not 32 Mebibytes).- Throws:
IOException- Error reading from CDB
-
verifyGSModelDescriptorEntry
Validates that GSModelDescriptor entries inside ZIP archive follow naming conventions.- Throws:
IOException- Error reading from CDB
-