dangerzone/tests
Alex Pyrgiotis e34c36f7bc
Perform on-host pixels to PDF conversion
Extend the base isolation provider to immediately convert each page to
a PDF, and optionally use OCR. In contract with the way we did things
previously, there are no more two separate stages (document to pixels,
pixels to PDF). We now handle each page individually, for two main
reasons:

1. We don't want to buffer pixel data, either on disk or in memory,
   since they take a lot of space, and can potentially leave traces.
2. We can perform these operations in parallel, saving time. This is
   more evident when OCR is not used, where the time to convert a page
   to pixels, and then back to a PDF are comparable.
2024-10-17 15:50:12 +03:00
..
gui Do not throw on malformed Desktop Entries on Linux. 2024-09-10 15:25:45 +02:00
isolation_provider Perform on-host pixels to PDF conversion 2024-10-17 15:50:12 +03:00
test_docs Adds file formats: epub svg bmp pnm bpm ppm 2024-01-31 19:58:48 +00:00
test_docs_compressed Add page limit of 10000 2023-09-28 11:01:14 +01:00
test_docs_external Add test files for hwp/hwpx (base64 encoded) 2023-08-01 14:37:14 +01:00
test_docs_large@0068ffcb67 Replace armor guards that indicate isolated output 2023-08-22 16:11:41 +01:00
__init__.py chore: remove fixture imports in the tests 2024-06-05 15:56:09 +02:00
conftest.py chore: remove fixture imports in the tests 2024-06-05 15:56:09 +02:00
test_cli.py Added try excepts for unhandled exceptions 2024-09-17 16:26:46 +03:00
test_document.py Prevent user from using illegal characters in output filename 2024-10-07 18:04:47 +03:00
test_large_set.py tests: Do not let LibreOffice hang on the large test set 2024-08-09 14:32:19 +03:00
test_ocr.py Add new way to detect tessdata dir 2024-10-17 15:50:11 +03:00
test_settings.py chore(imports): remove useless imports 2024-06-05 14:19:30 +02:00
test_util.py chore: remove fixture imports in the tests 2024-06-05 15:56:09 +02:00