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

Add additional unit tests

    XMLWordPrintableJSON

Details

    Description

      I've ran JaCoCo over the pdfbox module, and found some 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

      Attachments

        Issue Links

          Activity

            People

              tilman Tilman Hausherr
              JohnBergqvist John Bergqvist
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: