public class GSModelMaterialStructureTests extends Capability1Tests
Capability1Tests.validateFile| Modifier and Type | Field and Description |
|---|---|
protected static String[] |
ALLOWED_ARCHIVE_EXT
A String Array holds the allowed file extensions for archives, and the
Set is used for searching/matching.
|
protected static Set<String> |
ALLOWED_ARCHIVE_EXT_SET |
protected static String[] |
ALLOWED_ENTRY_EXT
A String Array holds the allowed file extensions for archive entry files,
and the Set is used for searching/matching.
|
protected static Set<String> |
ALLOWED_ENTRY_EXT_SET |
static String |
DATASET_CODE |
static String |
DATASET_DIRECTORY |
path, ROOT_PKG_PATH, SAMPLE_CDB_PATH| Constructor and Description |
|---|
GSModelMaterialStructureTests() |
| Modifier and Type | Method and Description |
|---|---|
void |
verifyGSModelMaterialEntry()
Validates that GSModelMaterial entries inside ZIP archive follow naming
conventions.
|
void |
verifyGSModelMaterialFile()
Validates that GSModelMaterial filenames have valid codes/names.
|
void |
verifyGSModelMaterialFileArchive()
Validates that GSModelMaterial files are ZIP archive files with no
compression, and limited to 32 MB.
|
getDatasetPaths, iterateDatasets, iterateEntries, obtainTestSubject, parseLOD, validateComponentSelector1, validateComponentSelector2, validateComponentSelectorFormat, validateDISCategory, validateDISCountry, validateDISDomain, validateDISEntity, validateDISEntityKind, validateFeatureCode, validateFeatureSubCode, validateLatitude, validateLOD, validateLod, validateLongitude, validateModelName, validateRref, validateTextureNameCode, validateUrefpublic static final String DATASET_CODE
public static final String DATASET_DIRECTORY
protected static final String[] ALLOWED_ARCHIVE_EXT
protected static final String[] ALLOWED_ENTRY_EXT
public void verifyGSModelMaterialFile()
throws IOException
IOException - Error reading from CDBpublic void verifyGSModelMaterialFileArchive()
throws IOException
IOException - Error reading from CDBpublic void verifyGSModelMaterialEntry()
throws IOException
IOException - Error reading from CDBCopyright © 2023 Open Geospatial Consortium. All rights reserved.