Bump mockito-core from 3.12.4 to 4.1.0 by dependabot[bot] · Pull Request #62 · mojohaus/mrm (original) (raw)
Bumps mockito-core from 3.12.4 to 4.1.0.
Release notes
Sourced from mockito-core's releases.
v4.1.0
Major new feature:
@DoNotMockYou can now mark classes/interfaces with
@org.mockito.DoNotMockto disallow mocking with Mockito. For more information, see our documentation: https://javadoc.io/doc/org.mockito/mockito-core/latest/org/mockito/DoNotMock.htmlChangelog generated by Shipkit Changelog Gradle Plugin
4.1.0
- 2021-11-19 - 20 commit(s) by Lars Vogel, Mikaël Francoeur, S.YAMAMOTO, Tim van der Lippe, dependabot[bot]
- Disable memory test [(#2480)](mockito/mockito#2480)
- Bump appcompat from 1.3.1 to 1.4.0 [(#2477)](mockito/mockito#2477)
- Bump kotlinVersion from 1.5.31 to 1.6.0 [(#2474)](mockito/mockito#2474)
- Bump versions.bytebuddy from 1.12.0 to 1.12.1 [(#2472)](mockito/mockito#2472)
- Bump com.diffplug.gradle.spotless from 4.5.1 to 6.0.0 [(#2471)](mockito/mockito#2471)
- Bump versions.bytebuddy from 1.11.22 to 1.12.0 [(#2469)](mockito/mockito#2469)
- Bump versions.errorprone from 2.9.0 to 2.10.0 [(#2466)](mockito/mockito#2466)
- Bump auto-service from 1.0 to 1.0.1 [(#2463)](mockito/mockito#2463)
- Bump actions/checkout from 2.3.5 to 2.4.0 [(#2462)](mockito/mockito#2462)
- Fixes #2460: Remove a sentence commits to a particular version [(#2461)](mockito/mockito#2461)
- Clarify Javadoc of RETURNS_SMART_NULLS, default answer in Mockito 4.0.0? [(#2460)](mockito/mockito#2460)
- Bump versions.bytebuddy from 1.11.21 to 1.11.22 [(#2458)](mockito/mockito#2458)
- Updated readme with the latest Mockito version [(#2456)](mockito/mockito#2456)
- Bump core-ktx from 1.6.0 to 1.7.0 [(#2454)](mockito/mockito#2454)
- Bump google-java-format from 1.11.0 to 1.12.0 [(#2450)](mockito/mockito#2450)
- Bump versions.bytebuddy from 1.11.20 to 1.11.21 [(#2448)](mockito/mockito#2448)
- Use new CodeCov uploader [(#2447)](mockito/mockito#2447)
- Bump actions/checkout from 2.3.4 to 2.3.5 [(#2445)](mockito/mockito#2445)
- Fixes #2389 : Parallel use of mocks with deep stubbing may lead to ConcurrentModificationException [(#2444)](mockito/mockito#2444)
- Bump versions.bytebuddy from 1.11.19 to 1.11.20 [(#2443)](mockito/mockito#2443)
- Parallel use of mocks with deep stubbing may lead to ConcurrentModificationException [(#2389)](mockito/mockito#2389)
- Add annotation to mark a type as DoNotMock [(#1833)](mockito/mockito#1833)
- Cannot mock this class: class java.io.InputStream with Java 13 [(#1827)](mockito/mockito#1827)
- Cannot mock wrapper types, String.class or Class.class [(#1734)](mockito/mockito#1734)
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.Matcherswhich was an alias fororg.mockito.ArgumentMatchersorg.mockito.ArgumentMatchers#{anyObject,anyVararg}both which were aliases fororg.mockito.ArgumentMatchers#anyorg.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
... (truncated)
Commits
- 2c95eb0 Bump com.diffplug.gradle.spotless from 4.5.1 to 6.0.0 (#2471)
- ebc1685 Add annotation to mark a type as DoNotMock (#1833)
- 102cc38 Bump kotlinVersion from 1.5.31 to 1.6.0 (#2474)
- b72a0a5 Disable memory tests (#2480)
- d373357 Bump appcompat from 1.3.1 to 1.4.0 (#2477)
- a58dcc5 Bump versions.bytebuddy from 1.12.0 to 1.12.1 (#2472)
- 3635ac3 Bump versions.bytebuddy from 1.11.22 to 1.12.0 (#2469)
- 584504e Bump versions.errorprone from 2.9.0 to 2.10.0 (#2466)
- 8e035a1 Bump auto-service from 1.0 to 1.0.1 (#2463)
- b37eed8 Bump actions/checkout from 2.3.5 to 2.4.0 (#2462)
- Additional commits viewable in compare view
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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)