Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: mockito/mockito
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v5.15.2
Choose a base ref
...
head repository: mockito/mockito
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v5.17.0
Choose a head ref
  • 20 commits
  • 49 files changed
  • 12 contributors

Commits on Jan 6, 2025

  1. Refine reflection when calling management factory (#3566)

    Use interface type for invoking method to avoid that module boundaries are breached when using reflection on internal implementation type.
    
    Relates to #3551
    raphw authored Jan 6, 2025
    Configuration menu
    Copy the full SHA
    e9a4c77 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1c3800d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    96c2095 View commit details
    Browse the repository at this point in the history

Commits on Jan 7, 2025

  1. Bump org.assertj:assertj-core from 3.27.1 to 3.27.2 (#3569)

    Bumps [org.assertj:assertj-core](https://github.com/assertj/assertj) from 3.27.1 to 3.27.2.
    - [Release notes](https://github.com/assertj/assertj/releases)
    - [Commits](assertj/assertj@assertj-build-3.27.1...assertj-build-3.27.2)
    
    ---
    updated-dependencies:
    - dependency-name: org.assertj:assertj-core
      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>
    dependabot[bot] authored Jan 7, 2025
    Configuration menu
    Copy the full SHA
    e280630 View commit details
    Browse the repository at this point in the history

Commits on Jan 8, 2025

  1. Bump com.diffplug.spotless:spotless-plugin-gradle from 6.25.0 to 7.0.1 (

    #3571)
    
    Bumps [com.diffplug.spotless:spotless-plugin-gradle](https://github.com/diffplug/spotless) from 6.25.0 to 7.0.1.
    - [Release notes](https://github.com/diffplug/spotless/releases)
    - [Changelog](https://github.com/diffplug/spotless/blob/main/CHANGES.md)
    - [Commits](diffplug/spotless@gradle/6.25.0...gradle/7.0.1)
    
    ---
    updated-dependencies:
    - dependency-name: com.diffplug.spotless:spotless-plugin-gradle
      dependency-type: direct:production
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    
    * Workaround for spotless 7.0.0 bug
    
    See diffplug/spotless#2387
    
    ---------
    
    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    Co-authored-by: Brice Dutheil <[email protected]>
    dependabot[bot] and bric3 authored Jan 8, 2025
    Configuration menu
    Copy the full SHA
    fdb5df1 View commit details
    Browse the repository at this point in the history

Commits on Jan 16, 2025

  1. Bump com.diffplug.spotless:spotless-plugin-gradle from 7.0.1 to 7.0.2 (

    …#3574)
    
    Bumps [com.diffplug.spotless:spotless-plugin-gradle](https://github.com/diffplug/spotless) from 7.0.1 to 7.0.2.
    - [Release notes](https://github.com/diffplug/spotless/releases)
    - [Changelog](https://github.com/diffplug/spotless/blob/main/CHANGES.md)
    - [Commits](diffplug/spotless@gradle/7.0.1...gradle/7.0.2)
    
    ---
    updated-dependencies:
    - dependency-name: com.diffplug.spotless:spotless-plugin-gradle
      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>
    dependabot[bot] authored Jan 16, 2025
    Configuration menu
    Copy the full SHA
    1ab8483 View commit details
    Browse the repository at this point in the history

Commits on Jan 22, 2025

  1. Bump org.assertj:assertj-core from 3.27.2 to 3.27.3 (#3577)

    Bumps [org.assertj:assertj-core](https://github.com/assertj/assertj) from 3.27.2 to 3.27.3.
    - [Release notes](https://github.com/assertj/assertj/releases)
    - [Commits](assertj/assertj@assertj-build-3.27.2...assertj-build-3.27.3)
    
    ---
    updated-dependencies:
    - dependency-name: org.assertj:assertj-core
      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>
    dependabot[bot] authored Jan 22, 2025
    Configuration menu
    Copy the full SHA
    289e971 View commit details
    Browse the repository at this point in the history

Commits on Jan 24, 2025

  1. Bump com.gradle.develocity from 3.19 to 3.19.1 (#3579)

    Bumps com.gradle.develocity from 3.19 to 3.19.1.
    
    ---
    updated-dependencies:
    - dependency-name: com.gradle.develocity
      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>
    dependabot[bot] authored Jan 24, 2025
    1 Configuration menu
    Copy the full SHA
    83ee69b View commit details
    Browse the repository at this point in the history

Commits on Feb 11, 2025

  1. Issue #3584 Improve Gradle Kotlin documentation to add agent

    Proposed change for issue #3584
    tdltdl authored and bric3 committed Feb 11, 2025
    Configuration menu
    Copy the full SHA
    d01ac9d View commit details
    Browse the repository at this point in the history

Commits on Mar 3, 2025

  1. 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.
    raphw authored Mar 3, 2025
    Configuration menu
    Copy the full SHA
    c81be5d View commit details
    Browse the repository at this point in the history

Commits on Mar 14, 2025

  1. Configuration menu
    Copy the full SHA
    d185035 View commit details
    Browse the repository at this point in the history
  2. Remove Arrays.asList from critical stubbing path in GenericMetadataSu…

    …pport (#3610)
    
    On Android, the implementation of `java.util.Arrays.ArrayList.toArray` has a
    non-trivial implementation that ends up calling into `android.os.Process.myUid()`.
    
    Consequently, attempting to stub static methods in `android.os.Process` with
    `doReturn` will end up calling into `myUid()` before the stubbing completes,
    triggering an infinite recursion.
    
    To work around that, replace the `addAll(asList(...))` call with `Collections.addAll`.
    As an added benefit this avoids an array copy.
    
    This upstreams https://r.android.com/3500336.
    adrianroos authored Mar 14, 2025
    Configuration menu
    Copy the full SHA
    0215884 View commit details
    Browse the repository at this point in the history

Commits on Mar 15, 2025

  1. 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.
    raphw authored Mar 15, 2025
    Configuration menu
    Copy the full SHA
    d000e63 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1e029d7 View commit details
    Browse the repository at this point in the history

Commits on Mar 18, 2025

  1. Update links to javadoc.io (#3616)

    Fixes #3615
    jqno authored Mar 18, 2025
    Configuration menu
    Copy the full SHA
    1764e62 View commit details
    Browse the repository at this point in the history

Commits on Mar 26, 2025

  1. MockitoExtension fails cleanup when aborted before setup (#3623)

    Fixes #3622
    
    Signed-off-by: Andre Kurait <[email protected]>
    AndreKurait authored Mar 26, 2025
    Configuration menu
    Copy the full SHA
    4f469c8 View commit details
    Browse the repository at this point in the history

Commits on Mar 28, 2025

  1. Fall back to Throwable Location strategy on Android (#3619)

    Works around an Android Runtime bug where StackWalker would fail to
    traverse the stack if a stack frame involves java.lang.Proxy.
    
    Disables StackWalker for Android versions that do not yet include the
    fix in https://r.android.com/3548340.
    
    This issue was also reported as linkedin/dexmaker#190.
    
    Fixes #3171
    adrianroos authored Mar 28, 2025
    Configuration menu
    Copy the full SHA
    bfab743 View commit details
    Browse the repository at this point in the history

Commits on Mar 29, 2025

  1. Clarify structure of commit messages (#3626)

    Since I have been merging most of the community contributions,
    I realized that I continuously rewrite commit messages with regards
    to the `Fixes #id` notation.
    
    Therefore, update the contribution guidelines to clarify that the
    fixes part should come at the end (as to not clutter the message).
    Also, link to the commit guide that I usually refer to, which also
    clarifies that the commit title should start with a verb.
    TimvdLippe authored Mar 29, 2025
    Configuration menu
    Copy the full SHA
    3edab52 View commit details
    Browse the repository at this point in the history

Commits on Apr 1, 2025

  1. Fix broken banner image link (#3632)

    Fixes #3631
    
    Signed-off-by: Taeik Lim <[email protected]>
    acktsap authored Apr 1, 2025
    Configuration menu
    Copy the full SHA
    ee92ad4 View commit details
    Browse the repository at this point in the history

Commits on Apr 4, 2025

  1. 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
    thachlp authored Apr 4, 2025
    Configuration menu
    Copy the full SHA
    7764992 View commit details
    Browse the repository at this point in the history
Loading