Class GTModelStructureTests
java.lang.Object
org.opengis.cite.cdb10.CommonFixture
org.opengis.cite.cdb10.cdbStructure.Capability1Tests
org.opengis.cite.cdb10.cdbStructure.GTModelStructureTests
GTModelStructureTests class.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.opengis.cite.cdb10.cdbStructure.Capability1Tests
Capability1Tests.validateFile
-
Field Summary
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 GTModel Category directories have valid codes/names.void
Validates that GTModel directories have valid codes/names.void
Validates that GTModel Feature Type directories have valid codes/names.void
Validates that GTModel LOD directories have valid names.void
Validates that GTModel Sub-Category directories have valid codes/names.void
Validates that GTModel directories have valid codes/names.void
Validates that GTModel directories have valid codes/names.void
Validates that GTModel directories have valid codes/names.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
-
Constructor Details
-
GTModelStructureTests
public GTModelStructureTests()
-
-
Method Details
-
verifyDataset
Validates that GTModel directories have valid codes/names.- Throws:
IOException
- Error reading from CDB
-
verifyCategory
Validates that GTModel Category directories have valid codes/names. D500, D502, D503, D506, D508, D510 only. Level 1: Dataset Level 2: Feature Category Level 3: Feature Sub-Category Level 4: Feature Type Level 5: LOD- Throws:
IOException
- Error reading from CDB
-
verifySubcategory
Validates that GTModel Sub-Category directories have valid codes/names. D500, D502, D503, D506, D508, D510 only. Level 1: Dataset Level 2: Feature Category Level 3: Feature Sub-Category Level 4: Feature Type Level 5: LOD- Throws:
IOException
- Error reading from CDB
-
verifyFeatureType
Validates that GTModel Feature Type directories have valid codes/names. D500, D502, D503, D506, D508, D510 only. Level 1: Dataset Level 2: Feature Category Level 3: Feature Sub-Category Level 4: Feature Type Level 5: LOD- Throws:
IOException
- Error reading from CDB
-
verifyLOD
Validates that GTModel LOD directories have valid names. D500, D502, D503, D506, D508, D510 only. Level 1: Dataset Level 2: Feature Category Level 3: Feature Sub-Category Level 4: Feature Type Level 5: LOD- Throws:
IOException
- Error reading from CDB
-
verifyTNAMPrefix
Validates that GTModel directories have valid codes/names. D501, D511, D504, D505, 507, 509, 513 only. Level 1: Dataset Level 2: TNAM First Character Level 3: TNAM Second Character Level 4: Texture Name (TNAM)- Throws:
IOException
- Error reading from CDB
-
verifyTNAMSecond
Validates that GTModel directories have valid codes/names. D501, D511, D504, D505, 507, 509, 513 only. Level 1: Dataset Level 2: TNAM First Character Level 3: TNAM Second Character Level 4: Texture Name (TNAM)- Throws:
IOException
- Error reading from CDB
-
verifyTNAM
Validates that GTModel directories have valid codes/names. D501, D511, D504, D505, 507, 509, 513 only. - Level 1: Dataset - Level 2: TNAM First Character - Level 3: TNAM Second Character - Level 4: Texture Name (TNAM)- Throws:
IOException
- Error reading from CDB
-