Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate JUnit4 to JUnit5 and EasyMock/PowerMock to Mockito #5409

Merged
merged 3 commits into from Mar 4, 2024

Conversation

BalusC
Copy link
Contributor

@BalusC BalusC commented Mar 2, 2024

Before migration:

[INFO] Tests run: 920, Failures: 0, Errors: 0, Skipped: 0

After migration:

[INFO] Tests run: 924, Failures: 0, Errors: 0, Skipped: 0

previously never invoked, so is actually activated for the first time;
it however initially failed on 2 tests:
1) testAddBehavior(): the original assumption was that adding handler on
unsupported behavior event would throw ISE but the impl never did this,
and the javadoc also didn't say any word about this, so I adjusted the
test itself
2) testGetBehaviors(): the original assumption was that
getClientBehaviors() returns a mutable collection but this was not the
case when no initial behaviors were added, and the javadoc also didn't
say any word about this, so I adjusted the test itself
@BalusC BalusC requested review from arjantijms and mnriem March 2, 2024 16:42
@BalusC BalusC marked this pull request as draft March 2, 2024 16:42
@BalusC BalusC marked this pull request as ready for review March 2, 2024 17:09
@BalusC BalusC changed the title Migrate junit4 to junit5 Migrate JUnit4 to JUni5 and EasyMock/PowerMock to Mockito Mar 2, 2024
@BalusC BalusC changed the title Migrate JUnit4 to JUni5 and EasyMock/PowerMock to Mockito Migrate JUnit4 to JUnit5 and EasyMock/PowerMock to Mockito Mar 2, 2024
@arjantijms arjantijms merged commit d4f985d into 4.0 Mar 4, 2024
3 checks passed
@arjantijms arjantijms deleted the migrate_tests_to_junit5_and_mockito branch March 4, 2024 19:26
@arjantijms arjantijms added this to the 4.0.6 milestone Mar 4, 2024
@arjantijms arjantijms added the 4.0 label Mar 4, 2024
BalusC added a commit that referenced this pull request Mar 9, 2024
BalusC added a commit that referenced this pull request Mar 9, 2024
BalusC added a commit that referenced this pull request Mar 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants