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

Bump mockito-core from 3.12.4 to 4.0.0 #7350

Merged
merged 1 commit into from
Oct 8, 2021

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 8, 2021

Bumps mockito-core from 3.12.4 to 4.0.0.

Release notes

Sourced from mockito-core's releases.

v4.0.0

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 for org.mockito.ArgumentMatchers
  • org.mockito.ArgumentMatchers#{anyObject,anyVararg} both which were aliases for org.mockito.ArgumentMatchers#any
  • org.mockito.ArgumentMatchers#any*Of, which were aliases for the same method name without the Of and the generic parameters (which were ignored)
  • org.mockito.ArgumentMatchers#{is}{Not}Null(Class) which took a class which was ignored. Aliases for the same methods without the parameter
  • org.mockito.MockedStatic#verify which had the parameter types reversed
  • org.mockito.Mockito#verifyZeroInteractions an alias of verifyNoMoreInteractions
  • org.mockito.Mockito#debug framework integration API that we later refactored
  • org.mockito.configuration.AnnotationEngine which was leaking internal APIs and instead users should use org.mockito.plugins.AnnotationEngine
  • org.mockito.exceptions.verification.TooLittleActualInvocations fixed the grammar from "Little" to "Few"
  • Numerous internal APIs that we never officially supported and can now remove
  • org.mockito.plugins.InstantiatorProvider which was leaking internal APIs 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 runners which were no longer supported. Users should instead use org.mockito.junit.MockitoJUnitRunner which is our official JUnit4 runner.
Commits

Dependabot compatibility score

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 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 merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @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)

Bumps [mockito-core](https://github.com/mockito/mockito) from 3.12.4 to 4.0.0.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](mockito/mockito@v3.12.4...v4.0.0)

---
updated-dependencies:
- dependency-name: org.mockito:mockito-core
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file java Pull requests that update Java code labels Oct 8, 2021
@codecov
Copy link

codecov bot commented Oct 8, 2021

Codecov Report

Merging #7350 (344645f) into 3.x (49ae9f8) will increase coverage by 99.58%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##             3.x    #7350       +/-   ##
==========================================
+ Coverage       0   99.58%   +99.58%     
- Complexity     0     6782     +6782     
==========================================
  Files          0      751      +751     
  Lines          0    47482    +47482     
  Branches       0     6378     +6378     
==========================================
+ Hits           0    47284    +47284     
- Misses         0       90       +90     
- Partials       0      108      +108     
Impacted Files Coverage Δ
.../operators/observable/ObservableSwitchIfEmpty.java 100.00% <0.00%> (ø)
...ex/rxjava3/internal/operators/maybe/MaybePeek.java 100.00% <0.00%> (ø)
...va3/internal/operators/maybe/MaybeMaterialize.java 100.00% <0.00%> (ø)
...va3/internal/operators/single/SingleDoOnError.java 100.00% <0.00%> (ø)
...internal/operators/observable/ObservableRange.java 100.00% <0.00%> (ø)
.../internal/operators/flowable/FlowableDebounce.java 100.00% <0.00%> (ø)
.../io/reactivex/rxjava3/subjects/UnicastSubject.java 100.00% <0.00%> (ø)
...reactivex/rxjava3/processors/UnicastProcessor.java 100.00% <0.00%> (ø)
...vex/rxjava3/internal/jdk8/FlowableMapOptional.java 100.00% <0.00%> (ø)
...xjava3/internal/operators/maybe/MaybeToSingle.java 100.00% <0.00%> (ø)
... and 741 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 49ae9f8...344645f. Read the comment docs.

@akarnokd akarnokd merged commit 1f87a43 into 3.x Oct 8, 2021
@dependabot dependabot bot deleted the dependabot/gradle/org.mockito-mockito-core-4.0.0 branch October 8, 2021 06:25
sakibguy added a commit to sakibguy/RxJava that referenced this pull request Oct 8, 2021
Bump mockito-core from 3.12.4 to 4.0.0 (ReactiveX#7350)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file java Pull requests that update Java code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant