Uploaded image for project: 'PDFBox'
  1. PDFBox
  2. PDFBOX-1979

TypeTestingHelper is non-deterministic

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.8.7, 2.0.0
    • Fix Version/s: 2.0.0
    • Component/s: XmpBox
    • Labels:
      None

      Description

      TypeTestingHelper generates random calendar data and random UUIDs for testing, which means that it is non-deterministic.

      As discussed in PDFBOX-1977, we should alter this test to make sure that it has deterministic (regression test) functionality as well as the existing non-deterministic (fuzz test) functionality.

        Attachments

        1. nd_test.patch
          2 kB
          Guillaume Bailleul
        2. det_plus_rand.patch
          30 kB
          Guillaume Bailleul

          Activity

            People

            • Assignee:
              gbm.bailleul Guillaume Bailleul
              Reporter:
              jahewson John Hewson
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: