Files
DocumentService/DocumentOperator.Tests/Unit/Infrastructure/Services/PdfProcessing
TekH 9a9d775fec test: strengthen DevExpressPdfProcessor tests (IsEncrypted + DetectEncryption)
- Rename ValidateAsync_ValidPdf_ReturnsPdfMetadata to ReturnsPdfValidationResult
  and add FileSizeMB assertion
- Add Encryption Detection region with 4 tests:
  - NormalPdf_IsEncryptedFalse (real PDF via ValidateAsync)
  - ValidatePdfAAsync_NormalPdf_EncryptedFalse (real PDF via ValidatePdfAAsync)
  - DetectEncryption_TrailerWithEncryptEntry_ReturnsTrue (reflection, byte scan)
  - DetectEncryption_NoEncryptEntry_ReturnsFalse (reflection, byte scan)
  - DetectEncryptionKeyword_NotStandaloneToken_ReturnsFalse (token boundary check)
- Add IsEncrypted.Should().BeFalse() assertion to attachment count test
2026-08-28 11:45:59 +02:00
..