Skip to content

Tags: mockito/mockito

Tags

v5.21.0

Toggle v5.21.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Bump graalvm/setup-graalvm from 1.4.3 to 1.4.4 (#3768)

Bumps [graalvm/setup-graalvm](https://github.com/graalvm/setup-graalvm) from 1.4.3 to 1.4.4.
- [Release notes](https://github.com/graalvm/setup-graalvm/releases)
- [Commits](graalvm/setup-graalvm@v1.4.3...v1.4.4)

---
updated-dependencies:
- dependency-name: graalvm/setup-graalvm
  dependency-version: 1.4.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

v5.20.0

Toggle v5.20.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Add support for generic types in `MockedConstruction` and `MockedStat…

…ic` (#3729)

MockedStatic and MockedConstruction threw a MockitoException when the
provided type was itself parameterized, suggesting to use a raw type instead.
For instance, MockedConstruction<MyGenericType<String>> was not allowed.

This commit allows to mock generic types without throwing an exception and
without forcing users to deal with 'raw use of parameterized class' warnings.

Fixes #2401

v5.19.0

Toggle v5.19.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Add support for JDK21 Sequenced Collections. (#3708)

JEP 431 introduced new Sequenced Collection interfaces in JDK 21.
Previously, unstubbed methods returning these types would result in null.

This changes allow Mockito appropriate empty collections
(e.g. ArrayList for SequencedCollection) while maintaining the Java 11
baseline compatability.

Fixes #3659

Signed-off-by: BeomSeogKim <[email protected]>

v5.18.0

Toggle v5.18.0's commit message
Force Jacoco version for Android

We need to override the version used by Android toolchain.

v5.17.0

Toggle v5.17.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Remove mention of `mockito-inline` from mockmaker exception (#3628)

`mockito-inline` is a discontinued artifact, since the inline mockmaker
is now the default mockmaker in `mockito-core`.

Fixes #3621

v5.16.1

Toggle v5.16.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Rework of injection strategy in the context of modules (#3608)

This fixes several reported issues with inaccessible classes and required
extra reads and exports in module configuration.

v5.16.0

Toggle v5.16.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Add support for including module-info in Mockito. (#3597)

Both `mockito-core` and `mockito-junit-jupiter` now ship
a `module-info` declaration. All internal packages are not
exported.

v5.15.2

Toggle v5.15.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Fix javadoc publication (#3561)

There are a couple of fixes included in this commit:
* The destination dir was improperly set when translating from groovy DSL
  to kotlin DSL in 590b24a which
  prevented the cache and the javadocJar to pick up the right folder.
  This change avoids setting manually the destination dir and uses the
  default instead.
* Skip test-fixtures publication
* Always publish javadoc artifact for published modules
* In 2c184c9 nexus publish was bumped to
2.0.1, however a task changed name. while this didn't prevent the task
to be executed, let's use the correct name.
* Exclude internal packages

Fixes #3542

v5.15.1

Toggle v5.15.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Introduce release convention plugin for Shipkit integration (#3533)

v5.15.0

Toggle v5.15.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Bump com.google.googlejavaformat:google-java-format (#3541)

Bumps [com.google.googlejavaformat:google-java-format](https://github.com/google/google-java-format) from 1.25.0 to 1.25.1.
- [Release notes](https://github.com/google/google-java-format/releases)
- [Commits](google/google-java-format@v1.25.0...v1.25.1)

---
updated-dependencies:
- dependency-name: com.google.googlejavaformat:google-java-format
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>