Alwaysgaurav1 opened a new pull request, #23302:
URL: https://github.com/apache/kafka/pull/23302

   ### Rationale
   Part of the ongoing community initiative to eliminate legacy `org.hamcrest` 
dependencies and migrate unit test assertions across the codebase to standard 
JUnit 5 Jupiter (`org.junit.jupiter.api.Assertions.*`).
   
   ### Changes
   - Migrated all test assertions in `org.apache.kafka.streams.query` to 
standard JUnit 5 assertions (`assertEquals`, `assertTrue`, `assertNull`).
   - Removed `org.hamcrest` imports from:
     - 
`streams/src/test/java/org/apache/kafka/streams/query/PositionBoundTest.java`
     - `streams/src/test/java/org/apache/kafka/streams/query/PositionTest.java`
     - 
`streams/src/test/java/org/apache/kafka/streams/query/StateQueryResultTest.java`
   - The `org.apache.kafka.streams.query` package now has zero remaining 
`org.hamcrest` references.
   
   ### Verification
   - Executed: `./gradlew :streams:test --tests 
"org.apache.kafka.streams.query.*" :streams:checkstyleTest`
   - All 27 unit tests passed with 0 Checkstyle violations.


-- 
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