test(deps): update dependency org.mockito:mockito-core to v4 #1642
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.
This PR contains the following updates:
2.28.2
->4.0.0
Release Notes
mockito/mockito
v4.0.0
Compare Source
Mockito 4: Removing deprecated APIs.
All of these APIs have been marked as deprecated and have been present
in Mockito for quite a while.
An overview of now-deleted classes/methods:
org.mockito.Matchers
which was an alias fororg.mockito.ArgumentMatchers
org.mockito.ArgumentMatchers#{anyObject,anyVararg}
both which werealiases for
org.mockito.ArgumentMatchers#any
org.mockito.ArgumentMatchers#any*Of
, which were aliases for the samemethod name without the Of and the generic parameters (which were
ignored)
org.mockito.ArgumentMatchers#{is}{Not}Null(Class)
which took a classwhich was ignored. Aliases for the same methods without the parameter
org.mockito.MockedStatic#verify
which had the parameter types reversedorg.mockito.Mockito#verifyZeroInteractions
an alias ofverifyNoMoreInteractions
org.mockito.Mockito#debug
framework integration API that we laterrefactored
org.mockito.configuration.AnnotationEngine
which was leaking internalAPIs and instead users should use
org.mockito.plugins.AnnotationEngine
org.mockito.exceptions.verification.TooLittleActualInvocations
fixedthe grammar from "Little" to "Few"
remove
org.mockito.plugins.InstantiatorProvider
which was leaking internalAPIs and instead users should use InstantiatorProvider2 (we should
probably rename back to remove the number in a future major release)
org.mockito.runners
a package that hosted several old JUnit runnerswhich were no longer supported. Users should instead use
org.mockito.junit.MockitoJUnitRunner
which is our official JUnit4runner.
v3.12.4
Compare Source
Changelog generated by Shipkit Changelog Gradle Plugin
3.12.4
v3.12.3
Compare Source
Changelog generated by Shipkit Changelog Gradle Plugin
3.12.3
v3.12.2
Compare Source
Changelog generated by Shipkit Changelog Gradle Plugin
3.12.2
v3.12.1
Compare Source
Changelog generated by Shipkit Changelog Gradle Plugin
3.12.1
v3.12.0
Compare Source
Changelog generated by Shipkit Changelog Gradle Plugin
3.12.0
v3.11.2
Compare Source
Changelog generated by Shipkit Changelog Gradle Plugin
3.11.2
v3.11.1
Compare Source
Changelog generated by Shipkit Changelog Gradle Plugin
3.11.1
v3.11.0
Compare Source
Changelog generated by Shipkit Changelog Gradle Plugin
3.11.0
v3.10.0
Compare Source
Changelog generated by Shipkit Changelog Gradle Plugin
3.10.0
v3.8.0
Compare Source
Changelog generated by Shipkit Changelog Gradle Plugin
3.8.0
v3.7.7
Compare Source
Changelog generated by Shipkit Changelog Gradle Plugin
3.7.7
v3.7.0
Compare Source
Changelog generated by Shipkit Changelog Gradle Plugin
3.7.0
v3.6.28
Compare Source
Changelog generated by Shipkit Changelog Gradle Plugin
3.6.28
v3.6.0
Compare Source
Release notes were automatically generated by Shipkit
3.6.0
v3.5.15
Compare Source
Release notes were automatically generated by Shipkit
3.5.15
v3.5.13
Compare Source
Release notes were automatically generated by Shipkit
3.5.13
v3.5.11
Compare Source
Release notes were automatically generated by Shipkit
3.5.11
v3.5.10
Compare Source
Release notes were automatically generated by Shipkit
3.5.10
v3.5.9
Compare Source
Release notes were automatically generated by Shipkit
3.5.9
v3.5.7
Compare Source
Release notes were automatically generated by Shipkit
3.5.7
v3.5.6
Compare Source
Release notes were automatically generated by Shipkit
3.5.6
v3.5.5
Compare Source
Release notes were automatically generated by Shipkit
3.5.5
v3.5.2
Compare Source
Release notes were automatically generated by Shipkit
3.5.2
v3.5.0
Compare Source
Release notes were automatically generated by Shipkit
3.5.0
v3.4.6
Compare Source
Release notes were automatically generated by Shipkit
3.4.6
v3.4.4
Compare Source
Release notes were automatically generated by Shipkit
3.4.4
v3.4.3
Compare Source
Release notes were automatically generated by Shipkit
3.4.3
v3.4.2
Compare Source
Release notes were automatically generated by Shipkit
3.4.2
v3.4.0
Compare Source
Release notes were automatically generated by Shipkit
3.4.0
@Mock
with method parameters (#1961)@Mock
on method parameters (#1960)null
(#1898)v3.3.3
Compare Source
Release notes were automatically generated by Shipkit
3.3.3
v3.3.0
Compare Source
Release notes were automatically generated by Shipkit
3.3.0
v3.2.4
Compare Source
Release notes were automatically generated by Shipkit
3.2.4
v3.2.0
Compare Source
Release notes were automatically generated by Shipkit
3.2.0
v3.1.0
Compare Source
Release notes were automatically generated by Shipkit
3.1.0
v3.0.0
Compare Source
Mockito 3.0.0 is equivalent to Mockito 2, but now requires Java 8. No API changes were made.
Configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.