gnodet opened a new pull request, #24856:
URL: https://github.com/apache/camel/pull/24856

   ## Summary
   
   Fix 20 SonarCloud BLOCKER issues (rule S2699: tests should include 
assertions) across 18 test files in `components/camel-spring-parent`.
   
   All flagged methods are smoke tests verifying Spring context loading, route 
configuration, or message processing completes without exceptions. The fix adds 
`assertDoesNotThrow()` wrappers.
   
   ### Modules affected:
   - `camel-spring-xml` (14 files)
   - `camel-spring-ws` (1 file, 3 methods)
   - `camel-spring-ldap` (1 file)
   - `camel-spring-rabbitmq` (1 file)
   
   ### Test categories:
   - **Spring XML context loading tests**: verify XML route configs start 
without error
   - **Error handler misconfiguration tests**: verify 
intentionally-misconfigured contexts behave as expected
   - **Message filter tests**: verify null/non-SOAP message handling
   - **Producer/template tests**: verify message sending completes
   
   ## Test plan
   - [x] All 18 modified test files pass locally (40+ tests, 0 failures)
   - [ ] CI passes
   
   _Claude Code on behalf of Guillaume Nodet_
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to