#1764 migrate form Junit5 Assertions to AssertJ#1765
Merged
mergify[bot] merged 1 commit intomainfrom Oct 20, 2024
Merged
Conversation
Coverage summary from CodacySee diff coverage on Codacy
Coverage variation details
Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: Diff coverage details
Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: See your quality gate settings Change summary preferencesCodacy stopped sending the deprecated coverage status on June 5th, 2024. Learn more |
e267495 to
53edd7d
Compare
Member
|
I see there is also the upgrade to Java17, but seems out of scope for this PR. |
Collaborator
Author
|
let me remove the java 17 part |
0e24563 to
551b1b3
Compare
mergify Bot
added a commit
that referenced
this pull request
Apr 13, 2026
Bumps `jline.version` from 4.0.10 to 4.0.12. Updates `org.jline:jline-terminal` from 4.0.10 to 4.0.12 Release notes *Sourced from [org.jline:jline-terminal's releases](https://github.com/jline/jline3/releases).* > JLine 4.0.12 > ------------ > > **JLine 4.0.12** is a quick follow-up fixing two regressions. A missing timeout in the forced-dump path caused busy-loop CPU spinning, and an unguarded `AnsiConsole.providers()` call threw `NoSuchMethodError` when running against older Jansi versions. > > 🐛 Bug Fixes > ----------- > > * fix: restore waitDirty timeout in forced dump to prevent busy-loop spinning (fixes [#1768](https://redirect.github.com/jline/jline3/issues/1768)) ([#1769](https://redirect.github.com/jline/jline3/pull/1769)) [`@gnodet`](https://github.com/gnodet) > * fix: guard AnsiConsole.providers() call to avoid NoSuchMethodError (fixes [#1766](https://redirect.github.com/jline/jline3/issues/1766)) ([#1767](https://redirect.github.com/jline/jline3/pull/1767)) [`@gnodet`](https://github.com/gnodet) > > JLine 4.0.11 > ------------ > > **JLine 4.0.11** improves **SwingTerminal rendering fidelity** and **grapheme cluster performance**. SwingTerminal now correctly renders dim, italic, and conceal attributes and matches the ScreenTerminal HTML color logic. A BreakIterator caching fix eliminates repeated object allocation in grapheme cluster width loops, and a spurious-wakeup guard hardens the ScreenTerminal dirty-wait path. > > 🚀 New features and improvements > ------------------------------- > > * feat: add direct dump method for ScreenTerminal HTML string ([#1759](https://redirect.github.com/jline/jline3/pull/1759)) [`@Elec332`](https://github.com/Elec332) > > 🐛 Bug Fixes > ----------- > > * fix: guard waitDirty against spurious wakeups ([#1765](https://redirect.github.com/jline/jline3/pull/1765)) [`@gnodet`](https://github.com/gnodet) > * fix: apply dim and italic attributes in SwingTerminal, fix conceal+dim interaction ([#1758](https://redirect.github.com/jline/jline3/pull/1758)) [`@Elec332`](https://github.com/Elec332) > * fix: Match SwingTerminal color logic to new HTML color logic ([#1757](https://redirect.github.com/jline/jline3/pull/1757)) [`@Elec332`](https://github.com/Elec332) > * fix: cache BreakIterator in grapheme cluster loops ([#1762](https://redirect.github.com/jline/jline3/issues/1762)) ([#1763](https://redirect.github.com/jline/jline3/pull/1763)) [`@gnodet`](https://github.com/gnodet) > > 📦 Dependency updates > -------------------- > > * chore: Bump eu.maveniverse.maven.nisse:extension from 0.8.1 to 0.8.2 ([#1760](https://redirect.github.com/jline/jline3/pull/1760)) [`@dependabot`](https://github.com/dependabot) > > 👻 Maintenance > ------------- > > * chore: suppress deprecation warnings in tests for deprecated console API ([#1764](https://redirect.github.com/jline/jline3/pull/1764)) [`@gnodet`](https://github.com/gnodet) > > 🔧 Build > ------- > > * fix: update Maven wrapper to 3.9.14 ([#1761](https://redirect.github.com/jline/jline3/pull/1761)) [`@gnodet`](https://github.com/gnodet) Commits * [`eea50e4`](jline/jline3@eea50e4) fix: restore waitDirty timeout in forced dump to prevent busy-loop spinning (... * [`630eaaf`](jline/jline3@630eaaf) fix: guard AnsiConsole.providers() call to avoid NoSuchMethodError (fixes [#1766](https://redirect.github.com/jline/jline3/issues/1766)) * [`28dd626`](jline/jline3@28dd626) fix: guard waitDirty against spurious wakeups ([#1765](https://redirect.github.com/jline/jline3/issues/1765)) * [`bbe5f1b`](jline/jline3@bbe5f1b) chore: suppress deprecation warnings in tests for deprecated console API ([#1764](https://redirect.github.com/jline/jline3/issues/1764)) * [`e3bba82`](jline/jline3@e3bba82) fix: apply dim and italic attributes in SwingTerminal, fix conceal+dim intera... * [`97baf7b`](jline/jline3@97baf7b) fix: correct 4-bit to 8-bit color expansion in SwingTerminal (fixes [#1757](https://redirect.github.com/jline/jline3/issues/1757)) * [`5c0f479`](jline/jline3@5c0f479) feat: add direct dump method for ScreenTerminal HTML string ([#1759](https://redirect.github.com/jline/jline3/issues/1759)) * [`529e252`](jline/jline3@529e252) fix: cache BreakIterator in grapheme cluster loops ([#1762](https://redirect.github.com/jline/jline3/issues/1762)) ([#1763](https://redirect.github.com/jline/jline3/issues/1763)) * [`0ffa1a3`](jline/jline3@0ffa1a3) chore: Bump eu.maveniverse.maven.nisse:extension from 0.8.1 to 0.8.2 ([#1760](https://redirect.github.com/jline/jline3/issues/1760)) * [`1301c8d`](jline/jline3@1301c8d) fix: update Maven wrapper to 3.9.14 ([#1761](https://redirect.github.com/jline/jline3/issues/1761)) * See full diff in [compare view](jline/jline3@4.0.10...4.0.12) Updates `org.jline:jline-reader` from 4.0.10 to 4.0.12 Release notes *Sourced from [org.jline:jline-reader's releases](https://github.com/jline/jline3/releases).* > JLine 4.0.12 > ------------ > > **JLine 4.0.12** is a quick follow-up fixing two regressions. A missing timeout in the forced-dump path caused busy-loop CPU spinning, and an unguarded `AnsiConsole.providers()` call threw `NoSuchMethodError` when running against older Jansi versions. > > 🐛 Bug Fixes > ----------- > > * fix: restore waitDirty timeout in forced dump to prevent busy-loop spinning (fixes [#1768](https://redirect.github.com/jline/jline3/issues/1768)) ([#1769](https://redirect.github.com/jline/jline3/pull/1769)) [`@gnodet`](https://github.com/gnodet) > * fix: guard AnsiConsole.providers() call to avoid NoSuchMethodError (fixes [#1766](https://redirect.github.com/jline/jline3/issues/1766)) ([#1767](https://redirect.github.com/jline/jline3/pull/1767)) [`@gnodet`](https://github.com/gnodet) > > JLine 4.0.11 > ------------ > > **JLine 4.0.11** improves **SwingTerminal rendering fidelity** and **grapheme cluster performance**. SwingTerminal now correctly renders dim, italic, and conceal attributes and matches the ScreenTerminal HTML color logic. A BreakIterator caching fix eliminates repeated object allocation in grapheme cluster width loops, and a spurious-wakeup guard hardens the ScreenTerminal dirty-wait path. > > 🚀 New features and improvements > ------------------------------- > > * feat: add direct dump method for ScreenTerminal HTML string ([#1759](https://redirect.github.com/jline/jline3/pull/1759)) [`@Elec332`](https://github.com/Elec332) > > 🐛 Bug Fixes > ----------- > > * fix: guard waitDirty against spurious wakeups ([#1765](https://redirect.github.com/jline/jline3/pull/1765)) [`@gnodet`](https://github.com/gnodet) > * fix: apply dim and italic attributes in SwingTerminal, fix conceal+dim interaction ([#1758](https://redirect.github.com/jline/jline3/pull/1758)) [`@Elec332`](https://github.com/Elec332) > * fix: Match SwingTerminal color logic to new HTML color logic ([#1757](https://redirect.github.com/jline/jline3/pull/1757)) [`@Elec332`](https://github.com/Elec332) > * fix: cache BreakIterator in grapheme cluster loops ([#1762](https://redirect.github.com/jline/jline3/issues/1762)) ([#1763](https://redirect.github.com/jline/jline3/pull/1763)) [`@gnodet`](https://github.com/gnodet) > > 📦 Dependency updates > -------------------- > > * chore: Bump eu.maveniverse.maven.nisse:extension from 0.8.1 to 0.8.2 ([#1760](https://redirect.github.com/jline/jline3/pull/1760)) [`@dependabot`](https://github.com/dependabot) > > 👻 Maintenance > ------------- > > * chore: suppress deprecation warnings in tests for deprecated console API ([#1764](https://redirect.github.com/jline/jline3/pull/1764)) [`@gnodet`](https://github.com/gnodet) > > 🔧 Build > ------- > > * fix: update Maven wrapper to 3.9.14 ([#1761](https://redirect.github.com/jline/jline3/pull/1761)) [`@gnodet`](https://github.com/gnodet) Commits * [`eea50e4`](jline/jline3@eea50e4) fix: restore waitDirty timeout in forced dump to prevent busy-loop spinning (... * [`630eaaf`](jline/jline3@630eaaf) fix: guard AnsiConsole.providers() call to avoid NoSuchMethodError (fixes [#1766](https://redirect.github.com/jline/jline3/issues/1766)) * [`28dd626`](jline/jline3@28dd626) fix: guard waitDirty against spurious wakeups ([#1765](https://redirect.github.com/jline/jline3/issues/1765)) * [`bbe5f1b`](jline/jline3@bbe5f1b) chore: suppress deprecation warnings in tests for deprecated console API ([#1764](https://redirect.github.com/jline/jline3/issues/1764)) * [`e3bba82`](jline/jline3@e3bba82) fix: apply dim and italic attributes in SwingTerminal, fix conceal+dim intera... * [`97baf7b`](jline/jline3@97baf7b) fix: correct 4-bit to 8-bit color expansion in SwingTerminal (fixes [#1757](https://redirect.github.com/jline/jline3/issues/1757)) * [`5c0f479`](jline/jline3@5c0f479) feat: add direct dump method for ScreenTerminal HTML string ([#1759](https://redirect.github.com/jline/jline3/issues/1759)) * [`529e252`](jline/jline3@529e252) fix: cache BreakIterator in grapheme cluster loops ([#1762](https://redirect.github.com/jline/jline3/issues/1762)) ([#1763](https://redirect.github.com/jline/jline3/issues/1763)) * [`0ffa1a3`](jline/jline3@0ffa1a3) chore: Bump eu.maveniverse.maven.nisse:extension from 0.8.1 to 0.8.2 ([#1760](https://redirect.github.com/jline/jline3/issues/1760)) * [`1301c8d`](jline/jline3@1301c8d) fix: update Maven wrapper to 3.9.14 ([#1761](https://redirect.github.com/jline/jline3/issues/1761)) * See full diff in [compare view](jline/jline3@4.0.10...4.0.12) Updates `org.jline:jline-terminal-jni` from 4.0.10 to 4.0.12 Release notes *Sourced from [org.jline:jline-terminal-jni's releases](https://github.com/jline/jline3/releases).* > JLine 4.0.12 > ------------ > > **JLine 4.0.12** is a quick follow-up fixing two regressions. A missing timeout in the forced-dump path caused busy-loop CPU spinning, and an unguarded `AnsiConsole.providers()` call threw `NoSuchMethodError` when running against older Jansi versions. > > 🐛 Bug Fixes > ----------- > > * fix: restore waitDirty timeout in forced dump to prevent busy-loop spinning (fixes [#1768](https://redirect.github.com/jline/jline3/issues/1768)) ([#1769](https://redirect.github.com/jline/jline3/pull/1769)) [`@gnodet`](https://github.com/gnodet) > * fix: guard AnsiConsole.providers() call to avoid NoSuchMethodError (fixes [#1766](https://redirect.github.com/jline/jline3/issues/1766)) ([#1767](https://redirect.github.com/jline/jline3/pull/1767)) [`@gnodet`](https://github.com/gnodet) > > JLine 4.0.11 > ------------ > > **JLine 4.0.11** improves **SwingTerminal rendering fidelity** and **grapheme cluster performance**. SwingTerminal now correctly renders dim, italic, and conceal attributes and matches the ScreenTerminal HTML color logic. A BreakIterator caching fix eliminates repeated object allocation in grapheme cluster width loops, and a spurious-wakeup guard hardens the ScreenTerminal dirty-wait path. > > 🚀 New features and improvements > ------------------------------- > > * feat: add direct dump method for ScreenTerminal HTML string ([#1759](https://redirect.github.com/jline/jline3/pull/1759)) [`@Elec332`](https://github.com/Elec332) > > 🐛 Bug Fixes > ----------- > > * fix: guard waitDirty against spurious wakeups ([#1765](https://redirect.github.com/jline/jline3/pull/1765)) [`@gnodet`](https://github.com/gnodet) > * fix: apply dim and italic attributes in SwingTerminal, fix conceal+dim interaction ([#1758](https://redirect.github.com/jline/jline3/pull/1758)) [`@Elec332`](https://github.com/Elec332) > * fix: Match SwingTerminal color logic to new HTML color logic ([#1757](https://redirect.github.com/jline/jline3/pull/1757)) [`@Elec332`](https://github.com/Elec332) > * fix: cache BreakIterator in grapheme cluster loops ([#1762](https://redirect.github.com/jline/jline3/issues/1762)) ([#1763](https://redirect.github.com/jline/jline3/pull/1763)) [`@gnodet`](https://github.com/gnodet) > > 📦 Dependency updates > -------------------- > > * chore: Bump eu.maveniverse.maven.nisse:extension from 0.8.1 to 0.8.2 ([#1760](https://redirect.github.com/jline/jline3/pull/1760)) [`@dependabot`](https://github.com/dependabot) > > 👻 Maintenance > ------------- > > * chore: suppress deprecation warnings in tests for deprecated console API ([#1764](https://redirect.github.com/jline/jline3/pull/1764)) [`@gnodet`](https://github.com/gnodet) > > 🔧 Build > ------- > > * fix: update Maven wrapper to 3.9.14 ([#1761](https://redirect.github.com/jline/jline3/pull/1761)) [`@gnodet`](https://github.com/gnodet) Commits * [`eea50e4`](jline/jline3@eea50e4) fix: restore waitDirty timeout in forced dump to prevent busy-loop spinning (... * [`630eaaf`](jline/jline3@630eaaf) fix: guard AnsiConsole.providers() call to avoid NoSuchMethodError (fixes [#1766](https://redirect.github.com/jline/jline3/issues/1766)) * [`28dd626`](jline/jline3@28dd626) fix: guard waitDirty against spurious wakeups ([#1765](https://redirect.github.com/jline/jline3/issues/1765)) * [`bbe5f1b`](jline/jline3@bbe5f1b) chore: suppress deprecation warnings in tests for deprecated console API ([#1764](https://redirect.github.com/jline/jline3/issues/1764)) * [`e3bba82`](jline/jline3@e3bba82) fix: apply dim and italic attributes in SwingTerminal, fix conceal+dim intera... * [`97baf7b`](jline/jline3@97baf7b) fix: correct 4-bit to 8-bit color expansion in SwingTerminal (fixes [#1757](https://redirect.github.com/jline/jline3/issues/1757)) * [`5c0f479`](jline/jline3@5c0f479) feat: add direct dump method for ScreenTerminal HTML string ([#1759](https://redirect.github.com/jline/jline3/issues/1759)) * [`529e252`](jline/jline3@529e252) fix: cache BreakIterator in grapheme cluster loops ([#1762](https://redirect.github.com/jline/jline3/issues/1762)) ([#1763](https://redirect.github.com/jline/jline3/issues/1763)) * [`0ffa1a3`](jline/jline3@0ffa1a3) chore: Bump eu.maveniverse.maven.nisse:extension from 0.8.1 to 0.8.2 ([#1760](https://redirect.github.com/jline/jline3/issues/1760)) * [`1301c8d`](jline/jline3@1301c8d) fix: update Maven wrapper to 3.9.14 ([#1761](https://redirect.github.com/jline/jline3/issues/1761)) * See full diff in [compare view](jline/jline3@4.0.10...4.0.12) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- Dependabot commands and options You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
This PR migrates all the Junit5 assertions to AssertJ's
Motivation
The main motivation is to modernize the code base while increasing the readability of test code.
Additional Notes
To fix some flaky tests, Awaitility (https://github.com/awaitility/awaitility) is now used
Checklist
mvn clean packagecommand