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

John Hewson updated PDFBOX-1978:
--------------------------------

    Description: 
Type1FontUtilTest uses java.util.Random to generate random test data, which 
means that it is is non-deterministic.

As discussed in PDFBOX-1977, we should alter this test to make sure that it has 
both a deterministic _regression test_ functionality as well as the existing 
non-deterministic _fuzz test_ functionality.

  was:
Type1FontUtilTest uses java.util.Random to generate random test data, which 
means that it is is non-deterministic.

We can still use java.util.Random to generate a stream of random data but it 
must use a fixed seed value so that the test is not non-determinate.


> Type1FontUtilTest is non-deterministic
> --------------------------------------
>
>                 Key: PDFBOX-1978
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-1978
>             Project: PDFBox
>          Issue Type: Bug
>          Components: FontBox
>            Reporter: John Hewson
>
> Type1FontUtilTest uses java.util.Random to generate random test data, which 
> means that it is is non-deterministic.
> As discussed in PDFBOX-1977, we should alter this test to make sure that it 
> has both a deterministic _regression test_ functionality as well as the 
> existing non-deterministic _fuzz test_ functionality.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to