pdfbox-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From JohnBergqvist <...@git.apache.org>
Subject [GitHub] pdfbox pull request #58: PDFBOX-4373: Add additional unit tests
Date Mon, 12 Nov 2018 09:00:12 GMT
GitHub user JohnBergqvist opened a pull request:

    https://github.com/apache/pdfbox/pull/58

    PDFBOX-4373: Add additional unit tests

    Hi, 
    
    I ran JaCoCo over the `pdfbox` module, and found a few functions that were missing unit
test coverage. 
    
    I've written some tests for these functions, with the help of [Diffblue](http://www.diffblue.com)
[Cover](https://www.diffblue.com/s/Diffblue-Cover-Datasheet.pdf). 
    
    Hopefully these tests should help you detect regressions caused by future code changes.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/Diffblue-benchmarks/Apache-PDFBox additional-unit-tests

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/pdfbox/pull/58.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #58
    
----
commit 40221ed013295771978886cea3f567eb3fb7cf33
Author: John Bergqvist <john.bergqvist@...>
Date:   2018-11-09T09:33:19Z

    Add unit tests for org.apache.pdfbox.cos.COSObjectKey
    These tests were written by Diffblue Cover.

commit b56e54f67903cbc2cf016929ed42b5875364c34b
Author: John Bergqvist <john.bergqvist@...>
Date:   2018-11-09T09:38:56Z

    Add unit tests for org.apache.pdfbox.pdfwriter.COSWriterXRefEntry
    These tests were written by Diffblue Cover.

commit 61c31c356f4b99ecf5e50d39a3d93aaee2d3789a
Author: John Bergqvist <john.bergqvist@...>
Date:   2018-11-09T09:52:13Z

    Add unit tests for pdfbox.pdmodel.graphics.state.RenderingIntent
    These tests were written by Diffblue Cover.

commit c1dc11beaaf048b8c58b340621fbb315bbe0b8ff
Author: John Bergqvist <john.bergqvist@...>
Date:   2018-11-09T10:00:13Z

    Add unit tests for org.apache.pdfbox.pdmodel.PageLayout
    These tests were written by Diffblue Cover.

commit 13293cb68762d0de5f10f63b6301de8eeaa976c3
Author: John Bergqvist <john.bergqvist@...>
Date:   2018-11-09T11:10:38Z

    Add unit tests for org.apache.pdfbox.pdmodel.PageMode
    These tests were written by Diffblue Cover.

----


---

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


Mime
View raw message