You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Mehdi Houshmand (JIRA)" <ji...@apache.org> on 2011/06/27 09:16:47 UTC

[jira] [Created] (PDFBOX-1050) Unit tests for PDFBox features

Unit tests for PDFBox features
------------------------------

                 Key: PDFBOX-1050
                 URL: https://issues.apache.org/jira/browse/PDFBOX-1050
             Project: PDFBox
          Issue Type: New Feature
          Components: PDModel
    Affects Versions: 1.5.0
         Environment: Ubuntu 11.04
            Reporter: Mehdi Houshmand
            Priority: Minor
             Fix For: 1.6.0


We're upgrading the pdfbox we use and to ensure there aren't any regressions, while also learning pdfbox, we are unit testing some of the classes, especially the PDF "primitive" objects (COS level).

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (PDFBOX-1050) Unit tests for PDFBox features

Posted by "Mehdi Houshmand (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PDFBOX-1050?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mehdi Houshmand updated PDFBOX-1050:
------------------------------------

    Attachment: tests.patch

Added more tests, this invalidates the previous patch

> Unit tests for PDFBox features
> ------------------------------
>
>                 Key: PDFBOX-1050
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-1050
>             Project: PDFBox
>          Issue Type: New Feature
>          Components: PDModel
>    Affects Versions: 1.5.0
>         Environment: Ubuntu 11.04
>            Reporter: Mehdi Houshmand
>            Priority: Minor
>             Fix For: 1.6.0
>
>         Attachments: tests.patch, tests.patch
>
>
> We're upgrading the pdfbox we use and to ensure there aren't any regressions, while also learning pdfbox, we are unit testing some of the classes, especially the PDF "primitive" objects (COS level).

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (PDFBOX-1050) Unit tests for PDFBox features

Posted by "Mehdi Houshmand (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PDFBOX-1050?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mehdi Houshmand updated PDFBOX-1050:
------------------------------------

    Attachment: tests.patch

This is a start, tests for COS level objects:
COSBase
COSInteger
COSNumber
COSFloat

also bugfix made to COSStandardOutputStream

> Unit tests for PDFBox features
> ------------------------------
>
>                 Key: PDFBOX-1050
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-1050
>             Project: PDFBox
>          Issue Type: New Feature
>          Components: PDModel
>    Affects Versions: 1.5.0
>         Environment: Ubuntu 11.04
>            Reporter: Mehdi Houshmand
>            Priority: Minor
>             Fix For: 1.6.0
>
>         Attachments: tests.patch
>
>
> We're upgrading the pdfbox we use and to ensure there aren't any regressions, while also learning pdfbox, we are unit testing some of the classes, especially the PDF "primitive" objects (COS level).

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (PDFBOX-1050) Unit tests for PDFBox features

Posted by "Andreas Lehmkühler (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PDFBOX-1050?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andreas Lehmkühler resolved PDFBOX-1050.
----------------------------------------

    Resolution: Fixed
      Assignee: Andreas Lehmkühler

I apllied the patch in revision 1140753 as proposed.

@Mehdi
Thanks for the contribution

@Adam 
Thanks for testing

> Unit tests for PDFBox features
> ------------------------------
>
>                 Key: PDFBOX-1050
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-1050
>             Project: PDFBox
>          Issue Type: New Feature
>          Components: PDModel
>    Affects Versions: 1.5.0
>         Environment: Ubuntu 11.04
>            Reporter: Mehdi Houshmand
>            Assignee: Andreas Lehmkühler
>            Priority: Minor
>             Fix For: 1.6.0
>
>         Attachments: tests.patch, tests.patch
>
>
> We're upgrading the pdfbox we use and to ensure there aren't any regressions, while also learning pdfbox, we are unit testing some of the classes, especially the PDF "primitive" objects (COS level).

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Commented] (PDFBOX-1050) Unit tests for PDFBox features

Posted by "Adam Nichols (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/PDFBOX-1050?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13055690#comment-13055690 ] 

Adam Nichols commented on PDFBOX-1050:
--------------------------------------

Very nice addition.  I noticed some tricky cases in there, especially with the COSString tests.  Cool that you found and fixed the NPE in COSStandardOutputStream too.  This has my stamp of approval and I'll commit it when I can (if someone else doesn't beat me to it).

> Unit tests for PDFBox features
> ------------------------------
>
>                 Key: PDFBOX-1050
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-1050
>             Project: PDFBox
>          Issue Type: New Feature
>          Components: PDModel
>    Affects Versions: 1.5.0
>         Environment: Ubuntu 11.04
>            Reporter: Mehdi Houshmand
>            Priority: Minor
>             Fix For: 1.6.0
>
>         Attachments: tests.patch, tests.patch
>
>
> We're upgrading the pdfbox we use and to ensure there aren't any regressions, while also learning pdfbox, we are unit testing some of the classes, especially the PDF "primitive" objects (COS level).

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira