Package org.opengis.cite.cdb10.GSModel
Class GSModelMaterialStructureTests
java.lang.Object
org.opengis.cite.cdb10.CommonFixture
org.opengis.cite.cdb10.cdbStructure.Capability1Tests
org.opengis.cite.cdb10.GSModel.GSModelMaterialStructureTests
GSModelMaterialStructureTests 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_SET
protected 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_SET
static final String
ConstantDATASET_CODE="304"
static final String
ConstantDATASET_DIRECTORY="304_GSModelMaterial"
Fields inherited from class org.opengis.cite.cdb10.CommonFixture
path, ROOT_PKG_PATH, SAMPLE_CDB_PATH
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Validates that GSModelMaterial entries inside ZIP archive follow naming conventions.void
Validates that GSModelMaterial filenames have valid codes/names.void
Validates that GSModelMaterial 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="304"
- See Also:
-
DATASET_DIRECTORY
ConstantDATASET_DIRECTORY="304_GSModelMaterial"
- 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
-
GSModelMaterialStructureTests
public GSModelMaterialStructureTests()
-
-
Method Details
-
verifyGSModelMaterialFile
Validates that GSModelMaterial filenames have valid codes/names.- Throws:
IOException
- Error reading from CDB
-
verifyGSModelMaterialFileArchive
Validates that GSModelMaterial files are ZIP archive files with no compression, and limited to 32 MB.- Throws:
IOException
- Error reading from CDB
-
verifyGSModelMaterialEntry
Validates that GSModelMaterial entries inside ZIP archive follow naming conventions.- Throws:
IOException
- Error reading from CDB
-