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?
- [x] Replacing `org.junit` and `junit.framework.TestCase` 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`
- [x] Updating `Parameterized` test
- [x] Doing self review round 1
- [x] Resolving conflcit
- [x] Doing self review rount 2
### Are these changes tested?
Yes, existing tests have passed.
### Are there any user-facing changes?
No.
* GitHub Issue: #42025
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 thealgorithm
module.Component(s)
Java
The text was updated successfully, but these errors were encountered: