Skip to content

Issue #1516: Increase test coverage to meet raised jacoco minimum#1517

Merged
thboileau merged 2 commits into
2.7from
tboileau/1516_increase_test_coverage
Jul 4, 2026
Merged

Issue #1516: Increase test coverage to meet raised jacoco minimum#1517
thboileau merged 2 commits into
2.7from
tboileau/1516_increase_test_coverage

Conversation

@thboileau

Copy link
Copy Markdown
Contributor

The aim

Increase the test coverage to 70%.

Check-list

  • PR size
    • Under 300 lines ✅
    • Can't be split without complicating the process even more
  • Tests
    • Added
    • Not applicable (why?)
  • Doc
    • Added
    • Not applicable
  • Reviewer
    • Asked for a review
    • Added label DO NOT REVIEW

thboileau and others added 2 commits July 4, 2026 19:27
Adds unit tests across org.restlet core and the velocity, jackson,
spring, thymeleaf, crypto, and xml extensions to bring each module
above the jacoco minimum coverage raised from 0.50 to 0.70.

Also fixes a real bug found along the way: WrapperRequest.setAccessControlRequestHeaders/setAccessControlRequestMethod
called super.set...() instead of delegating to the wrapped request,
which threw a NullPointerException on any real usage since the
corresponding getters were already overridden to delegate.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@sonarqubecloud

sonarqubecloud Bot commented Jul 4, 2026

Copy link
Copy Markdown

@thboileau thboileau merged commit 9897185 into 2.7 Jul 4, 2026
3 checks passed
@thboileau thboileau deleted the tboileau/1516_increase_test_coverage branch July 4, 2026 18:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant