-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Comparing changes
Open a pull request
base repository: mockito/mockito
base: v5.21.0
head repository: mockito/mockito
compare: v5.22.0
- 6 commits
- 16 files changed
- 6 contributors
Commits on Dec 16, 2025
-
Bump actions/upload-artifact from 5 to 6 (#3774)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 5 to 6. - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](actions/upload-artifact@v5...v6) --- updated-dependencies: - dependency-name: actions/upload-artifact dependency-version: '6' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 8d9a62f - Browse repository at this point
Copy the full SHA 8d9a62fView commit details -
Add tests for Sets utility class (#3771)
Add comprehensive test coverage for Sets utility class which provides factory methods for creating mock-safe hash sets and regular sets. Tests cover all three static methods with various scenarios including mock objects, regular objects, edge cases, and error handling. - Test newMockSafeHashSet(Iterable<Object>) with various scenarios - Test newMockSafeHashSet(Object...) with various scenarios - Test newSet(T...) with various types - Test edge cases (empty collections, null handling, duplicates) - Test set operations (add, remove) - Fix AssertJ null handling by using explicit type casting to avoid NullPointerException
Configuration menu - View commit details
-
Copy full SHA for 9e5d449 - Browse repository at this point
Copy the full SHA 9e5d449View commit details -
Clarify
RETURNS_MOCKSbehavior with sealed abstract enums (Java 15+) (Configuration menu - View commit details
-
Copy full SHA for 27eb8a3 - Browse repository at this point
Copy the full SHA 27eb8a3View commit details
Commits on Jan 5, 2026
-
Bump graalvm/setup-graalvm from 1.4.4 to 1.4.5 (#3780)
Bumps [graalvm/setup-graalvm](https://github.com/graalvm/setup-graalvm) from 1.4.4 to 1.4.5. - [Release notes](https://github.com/graalvm/setup-graalvm/releases) - [Commits](graalvm/setup-graalvm@v1.4.4...v1.4.5) --- updated-dependencies: - dependency-name: graalvm/setup-graalvm dependency-version: 1.4.5 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>
Configuration menu - View commit details
-
Copy full SHA for d16fcfc - Browse repository at this point
Copy the full SHA d16fcfcView commit details
Commits on Feb 6, 2026
-
Avoids mocking private static methods, as well as package-private sta…
Configuration menu - View commit details
-
Copy full SHA for ef9ee55 - Browse repository at this point
Copy the full SHA ef9ee55View commit details
Commits on Feb 13, 2026
-
Add core API to enable Kotlin singleton mocking (#3762)
* Add core API to enable Kotlin singleton mocking Fixes #3652 * Update implementation - no modifying MockSettings API. Entry point is via MockUtil in the internal package. * Fix NPE * Reimplement as mockSingleton API, decouple from static mocking, have docs/tests demonstrate stubbing Java enums * Update javadocs * Update wording of MockedSingleton javadoc --------- Co-authored-by: Joshua Selbo <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 25f1395 - Browse repository at this point
Copy the full SHA 25f1395View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v5.21.0...v5.22.0