You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
### Rationale for this change
Update package from JUnit 4(`org.junit`) to JUnit 5(`org.junit.jupiter`).
### What changes are included in this PR?
- `avro` and `jdbc` module
- [x] Replacing `org.junit` with `org.junit.jupiter.api`.
- [x] Updating `Assertions.assertXXX` to `assertXXX` using static imports.
- [x] Updating annotations such as `@ Before`, `@ After`.
- `@ Before` -> `@ BeforeEach`
- `@ After` -> `@ AfterEach`
- `@ Test` -> `@ Test` with `org.junit.jupiter`
- `@ ClassRule` -> `@ TempDir` and `@ BeforeAll`
- [x] Updating `Parameterized` test
- [x] Doing self review for avro
- [x] Dealing with `java.io.IOException: Failed to delete temp directory` on Windows with JDK 11
- [x] Exploring a more effective structure for `ParameterizedTest` in JDBC tests.
- [x] Doing self review for jdbc
- `orc` module
- [x] Reviewing the build method
- [x] Updating annotations such as `@ BeforeAll`, `@ Rule`, `@ TemporaryFolder`
- [x] Doing self review
### Are these changes tested?
Yes, existing tests have passed.
### Are there any user-facing changes?
No.
* GitHub Issue: #42030
Authored-by: Hyunseok Seo <[email protected]>
Signed-off-by: David Li <[email protected]>
Describe the enhancement requested
This is a sub-issue of the issue below.
org.junit.jupiter.api
#41680The unit tests should use the
org.junit.jupiter.api
package. This issue deals with theadapter
module.Component(s)
Java
The text was updated successfully, but these errors were encountered: