[
https://issues.apache.org/jira/browse/PDFBOX-5667?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andreas Lehmkühler resolved PDFBOX-5667.
----------------------------------------
Resolution: Fixed
> Can't create test for ExtractText command line tool
> ---------------------------------------------------
>
> Key: PDFBOX-5667
> URL: https://issues.apache.org/jira/browse/PDFBOX-5667
> Project: PDFBox
> Issue Type: Test
> Components: Text extraction
> Affects Versions: 3.0.0 PDFBox
> Environment: openjdk 11.0.20 2023-07-18
> OpenJDK Runtime Environment (build 11.0.20+8-post-Ubuntu-1ubuntu122.04)
> OpenJDK 64-Bit Server VM (build 11.0.20+8-post-Ubuntu-1ubuntu122.04, mixed
> mode, sharing)
> Reporter: Marcelo Modesto
> Assignee: Andreas Lehmkühler
> Priority: Minor
> Fix For: 3.0.1 PDFBox, 4.0.0
>
> Attachments: TestExtractText fails.txt, picocli_execution.txt
>
>
> I think it's an issue with the testing framework, not PDFBox.
> When I try to create a new test for the ExtractText command line tool, it
> fails because the standard output is empty after running the first test.
> If I change the declaration of a ExtractText variable (removing "static
> final") that references System.out the test works.
> If you can confirm it's an issue with the test framework I would appreciate
> it!
> Thank you!
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]