You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "John Bergqvist (JIRA)" <ji...@apache.org> on 2018/11/09 12:32:00 UTC

[jira] [Created] (PDFBOX-4373) Add additional unit tests

John Bergqvist created PDFBOX-4373:
--------------------------------------

             Summary: Add additional unit tests
                 Key: PDFBOX-4373
                 URL: https://issues.apache.org/jira/browse/PDFBOX-4373
             Project: PDFBox
          Issue Type: Test
          Components: PDModel, Rendering, Writing
            Reporter: John Bergqvist


Hi,

I ran JaCoCo over the {{pdfbox}} module, and found a few functions that were missing unit test coverage.

I've written some unit tests for these functions and I would like to submit them.

The functions I've written tests for are:
 * org.apache.pdfbox.cos.COSObjectKey.compareToInput
 * org.apache.pdfbox.pdfwriter.COSWriterXRefEntry.compareToInput
 * org.apache.pdfbox.pdmodel.PageLayout.fromString
 * org.apache.pdfbox.pdmodel.PageMode.fromString
 * org.apache.pdfbox.pdmodel.PageMode.stringValue
 * org.apache.pdfbox.pdmodel.graphics.state.RenderingIntent.fromString
 * org.apache.pdfbox.pdmodel.graphics.state.RenderingIntent.stringValue
 * org.apache.pdfbox.pdmodel.graphics.state.RenderingMode.intValue



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org