Skip to content

Conversation

@alxkm
Copy link
Contributor

@alxkm alxkm commented Aug 6, 2025

Enhanced test coverage for PdfReaderRuntimeHints with additional test cases covering:

  • Null safety: Added test for null RuntimeHints parameter to prevent NPE
  • Idempotent behavior: Verified multiple hint registrations work correctly
  • Complete resource validation: Ensured all expected PDFBox resources are registered
  • ClassLoader independence: Confirmed ClassLoader parameter doesn't affect registration
  • Interface compliance: Validated proper RuntimeHintsRegistrar implementation

These tests improve reliability and catch edge cases that could cause runtime failures in native images.

@sobychacko sobychacko added this to the 1.1.0.M1 milestone Aug 6, 2025
@sobychacko sobychacko added documentation Improvements or additions to documentation testing and removed documentation Improvements or additions to documentation labels Aug 6, 2025
@sobychacko sobychacko merged commit 535e632 into spring-projects:main Aug 6, 2025
2 checks passed
scionaltera pushed a commit to scionaltera/spring-ai that referenced this pull request Sep 3, 2025
chedim pushed a commit to couchbaselabs/spring-ai that referenced this pull request Sep 19, 2025
Willam2004 pushed a commit to Willam2004/spring-ai that referenced this pull request Oct 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants