Skip to content
New issue

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

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

Already on GitHub? # to your account

#256: Avoid lenient mocks #362

Merged
merged 19 commits into from
Dec 16, 2023
Merged

#256: Avoid lenient mocks #362

merged 19 commits into from
Dec 16, 2023

Conversation

kaklakariada
Copy link
Contributor

@kaklakariada kaklakariada commented Jan 6, 2023

Fixes #256

This PR explicitly enables lenient mode only for mocked behavior where necessary, i.e. in setup methods. Removing lenient there would require a lot of code duplication in tests.

Merge #261 before reviewing this PR.

kaklakariada and others added 6 commits January 9, 2023 13:46
OpenJDK 64-Bit Server VM warning: Ignoring option --illegal-access=deny; support was removed in 17.0
Java 19ff does not support the SecurityManager any more.
@sonarqubecloud
Copy link

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

25.0% 25.0% Coverage
0.0% 0.0% Duplication

Copy link

Quality Gate Failed Quality Gate failed

Failed conditions

25.0% Coverage on New Code (required ≥ 80%)

See analysis details on SonarCloud

@kaklakariada kaklakariada merged commit 6466a4b into main Dec 16, 2023
7 of 9 checks passed
@kaklakariada kaklakariada deleted the kaklakariada/issue256 branch December 16, 2023 07:14
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Avoid configuring mocks as lenient
2 participants