Commits


Hyunseok Seo authored and GitHub committed 9d93287298a
GH-42045: [Java] Update Unit Tests for Flight Module (#42158) ### Rationale for this change Update package from JUnit 4(`org.junit`) to JUnit 5(`org.junit.jupiter`). ### What changes are included in this PR? - **common** for all module - Step 1. Replacing `org.junit` with `org.junit.jupiter.api` - Step 2. Updating `Assertions.assertXXX` to `assertXXX` using static imports - `flight-core` - [x] Updating common - [x] Updating annotations - [x] Doing self review - `flight-integration-tests` - nothing to change - `flight-sql` - [x] Updating common - [x] Doing self review - `flight-sql-jdbc-core` - [x] Updating common - [x] Updating annotations - Adding annotations different from before: - `ErrorCollection` - `TestRule` for `FlightServerTestExtension` and `RootAllocatorExtension` - `ExpectedException` - [x] Doing self review - `flight-sql-jdbc-driver` - [x] Updating common - [x] Updating annotations - [x] Doing self review ### Are these changes tested? Yes, existing tests have passed. ### Are there any user-facing changes? No. * GitHub Issue: #42045 Authored-by: Hyunseok Seo <hsseo0501@gmail.com> Signed-off-by: David Li <li.davidm96@gmail.com>