Bump mockito.version from 3.12.1 to 4.1.0
Bumps mockito.version
from 3.12.1 to 4.1.0.
Updates mockito-core
from 3.12.1 to 4.1.0
Release notes
Sourced from mockito-core's releases.
v4.1.0
Major new feature:
@DoNotMock
You can now mark classes/interfaces with
@org.mockito.DoNotMock
to disallow mocking with Mockito. For more information, see our documentation: https://javadoc.io/doc/org.mockito/mockito-core/latest/org/mockito/DoNotMock.html*Changelog 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)](https://github.com/mockito/mockito/pull/2480)
- Bump appcompat from 1.3.1 to 1.4.0 [(#2477)](https://github.com/mockito/mockito/pull/2477)
- Bump kotlinVersion from 1.5.31 to 1.6.0 [(#2474)](https://github.com/mockito/mockito/pull/2474)
- Bump versions.bytebuddy from 1.12.0 to 1.12.1 [(#2472)](https://github.com/mockito/mockito/pull/2472)
- Bump com.diffplug.gradle.spotless from 4.5.1 to 6.0.0 [(#2471)](https://github.com/mockito/mockito/pull/2471)
- Bump versions.bytebuddy from 1.11.22 to 1.12.0 [(#2469)](https://github.com/mockito/mockito/pull/2469)
- Bump versions.errorprone from 2.9.0 to 2.10.0 [(#2466)](https://github.com/mockito/mockito/pull/2466)
- Bump auto-service from 1.0 to 1.0.1 [(#2463)](https://github.com/mockito/mockito/pull/2463)
- Bump actions/checkout from 2.3.5 to 2.4.0 [(#2462)](https://github.com/mockito/mockito/pull/2462)
- Fixes #2460: Remove a sentence commits to a particular version [(#2461)](https://github.com/mockito/mockito/pull/2461)
- Clarify Javadoc of RETURNS_SMART_NULLS, default answer in Mockito 4.0.0? [(#2460)](https://github.com/mockito/mockito/issues/2460)
- Bump versions.bytebuddy from 1.11.21 to 1.11.22 [(#2458)](https://github.com/mockito/mockito/pull/2458)
- Updated readme with the latest Mockito version [(#2456)](https://github.com/mockito/mockito/pull/2456)
- Bump core-ktx from 1.6.0 to 1.7.0 [(#2454)](https://github.com/mockito/mockito/pull/2454)
- Bump google-java-format from 1.11.0 to 1.12.0 [(#2450)](https://github.com/mockito/mockito/pull/2450)
- Bump versions.bytebuddy from 1.11.20 to 1.11.21 [(#2448)](https://github.com/mockito/mockito/pull/2448)
- Use new CodeCov uploader [(#2447)](https://github.com/mockito/mockito/pull/2447)
- Bump actions/checkout from 2.3.4 to 2.3.5 [(#2445)](https://github.com/mockito/mockito/pull/2445)
- Fixes #2389 : Parallel use of mocks with deep stubbing may lead to ConcurrentModificationException [(#2444)](https://github.com/mockito/mockito/pull/2444)
- Bump versions.bytebuddy from 1.11.19 to 1.11.20 [(#2443)](https://github.com/mockito/mockito/pull/2443)
- Parallel use of mocks with deep stubbing may lead to ConcurrentModificationException [(#2389)](https://github.com/mockito/mockito/issues/2389)
- Add annotation to mark a type as DoNotMock [(#1833)](https://github.com/mockito/mockito/pull/1833)
- Cannot mock this class: class java.io.InputStream with Java 13 [(#1827)](https://github.com/mockito/mockito/issues/1827)
- Cannot mock wrapper types, String.class or Class.class [(#1734)](https://github.com/mockito/mockito/issues/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.Matchers
which was an alias fororg.mockito.ArgumentMatchers
org.mockito.ArgumentMatchers#{anyObject,anyVararg}
both which were aliases fororg.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
... (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
Updates `mockito-junit-jupiter` from 3.12.1 to 4.1.0
Release notes
Sourced from mockito-junit-jupiter's releases.
v4.1.0
Major new feature:
@DoNotMock
You can now mark classes/interfaces with
@org.mockito.DoNotMock
to disallow mocking with Mockito. For more information, see our documentation: https://javadoc.io/doc/org.mockito/mockito-core/latest/org/mockito/DoNotMock.html*Changelog 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)](https://github.com/mockito/mockito/pull/2480)
- Bump appcompat from 1.3.1 to 1.4.0 [(#2477)](https://github.com/mockito/mockito/pull/2477)
- Bump kotlinVersion from 1.5.31 to 1.6.0 [(#2474)](https://github.com/mockito/mockito/pull/2474)
- Bump versions.bytebuddy from 1.12.0 to 1.12.1 [(#2472)](https://github.com/mockito/mockito/pull/2472)
- Bump com.diffplug.gradle.spotless from 4.5.1 to 6.0.0 [(#2471)](https://github.com/mockito/mockito/pull/2471)
- Bump versions.bytebuddy from 1.11.22 to 1.12.0 [(#2469)](https://github.com/mockito/mockito/pull/2469)
- Bump versions.errorprone from 2.9.0 to 2.10.0 [(#2466)](https://github.com/mockito/mockito/pull/2466)
- Bump auto-service from 1.0 to 1.0.1 [(#2463)](https://github.com/mockito/mockito/pull/2463)
- Bump actions/checkout from 2.3.5 to 2.4.0 [(#2462)](https://github.com/mockito/mockito/pull/2462)
- Fixes #2460: Remove a sentence commits to a particular version [(#2461)](https://github.com/mockito/mockito/pull/2461)
- Clarify Javadoc of RETURNS_SMART_NULLS, default answer in Mockito 4.0.0? [(#2460)](https://github.com/mockito/mockito/issues/2460)
- Bump versions.bytebuddy from 1.11.21 to 1.11.22 [(#2458)](https://github.com/mockito/mockito/pull/2458)
- Updated readme with the latest Mockito version [(#2456)](https://github.com/mockito/mockito/pull/2456)
- Bump core-ktx from 1.6.0 to 1.7.0 [(#2454)](https://github.com/mockito/mockito/pull/2454)
- Bump google-java-format from 1.11.0 to 1.12.0 [(#2450)](https://github.com/mockito/mockito/pull/2450)
- Bump versions.bytebuddy from 1.11.20 to 1.11.21 [(#2448)](https://github.com/mockito/mockito/pull/2448)
- Use new CodeCov uploader [(#2447)](https://github.com/mockito/mockito/pull/2447)
- Bump actions/checkout from 2.3.4 to 2.3.5 [(#2445)](https://github.com/mockito/mockito/pull/2445)
- Fixes #2389 : Parallel use of mocks with deep stubbing may lead to ConcurrentModificationException [(#2444)](https://github.com/mockito/mockito/pull/2444)
- Bump versions.bytebuddy from 1.11.19 to 1.11.20 [(#2443)](https://github.com/mockito/mockito/pull/2443)
- Parallel use of mocks with deep stubbing may lead to ConcurrentModificationException [(#2389)](https://github.com/mockito/mockito/issues/2389)
- Add annotation to mark a type as DoNotMock [(#1833)](https://github.com/mockito/mockito/pull/1833)
- Cannot mock this class: class java.io.InputStream with Java 13 [(#1827)](https://github.com/mockito/mockito/issues/1827)
- Cannot mock wrapper types, String.class or Class.class [(#1734)](https://github.com/mockito/mockito/issues/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.Matchers
which was an alias fororg.mockito.ArgumentMatchers
org.mockito.ArgumentMatchers#{anyObject,anyVararg}
both which were aliases fororg.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
... (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