Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-30355

Skip unit tests on encrypted file if FileNotFoundException occurs

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Won't Do
    • Affects Version/s: 10.10
    • Fix Version/s: None
    • Component/s: Tests

      Description

      Some systems with extra security level do not allow to read encrypted files and an error "Operation not permitted" is thrown

      $ cat /export/data/rlgavli/dev/nuxeo/nuxeo-build/nuxeo/addons/nuxeo-platform-pdf-utils/src/test/resources/files/document-encrypted.pdf
      cat: /export/data/rlgavli/dev/nuxeo/nuxeo-build/nuxeo/addons/nuxeo-platform-pdf-utils/src/test/resources/files/document-encrypted.pdf: Operation not permitted
      

      This request is to skip a unit test if a FileNotFoundException occurs whose cause is "Operation not permitted"

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              tmartins Thierry Martins
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: