Class GSModelGeometryStructureTests


public class GSModelGeometryStructureTests extends Capability1Tests

GSModelGeometryStructureTests class.

  • Field Details

    • DATASET_CODE

      public static final String DATASET_CODE
      Constant DATASET_CODE="300"
      See Also:
    • DATASET_DIRECTORY

      public static final String DATASET_DIRECTORY
      Constant DATASET_DIRECTORY="300_GSModelGeometry"
      See Also:
    • ALLOWED_ARCHIVE_EXT

      protected static final String[] 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

      protected static final Set<String> ALLOWED_ARCHIVE_EXT_SET
      Constant ALLOWED_ARCHIVE_EXT_SET
    • ALLOWED_ENTRY_EXT

      protected static final String[] 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

      protected static final Set<String> ALLOWED_ENTRY_EXT_SET
      Constant ALLOWED_ENTRY_EXT_SET
  • Constructor Details

    • GSModelGeometryStructureTests

      public GSModelGeometryStructureTests()
  • Method Details

    • verifyGSModelGeometryFile

      public void verifyGSModelGeometryFile() throws IOException
      Validates that GSModelGeometry filenames have valid codes/names.
      Throws:
      IOException - Error reading from CDB
    • verifyGSModelGeometryFileArchive

      public void verifyGSModelGeometryFileArchive() throws IOException
      Validates that GSModelGeometry files are ZIP archive files with no compression, and limited to 32 MB.
      Throws:
      IOException - Error reading from CDB
    • verifyGSModelGeometryEntry

      public void verifyGSModelGeometryEntry() throws IOException
      Validates that GSModelGeometry entries inside ZIP archive follow naming conventions.
      Throws:
      IOException - Error reading from CDB