Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
JUnit Assume: Migrate to JUnit 5 Assume API
HelpWindowTest uses JUnit 4's Assume API to skip the test in headless mode, due to a bug in JavaFX. This bug is still yet to be fixed, hence we need to continue skipping the test using JUnit's assumeFalse. In JUnit 5, the API has migrated to org.junit.jupiter.api.Assume.*, while the old APIs are left to maintain backward compatibility. While the functionality remains largely similar, it is necessary to standardize using JUnit 5 APIs as we migrate our tests to JUnit 5 style. Let's migrate our calls to JUnit's Assume API to use the ones provided by JUnit 5 instead. In this migration, the API for Assume#assumeFalse(String, boolean) is now changed to assumeFalse(boolean, String). The relevant method calls have been updated to reflect this signature change.
- Loading branch information