gnodet opened a new pull request, #24858: URL: https://github.com/apache/camel/pull/24858
## Summary _Claude Code on behalf of gnodet_ Wrap smoke tests in `assertDoesNotThrow` to satisfy SonarCloud rule S2699 (tests should include assertions). These tests verify that certain operations complete without throwing — the assertion makes the implicit contract explicit. **Modules fixed (14 files, 26 methods):** - `camel-ai/camel-a2a` — 7 methods (A2AProgressTest, PushNotificationDispatcherTest, InMemoryTaskStoreTest) - `camel-ai/camel-langchain4j-embeddingstore` — 1 method (LangChain4jEmbeddingStoreComponentTest) - `camel-dhis2/camel-dhis2-api` — 7 methods (Dhis2DeleteTestCase, Dhis2PostTestCase, Dhis2PutTestCase, Dhis2ResourceTablesTestCase) - `camel-plc4x` — 6 methods (Plc4XConsumerTest, Plc4XEndpointTest, Plc4XProducerTest) - `camel-stream` — 5 methods (StreamEncodingTest, StreamSystemErrTest, StreamRouteBuilderTest) **Note:** Pre-existing test failures exist in `Plc4XPollEnrichDoStartReproducerTest` (unrelated to this change). ## Test plan - [x] `camel-a2a` tests pass (503 tests, 0 failures) - [x] `camel-dhis2-api` tests pass - [x] `camel-plc4x` modified tests pass (12 tests, 0 failures) - [x] `camel-stream` tests pass (26 tests, 0 skipped) 🤖 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]
