[ 
https://issues.apache.org/jira/browse/PDFBOX-1979?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Guillaume Bailleul updated PDFBOX-1979:
---------------------------------------
    Attachment: det_plus_rand.patch

Here is a new patch with pseudorandom and fuzztest. 
It needed a bit more rework for random initialization.

Fuzz test adds 50 loops for each new test.

It adds about 220 tests as modification are done in parameterized tests but it 
does not last really longer; on my old machine, xmpbox now build in 15 seconds 
(vs 13 without fuzz tests).

Ok with that one ?

> TypeTestingHelper is non-deterministic
> --------------------------------------
>
>                 Key: PDFBOX-1979
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-1979
>             Project: PDFBox
>          Issue Type: Bug
>          Components: XmpBox
>    Affects Versions: 1.8.7, 2.0.0
>            Reporter: John Hewson
>            Assignee: Guillaume Bailleul
>            Priority: Minor
>             Fix For: 2.0.0
>
>         Attachments: det_plus_rand.patch, nd_test.patch
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to